[1/9] 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/7] 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:111:24: warning: unused variable 'motor' [-Wunused-variable] 111 | bdc_motor_handle_t motor = ctx->motor; | ^~~~~ In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:19: E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c: At top level: E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/servo/servo.h:4:13: warning: 'servo_ledc_init' used but never defined 4 | static void servo_ledc_init(void); | ^~~~~~~~~~~~~~~ [3/7] Linking C static library esp-idf\mcpwm_bdc_control\libmcpwm_bdc_control.a [4/7] Generating ld/sections.ld [5/7] Linking CXX executable wheel.elf FAILED: wheel.elf cmd.exe /C "cd . && E:\Espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-g++.exe -mlongcalls @CMakeFiles\wheel.elf.rsp -o wheel.elf && cd ." e:/espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/mcpwm_bdc_control/libmcpwm_bdc_control.a(mcpwm_bdc_control.c.obj):(.literal.bdc_motor_init_all+0x60): undefined reference to `servo_ledc_init' e:/espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/mcpwm_bdc_control/libmcpwm_bdc_control.a(mcpwm_bdc_control.c.obj): in function `bdc_motor_init_all': E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:342: undefined reference to `servo_ledc_init' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed.