152 lines
26 KiB
Plaintext
152 lines
26 KiB
Plaintext
[1/12] 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/10] Building C object esp-idf/bdc_motor/CMakeFiles/__idf_bdc_motor.dir/bdc_motor.c.obj
|
|
|
|
FAILED: esp-idf/bdc_motor/CMakeFiles/__idf_bdc_motor.dir/bdc_motor.c.obj
|
|
|
|
ccache E:\Espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/private_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/deprecated -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_pm/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_ringbuf/include -mlongcalls -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel=. -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/bdc_motor/CMakeFiles/__idf_bdc_motor.dir/bdc_motor.c.obj -MF esp-idf\bdc_motor\CMakeFiles\__idf_bdc_motor.dir\bdc_motor.c.obj.d -o esp-idf/bdc_motor/CMakeFiles/__idf_bdc_motor.dir/bdc_motor.c.obj -c E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c
|
|
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:11:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:19:28: error: unknown type name 'motor_control_context_t'
|
|
19 | esp_err_t bdc_motor_enable(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:20:29: error: unknown type name 'motor_control_context_t'
|
|
20 | esp_err_t bdc_motor_disable(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:21:31: error: unknown type name 'motor_control_context_t'
|
|
21 | esp_err_t bdc_motor_set_speed(motor_control_context_t motor_ctrl_ctx, uint32_t speed);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:22:29: error: unknown type name 'motor_control_context_t'
|
|
22 | esp_err_t bdc_motor_forward(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:23:29: error: unknown type name 'motor_control_context_t'
|
|
23 | esp_err_t bdc_motor_reverse(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:24:27: error: unknown type name 'motor_control_context_t'
|
|
24 | esp_err_t bdc_motor_coast(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:25:27: error: unknown type name 'motor_control_context_t'
|
|
25 | esp_err_t bdc_motor_brake(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:26:25: error: unknown type name 'motor_control_context_t'
|
|
26 | esp_err_t bdc_motor_del(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:16:28: error: unknown type name 'motor_control_context_t'
|
|
16 | esp_err_t bdc_motor_enable(motor_control_context_t motor_ctrl_ctx)
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:22:29: error: unknown type name 'motor_control_context_t'
|
|
22 | esp_err_t bdc_motor_disable(motor_control_context_t motor_ctrl_ctx)
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:28:31: error: unknown type name 'motor_control_context_t'
|
|
28 | esp_err_t bdc_motor_set_speed(motor_control_context_t motor_ctrl_ctx, uint32_t speed)
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:34:29: error: unknown type name 'motor_control_context_t'
|
|
34 | esp_err_t bdc_motor_forward(motor_control_context_t motor_ctrl_ctx)
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:42:29: error: unknown type name 'motor_control_context_t'
|
|
42 | esp_err_t bdc_motor_reverse(motor_control_context_t motor_ctrl_ctx)
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:51:27: error: unknown type name 'motor_control_context_t'
|
|
51 | esp_err_t bdc_motor_coast(motor_control_context_t motor_ctrl_ctx)
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:60:27: error: unknown type name 'motor_control_context_t'
|
|
60 | esp_err_t bdc_motor_brake(motor_control_context_t motor_ctrl_ctx)
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:68:25: error: unknown type name 'motor_control_context_t'
|
|
68 | esp_err_t bdc_motor_del(motor_control_context_t motor_ctrl_ctx)
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.c:14:20: warning: 'TAG' defined but not used [-Wunused-variable]
|
|
14 | static const char *TAG = "bdc_motor";
|
|
| ^~~
|
|
[3/10] Building C object esp-idf/bdc_motor/CMakeFiles/__idf_bdc_motor.dir/bdc_motor_mcpwm_impl.c.obj
|
|
|
|
FAILED: esp-idf/bdc_motor/CMakeFiles/__idf_bdc_motor.dir/bdc_motor_mcpwm_impl.c.obj
|
|
|
|
ccache E:\Espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/private_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/deprecated -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_pm/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_ringbuf/include -mlongcalls -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel=. -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/bdc_motor/CMakeFiles/__idf_bdc_motor.dir/bdc_motor_mcpwm_impl.c.obj -MF esp-idf\bdc_motor\CMakeFiles\__idf_bdc_motor.dir\bdc_motor_mcpwm_impl.c.obj.d -o esp-idf/bdc_motor/CMakeFiles/__idf_bdc_motor.dir/bdc_motor_mcpwm_impl.c.obj -c E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor_mcpwm_impl.c
|
|
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor_mcpwm_impl.h:5,
|
|
from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor_mcpwm_impl.c:11:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:19:28: error: unknown type name 'motor_control_context_t'
|
|
19 | esp_err_t bdc_motor_enable(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:20:29: error: unknown type name 'motor_control_context_t'
|
|
20 | esp_err_t bdc_motor_disable(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:21:31: error: unknown type name 'motor_control_context_t'
|
|
21 | esp_err_t bdc_motor_set_speed(motor_control_context_t motor_ctrl_ctx, uint32_t speed);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:22:29: error: unknown type name 'motor_control_context_t'
|
|
22 | esp_err_t bdc_motor_forward(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:23:29: error: unknown type name 'motor_control_context_t'
|
|
23 | esp_err_t bdc_motor_reverse(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:24:27: error: unknown type name 'motor_control_context_t'
|
|
24 | esp_err_t bdc_motor_coast(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:25:27: error: unknown type name 'motor_control_context_t'
|
|
25 | esp_err_t bdc_motor_brake(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:26:25: error: unknown type name 'motor_control_context_t'
|
|
26 | esp_err_t bdc_motor_del(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor_mcpwm_impl.c:23:3: error: conflicting types for 'bdc_motor_mcpwm_obj'; have 'struct <anonymous>'
|
|
23 | } bdc_motor_mcpwm_obj;
|
|
| ^~~~~~~~~~~~~~~~~~~
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor_mcpwm_impl.c:11:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor_mcpwm_impl.h:16:3: note: previous declaration of 'bdc_motor_mcpwm_obj' with type 'bdc_motor_mcpwm_obj'
|
|
16 | } bdc_motor_mcpwm_obj;
|
|
| ^~~~~~~~~~~~~~~~~~~
|
|
[4/10] Building C object esp-idf/mcpwm_bdc_control/CMakeFiles/__idf_mcpwm_bdc_control.dir/mcpwm_bdc_control.c.obj
|
|
|
|
FAILED: esp-idf/mcpwm_bdc_control/CMakeFiles/__idf_mcpwm_bdc_control.dir/mcpwm_bdc_control.c.obj
|
|
|
|
ccache E:\Espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/private_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/deprecated -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_pm/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/pid_ctrl -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_timer/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/modbus_tcp -mlongcalls -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel=. -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/mcpwm_bdc_control/CMakeFiles/__idf_mcpwm_bdc_control.dir/mcpwm_bdc_control.c.obj -MF esp-idf\mcpwm_bdc_control\CMakeFiles\__idf_mcpwm_bdc_control.dir\mcpwm_bdc_control.c.obj.d -o esp-idf/mcpwm_bdc_control/CMakeFiles/__idf_mcpwm_bdc_control.dir/mcpwm_bdc_control.c.obj -c E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c
|
|
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:16:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:19:28: error: unknown type name 'motor_control_context_t'
|
|
19 | esp_err_t bdc_motor_enable(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:20:29: error: unknown type name 'motor_control_context_t'
|
|
20 | esp_err_t bdc_motor_disable(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:21:31: error: unknown type name 'motor_control_context_t'
|
|
21 | esp_err_t bdc_motor_set_speed(motor_control_context_t motor_ctrl_ctx, uint32_t speed);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:22:29: error: unknown type name 'motor_control_context_t'
|
|
22 | esp_err_t bdc_motor_forward(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:23:29: error: unknown type name 'motor_control_context_t'
|
|
23 | esp_err_t bdc_motor_reverse(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:24:27: error: unknown type name 'motor_control_context_t'
|
|
24 | esp_err_t bdc_motor_coast(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:25:27: error: unknown type name 'motor_control_context_t'
|
|
25 | esp_err_t bdc_motor_brake(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor/bdc_motor.h:26:25: error: unknown type name 'motor_control_context_t'
|
|
26 | esp_err_t bdc_motor_del(motor_control_context_t motor_ctrl_ctx);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
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:131:5: error: implicit declaration of function 'bdc_motor_set_speed' [-Werror=implicit-function-declaration]
|
|
131 | bdc_motor_set_speed(*ctx, (uint32_t)new_speed);
|
|
| ^~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:110:24: warning: unused variable 'motor' [-Wunused-variable]
|
|
110 | bdc_motor_handle_t motor = ctx->motor;
|
|
| ^~~~~
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_intr_alloc.h:11,
|
|
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:20,
|
|
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/spinlock.h:11,
|
|
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:74,
|
|
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/portable.h:58,
|
|
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:70,
|
|
from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:9:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c: In function 'bdc_motor_init_all':
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:323:21: error: implicit declaration of function 'bdc_motor_enable'; did you mean 'bdc_motor_init_all'? [-Werror=implicit-function-declaration]
|
|
323 | ESP_ERROR_CHECK(bdc_motor_enable(motor_ctrl_ctxl)); //启动电机
|
|
| ^~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include/esp_err.h:117:30: note: in definition of macro 'ESP_ERROR_CHECK'
|
|
117 | esp_err_t err_rc_ = (x); \
|
|
| ^
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:324:21: error: implicit declaration of function 'bdc_motor_forward' [-Werror=implicit-function-declaration]
|
|
324 | ESP_ERROR_CHECK(bdc_motor_forward(motor_ctrl_ctxl)); //电机正转
|
|
| ^~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include/esp_err.h:117:30: note: in definition of macro 'ESP_ERROR_CHECK'
|
|
117 | esp_err_t err_rc_ = (x); \
|
|
| ^
|
|
cc1.exe: some warnings being treated as errors
|
|
ninja: build stopped: subcommand failed.
|
|
|