wheel/build/log/idf_py_stdout_output_8672
2024-01-25 09:28:47 +08:00

25 lines
6.6 KiB
Plaintext

[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/twai_communication/CMakeFiles/__idf_twai_communication.dir/twai_communication.c.obj
FAILED: esp-idf/twai_communication/CMakeFiles/__idf_twai_communication.dir/twai_communication.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/twai_communication -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/modbus_tcp -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/twai_communication/CMakeFiles/__idf_twai_communication.dir/twai_communication.c.obj -MF esp-idf\twai_communication\CMakeFiles\__idf_twai_communication.dir\twai_communication.c.obj.d -o esp-idf/twai_communication/CMakeFiles/__idf_twai_communication.dir/twai_communication.c.obj -c E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/twai_communication/twai_communication.c
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/twai_communication/twai_communication.c: In function 'twai_receive_task':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/twai_communication/twai_communication.c:76:61: error: suggest parentheses around '+' in operand of '&' [-Werror=parentheses]
76 | messaget.data[0] = twai_send_data1->encoder_accumul & 0xff + 1;
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/twai_communication/twai_communication.c:77:68: error: suggest parentheses around '+' in operand of '&' [-Werror=parentheses]
77 | messaget.data[1] = (twai_send_data1->encoder_accumul >> 8) & 0xff + 2;
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/twai_communication/twai_communication.c:83:69: error: suggest parentheses around '+' in operand of '&' [-Werror=parentheses]
83 | messaget.data[7] = (twai_send_data1->encoder_accumur >> 24) & 0xff + 8;
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/twai_communication/twai_communication.c:43:9: warning: unused variable 'rx_len' [-Wunused-variable]
43 | int rx_len = 0;
| ^~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/twai_communication/twai_communication.c:42:13: warning: unused variable 'rx_data' [-Wunused-variable]
42 | uint8_t rx_data[RX_BUF_LEN];
| ^~~~~~~
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.