ESP32 SPI/ESP-NOW working; add watch scripts; sender colors RGB

This commit is contained in:
Pi User
2025-10-01 22:56:24 +13:00
parent 1844a2e4c5
commit f9188b694e
87 changed files with 15115 additions and 15204 deletions

View File

@@ -0,0 +1,51 @@
Command: ninja flash
[1/5] cd /home/pi/lighting-controller/esp32/build && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pi/lighting-controller/esp32/build/partition_table/partition-table.bin /home/pi/lighting-controller/esp32/build/spi_slave.bin
spi_slave.bin binary size 0xbd380 bytes. Smallest app partition is 0x100000 bytes. 0x42c80 bytes (26%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /home/pi/lighting-controller/esp32/build/bootloader && /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/pi/lighting-controller/esp32/build/bootloader/bootloader.bin
Bootloader binary size 0x5250 bytes. 0x2db0 bytes (36%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] Running utility command for flash
esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 spi_slave.bin
Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead.
Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead.
Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead.
Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead.
Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead.
esptool v5.1.0
Serial port /dev/ttyACM0:
Connecting...
Connected to ESP32-C3 on /dev/ttyACM0:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 58:8c:81:a1:6d:20
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 460800...
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x000cdfff...
SHA digest in image updated.
Compressed 21072 bytes to 13311...
Writing at 0x00000000 [ ] 0.0% 0/13311 bytes...
Writing at 0x00005250 [==============================] 100.0% 13311/13311 bytes...
Wrote 21072 bytes (13311 compressed) at 0x00000000 in 0.4 seconds (428.0 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000 [ ] 0.0% 0/103 bytes...
Writing at 0x00008c00 [==============================] 100.0% 103/103 bytes...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (506.7 kbit/s).
Hash of data verified.
Compressed 775040 bytes to 451575...