65 lines
6.3 KiB
Plaintext
65 lines
6.3 KiB
Plaintext
Command: ninja flash
|
|
[1/10] 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.
|
|
[2/10] No install step for 'bootloader'
|
|
[3/10] Completed 'bootloader'
|
|
[4/10] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
|
|
[5/10] Linking C static library esp-idf/main/libmain.a
|
|
[6/10] Generating esp-idf/esp_system/ld/sections.ld
|
|
[7/10] Linking CXX executable spi_slave.elf
|
|
[8/10] Generating binary image from built executable
|
|
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.
|
|
esptool v5.1.0
|
|
Creating ESP32C3 image...
|
|
Merged 1 ELF section.
|
|
Successfully created ESP32C3 image.
|
|
Generated /home/pi/lighting-controller/esp32/build/spi_slave.bin
|
|
[9/10] 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 0xbd910 bytes. Smallest app partition is 0x100000 bytes. 0x426f0 bytes (26%) free.
|
|
[9/10] 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 (424.9 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 (516.1 kbit/s).
|
|
Hash of data verified.
|
|
Compressed 776464 bytes to 452473...
|
|
|
|
Writing at 0x00010000 [ ] 0.0% 0/452473 bytes...
|
|
Writing at 0x0001bc59 [> ] 3.6% 16384/452473 bytes...
|
|
Writing at 0x0002468a [=> ] 7.2% 32768/452473 bytes...
|
|
Writing at 0x0002e1e2 [==> ] 10.9% 49152/452473 bytes...
|
|
Writing at 0x000348e2 [===> ] 14.5% 65536/452473 bytes...
|
|
Writing at 0x0003b836 [====> ] 18.1% 81920/452473 bytes...
|
|
Writing at 0x00042e6b [=====> ] 21.7% 98304/452473 bytes...
|
|
Writing at 0x00049a4b [======> ] 25.3% 114688/452473 bytes...
|
|
Writing at 0x0004fad2 [=======> ] 29.0% 131072/452473 bytes...
|
|
Writing at 0x000566ca [========> ] 32.6% 147456/452473 bytes...
|
|
Writing at 0x0005c550 [=========> ] 36.2% 163840/452473 bytes...
|
|
Writing at 0x00062958 [==========> ] 39.8% 180224/452473 bytes...
|
|
Writing at 0x0006879b [============> ] 43.5% 196608/452473 bytes...
|
|
Writing at 0x0006e2ec [=============> ] 47.1% 212992/452473 bytes...
|
|
Writing at 0x00074ab3 [==============> ] 50.7% 229376/452473 bytes...
|
|
Writing at 0x0007ada4 [===============> ] 54.3% 245760/452473 bytes...
|
|
Writing at 0x00080d36 [================> ] 57.9% 262144/452473 bytes...
|
|
Writing at 0x0008712d [=================> ] 61.6% 278528/452473 bytes...
|
|
Writing at 0x0008dbc9 [==================> ] 65.2% 294912/452473 bytes...
|
|
Writing at 0x00094b02 [===================> ] 68.8% 311296/452473 bytes...
|
|
Writing at 0x0009b831 [====================> ] 72.4% 327680/452473 bytes...
|
|
Writing at 0x000a1c4a [=====================> ] 76.0% 344064/452473 bytes...
|
|
Writing at 0x000a7e18 [======================> ] 79.7% 360448/452473 bytes...
|
|
Writing at 0x000ae3f7 [=======================> ] 83.3% 376832/452473 bytes...
|
|
Writing at 0x000b5f4f [=========================> ] 86.9% 393216/452473 bytes...
|
|
Writing at 0x000bc02f [==========================> ] 90.5% 409600/452473 bytes...
|
|
Writing at 0x000c3182 [===========================> ] 94.1% 425984/452473 bytes...
|
|
Writing at 0x000c9728 [============================> ] 97.8% 442368/452473 bytes...
|
|
Writing at 0x000cd910 [==============================] 100.0% 452473/452473 bytes...
|
|
Wrote 776464 bytes (452473 compressed) at 0x00010000 in 6.3 seconds (990.6 kbit/s).
|
|
Hash of data verified.
|
|
|
|
Hard resetting via RTS pin...
|