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 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...
|
|
|
|
Writing at 0x00010000 [ ] 0.0% 0/451575 bytes...
|
|
Writing at 0x0001bc52 [> ] 3.6% 16384/451575 bytes...
|
|
Writing at 0x000246c4 [=> ] 7.3% 32768/451575 bytes...
|
|
Writing at 0x0002e137 [==> ] 10.9% 49152/451575 bytes...
|
|
Writing at 0x0003483e [===> ] 14.5% 65536/451575 bytes...
|
|
Writing at 0x0003b7a6 [====> ] 18.1% 81920/451575 bytes...
|
|
Writing at 0x00042e06 [=====> ] 21.8% 98304/451575 bytes...
|
|
Writing at 0x00049a0d [======> ] 25.4% 114688/451575 bytes...
|
|
Writing at 0x0004fa81 [=======> ] 29.0% 131072/451575 bytes...
|
|
Writing at 0x00056688 [========> ] 32.7% 147456/451575 bytes...
|
|
Writing at 0x0005c542 [=========> ] 36.3% 163840/451575 bytes...
|
|
Writing at 0x0006292a [==========> ] 39.9% 180224/451575 bytes...
|
|
Writing at 0x00068778 [============> ] 43.5% 196608/451575 bytes...
|
|
Writing at 0x0006e2e5 [=============> ] 47.2% 212992/451575 bytes...
|
|
Writing at 0x00074b6d [==============> ] 50.8% 229376/451575 bytes...
|
|
Writing at 0x0007adc9 [===============> ] 54.4% 245760/451575 bytes...
|
|
Writing at 0x00080cef [================> ] 58.1% 262144/451575 bytes...
|
|
Writing at 0x000871e2 [=================> ] 61.7% 278528/451575 bytes...
|
|
Writing at 0x0008dbfa [==================> ] 65.3% 294912/451575 bytes...
|
|
Writing at 0x00094bb5 [===================> ] 68.9% 311296/451575 bytes...
|
|
Writing at 0x0009b853 [====================> ] 72.6% 327680/451575 bytes...
|
|
Writing at 0x000a1c64 [=====================> ] 76.2% 344064/451575 bytes...
|
|
Writing at 0x000a7eb8 [======================> ] 79.8% 360448/451575 bytes...
|
|
Writing at 0x000ae3b9 [========================> ] 83.4% 376832/451575 bytes...
|
|
Writing at 0x000b5f4e [=========================> ] 87.1% 393216/451575 bytes...
|
|
Writing at 0x000bc23b [==========================> ] 90.7% 409600/451575 bytes...
|
|
Writing at 0x000c3105 [===========================> ] 94.3% 425984/451575 bytes...
|
|
Writing at 0x000c96f5 [============================> ] 98.0% 442368/451575 bytes...
|
|
Writing at 0x000cd380 [==============================] 100.0% 451575/451575 bytes...
|
|
Wrote 775040 bytes (451575 compressed) at 0x00010000 in 6.3 seconds (985.2 kbit/s).
|
|
Hash of data verified.
|
|
|
|
Hard resetting via RTS pin...
|