esp32_shock/build/log/idf_py_stdout_output_14876
2024-04-29 17:35:50 +08:00

93 lines
6.5 KiB
Plaintext

[1/14] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\esp32_shock\build\bootloader\esp-idf\esptool_py && E:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe E:/Espressif/frameworks/esp-idf-v5.0.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/build/bootloader/bootloader.bin"
Bootloader binary size 0x5080 bytes. 0x2f80 bytes (37%) free.
[2/12] Building C object esp-idf/twai_ota/CMakeFiles/__idf_twai_ota.dir/twai_ota.c.obj
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c: In function 'ota_enter_command':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:109:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
109 | ota_ctrl.update_partition = esp_ota_get_next_update_partition(NULL);
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c: In function 'ota_download_data_in':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:200:9: warning: unused variable 'err' [-Wunused-variable]
200 | int err = 0;
| ^~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c: In function 'ota_read_versions':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:271:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
271 | esp_app_desc_t *running_app_desc_p = esp_app_get_description();
| ^~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:269:15: warning: unused variable 'ret' [-Wunused-variable]
269 | ota_err_t ret = 0;
| ^~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:268:9: warning: unused variable 'err' [-Wunused-variable]
268 | int err = 0;
| ^~~
[3/12] Linking C static library esp-idf\twai_ota\libtwai_ota.a
[4/12] Building C object esp-idf/twai_communication/CMakeFiles/__idf_twai_communication.dir/twai_communication.c.obj
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication/twai_communication.c: In function 'twai_send_task':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication/twai_communication.c:351:20: warning: unused variable 'message' [-Wunused-variable]
351 | twai_message_t message;
| ^~~~~~~
[5/12] Linking C static library esp-idf\twai_communication\libtwai_communication.a
[6/12] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp32_shock_main.c.obj
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/main/esp32_shock_main.c:11:20: warning: 'TAG' defined but not used [-Wunused-variable]
11 | static const char *TAG = "esp32_shock_main";
| ^~~
[7/12] Linking C static library esp-idf\main\libmain.a
[8/12] Generating ld/sections.ld
[9/12] Linking CXX executable esp32_shock.elf
[10/12] Generating binary image from built executable
esptool.py v4.6.2
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/build/esp32_shock.bin
[11/12] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\esp32_shock\build\esp-idf\esptool_py && E:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe E:/Espressif/frameworks/esp-idf-v5.0.4/components/partition_table/check_sizes.py --offset 0x8000 partition --type app E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/build/partition_table/partition-table.bin E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/build/esp32_shock.bin"
esp32_shock.bin binary size 0x4c360 bytes. Smallest app partition is 0x100000 bytes. 0xb3ca0 bytes (70%) free.
[11/12] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\components\esptool_py && E:\Espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=E:/Espressif/frameworks/esp-idf-v5.0.4 -D SERIAL_TOOL=E:/Espressif/python_env/idf5.0_py3.11_env/Scripts/python.exe;;E:/Espressif/frameworks/esp-idf-v5.0.4/components/esptool_py/esptool/esptool.py;--chip;esp32s3 -D SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args -D WORKING_DIRECTORY=E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/build -P E:/Espressif/frameworks/esp-idf-v5.0.4/components/esptool_py/run_serial_tool.cmake"
esptool esp32s3 -p COM78 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 bootloader/bootloader.bin 0x10000 esp32_shock.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin
esptool.py v4.6.2
Serial port COM78
Connecting....
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f4:12:fa:a0:a4:c4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x0005cfff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Compressed 20608 bytes to 13094...
Writing at 0x00000000... (100 %)
Wrote 20608 bytes (13094 compressed) at 0x00000000 in 0.3 seconds (effective 558.5 kbit/s)...
Hash of data verified.
Compressed 312160 bytes to 177518...
Writing at 0x00010000... (9 %)
Writing at 0x000191bb... (18 %)
Writing at 0x000210ca... (27 %)
Writing at 0x00028d26... (36 %)
Writing at 0x0002e8b5... (45 %)
Writing at 0x000347f6... (54 %)
Writing at 0x0003ac33... (63 %)
Writing at 0x00040e1e... (72 %)
Writing at 0x000468a4... (81 %)
Writing at 0x0004eabb... (90 %)
Writing at 0x000573a6... (100 %)
Wrote 312160 bytes (177518 compressed) at 0x00010000 in 2.1 seconds (effective 1170.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 138...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (138 compressed) at 0x00008000 in 0.0 seconds (effective 791.1 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Writing at 0x0000d000... (100 %)
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.1 seconds (effective 1043.9 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...