39 lines
7.2 KiB
Plaintext
39 lines
7.2 KiB
Plaintext
[1/12] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/mcpwm_bdc_control.c.obj
|
|
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/main/mcpwm_bdc_control.c:47: warning: "BDC_CH1_AOUT_GPIO" redefined
|
|
47 | #define BDC_CH1_AOUT_GPIO 6
|
|
|
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/main/mcpwm_bdc_control.c:46: note: this is the location of the previous definition
|
|
46 | #define BDC_CH1_AOUT_GPIO 5
|
|
|
|
|
[2/12] Performing build step for 'bootloader'
|
|
|
|
[1/1] cmd.exe /C "cd /D D:\Espressif\504\Espressif\frameworks\esp-idf-v5.0.4\app\car\build\bootloader\esp-idf\esptool_py && D:\Espressif\504\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/build/bootloader/bootloader.bin"
|
|
|
|
Bootloader binary size 0x6760 bytes. 0x8a0 bytes (8%) free.
|
|
|
|
[3/10] Building C object esp-idf/modbus_tcp/CMakeFiles/__idf_modbus_tcp.dir/modbus.c.obj
|
|
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus.c: In function 'ModbusSlaveProcess':
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus.c:93:11: warning: unused variable 'tlv_len' [-Wunused-variable]
|
|
93 | uint8_t tlv_len = 0;
|
|
| ^~~~~~~
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus.c:91:12: warning: unused variable 'pVar' [-Wunused-variable]
|
|
91 | uint8_t *pVar;
|
|
| ^~~~
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus.c:87:12: warning: unused variable 'temp_cnt' [-Wunused-variable]
|
|
87 | uint16_t temp_cnt;
|
|
| ^~~~~~~~
|
|
[4/10] Building C object esp-idf/modbus_tcp/CMakeFiles/__idf_modbus_tcp.dir/modbus_tcp.c.obj
|
|
|
|
FAILED: esp-idf/modbus_tcp/CMakeFiles/__idf_modbus_tcp.dir/modbus_tcp.c.obj
|
|
|
|
ccache D:\Espressif\504\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/build/config -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32 -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32/. -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32/private_include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32/. -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32 -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32 -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -ID:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch -mlongcalls -Wno-frame-address -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=D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car=. -fmacro-prefix-map=D:/Espressif/504/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/modbus_tcp/CMakeFiles/__idf_modbus_tcp.dir/modbus_tcp.c.obj -MF esp-idf\modbus_tcp\CMakeFiles\__idf_modbus_tcp.dir\modbus_tcp.c.obj.d -o esp-idf/modbus_tcp/CMakeFiles/__idf_modbus_tcp.dir/modbus_tcp.c.obj -c D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus_tcp.c
|
|
|
|
In file included from D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus_tcp.c:1:
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus.h:4:17: error: two or more data types in declaration specifiers
|
|
4 | #define uint8_t unsigned char
|
|
| ^~~~~~~~
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus.h:4:26: error: two or more data types in declaration specifiers
|
|
4 | #define uint8_t unsigned char
|
|
| ^~~~
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus.h:5:18: error: two or more data types in declaration specifiers
|
|
5 | #define uint16_t unsigned short
|
|
| ^~~~~~~~
|
|
D:/Espressif/504/Espressif/frameworks/esp-idf-v5.0.4/app/car/components/modbus_tcp/modbus.h:5:27: error: two or more data types in declaration specifiers
|
|
5 | #define uint16_t unsigned short
|
|
| ^~~~~
|
|
ninja: build stopped: subcommand failed.
|
|
|