52 lines
5.6 KiB
Plaintext
52 lines
5.6 KiB
Plaintext
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 0xbd440 bytes. Smallest app partition is 0x100000 bytes. 0x42bc0 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 (433.2 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.1 seconds (457.8 kbit/s).
|
|
Hash of data verified.
|
|
Compressed 775232 bytes to 451736...
|
|
|
|
Writing at 0x00010000 [ ] 0.0% 0/451736 bytes...
|
|
Writing at 0x0001bc43 [> ] 3.6% 16384/451736 bytes...
|
|
Writing at 0x000246c0 [=> ] 7.3% 32768/451736 bytes...
|
|
Writing at 0x0002e13a [==> ] 10.9% 49152/451736 bytes...
|
|
Writing at 0x00034836 [===> ] 14.5% 65536/451736 bytes...
|
|
Writing at 0x0003b79b [====> ] 18.1% 81920/451736 bytes...
|
|
Writing at 0x00042ded [=====> ] 21.8% 98304/451736 bytes...
|
|
Writing at 0x000499db [======> ] 25.4% 114688/451736 bytes...
|
|
Writing at 0x0004fa60 [=======> ] 29.0% 131072/451736 bytes...
|
|
Writing at 0x00056666 [========> ] 32.6% 147456/451736 bytes...
|
|
Writing at 0x0005c4db [=========> ] 36.3% 163840/451736 bytes...
|
|
Writing at 0x000628f6 [==========> ] 39.9% 180224/451736 bytes...
|
|
Writing at 0x00068755 [============> ] 43.5% 196608/451736 bytes...
|
|
Writing at 0x0006e2bd [=============> ] 47.1% 212992/451736 bytes...
|
|
Writing at 0x00074ae9 [==============> ] 50.8% 229376/451736 bytes...
|
|
Writing at 0x0007ad6e [===============> ] 54.4% 245760/451736 bytes...
|
|
Writing at 0x00080cc0 [================> ] 58.0% 262144/451736 bytes...
|
|
Writing at 0x000871b0 [=================> ] 61.7% 278528/451736 bytes...
|
|
Writing at 0x0008dbb8 [==================> ] 65.3% 294912/451736 bytes...
|
|
Writing at 0x00094b81 [===================> ] 68.9% 311296/451736 bytes...
|
|
Writing at 0x0009b7ac [====================> ] 72.5% 327680/451736 bytes...
|
|
Writing at 0x000a1c0a [=====================> ] 76.2% 344064/451736 bytes...
|
|
Writing at 0x000a7e60 [======================> ] 79.8% 360448/451736 bytes...
|
|
Writing at 0x000ae36f [========================> ] 83.4% 376832/451736 bytes...
|
|
Writing at 0x000b5ecf [=========================> ] 87.0% 393216/451736 bytes...
|
|
Writing at 0x000bc11a [==========================> ] 90.7% 409600/451736 bytes...
|
|
Writing at 0x000c30c2 [===========================> ] 94.3% 425984/451736 bytes...
|
|
Writing at 0x000c96a8 [============================> ] 97.9% 442368/451736 bytes...
|
|
Writing at 0x000cd440 [==============================] 100.0% 451736/451736 bytes...
|
|
Wrote 775232 bytes (451736 compressed) at 0x00010000 in 6.3 seconds (980.1 kbit/s).
|
|
Hash of data verified.
|
|
|
|
Hard resetting via RTS pin...
|