[1/10] Performing build step for 'bootloader' [1/1] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\wheel\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/wheel/build/bootloader/bootloader.bin" Bootloader binary size 0x4f90 bytes. 0x3070 bytes (38%) free. [2/8] Building C object esp-idf/mcpwm_bdc_control/CMakeFiles/__idf_mcpwm_bdc_control.dir/mcpwm_bdc_control.c.obj E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c: In function 'pid_loop_cb': E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:109:24: warning: unused variable 'motor' [-Wunused-variable] 109 | bdc_motor_handle_t motor = ctx->motor; | ^~~~~ [3/8] Linking C static library esp-idf\mcpwm_bdc_control\libmcpwm_bdc_control.a [4/8] Generating ld/sections.ld [5/8] Linking CXX executable wheel.elf [6/8] 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/wheel/build/wheel.bin [7/8] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\wheel\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/wheel/build/partition_table/partition-table.bin E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/wheel.bin" wheel.bin binary size 0xb27c0 bytes. Smallest app partition is 0x100000 bytes. 0x4d840 bytes (30%) free. [7/8] 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/wheel/build -P E:/Espressif/frameworks/esp-idf-v5.0.4/components/esptool_py/run_serial_tool.cmake" esptool esp32s3 -p COM5 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 wheel.bin 0x8000 partition_table/partition-table.bin esptool.py v4.6.2 Serial port COM5 Connecting... Chip is ESP32-S3 (revision v0.1) Features: WiFi, BLE Crystal is 40MHz MAC: f4:12:fa:57:c4:a4 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Flash will be erased from 0x00000000 to 0x00004fff... Flash will be erased from 0x00010000 to 0x000c2fff... Flash will be erased from 0x00008000 to 0x00008fff... Compressed 20368 bytes to 12917... Writing at 0x00000000... (100 %) Wrote 20368 bytes (12917 compressed) at 0x00000000 in 0.4 seconds (effective 432.2 kbit/s)... Hash of data verified. Compressed 731072 bytes to 462074... Writing at 0x00010000... (3 %) Writing at 0x0001cde5... (6 %) Writing at 0x0002606a... (10 %) Writing at 0x0002b56c... (13 %) Writing at 0x00035a84... (17 %) Writing at 0x0003b864... (20 %) Writing at 0x000413c1... (24 %) Writing at 0x00047552... (27 %) Writing at 0x0004daf5... (31 %) Writing at 0x0005347b... (34 %) Writing at 0x00058a9c... (37 %) Writing at 0x0005e306... (41 %) Writing at 0x00063bfa... (44 %) Writing at 0x000697b7... (48 %) Writing at 0x0006f3fb... (51 %) Writing at 0x0007423f... (55 %) Writing at 0x00079337... (58 %) Writing at 0x0007e377... (62 %) Writing at 0x0008368d... (65 %) Writing at 0x00088b92... (68 %) Writing at 0x0008e5d3... (72 %) Writing at 0x00093d55... (75 %) Writing at 0x00099719... (79 %) Writing at 0x0009f72c... (82 %) Writing at 0x000a4f42... (86 %) Writing at 0x000aaac9... (89 %) Writing at 0x000b48b1... (93 %) Writing at 0x000bb6cd... (96 %) Writing at 0x000c0f9a... (100 %) Wrote 731072 bytes (462074 compressed) at 0x00010000 in 7.8 seconds (effective 752.2 kbit/s)... Hash of data verified. Compressed 3072 bytes to 103... Writing at 0x00008000... (100 %) Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 463.7 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin...