esp32_shock/build/log/idf_py_stdout_output_15568

214 lines
25 KiB
Plaintext
Raw Normal View History

2024-04-29 17:35:50 +08:00
[1/11] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\esp32_shock\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/esp32_shock/build/bootloader/bootloader.bin"
Bootloader binary size 0x5080 bytes. 0x2f80 bytes (37%) free.
[2/9] Building C object esp-idf/twai_ota/CMakeFiles/__idf_twai_ota.dir/twai_ota.c.obj
FAILED: esp-idf/twai_ota/CMakeFiles/__idf_twai_ota.dir/twai_ota.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/esp32_shock/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota -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 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/app_update/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader_support/bootloader_flash/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_partition/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/esp32_shock=. -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_OCDAW
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c: In function 'ota_enter_command':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:109:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
109 | ota_ctrl.update_partition = esp_ota_get_next_update_partition(NULL);
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c: In function '__ota_download_data_in':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:182:5: error: 'err' undeclared (first use in this function)
182 | err = esp_ota_write(ota_ctrl.update_handle, (const void *)ota_ctrl.buf, ota_ctrl.buf_len);
| ^~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:182:5: note: each undeclared identifier is reported only once for each function it appears in
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:10:
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:268:27: note: in expansion of macro 'LOG_COLOR'
268 | #define LOG_COLOR_E LOG_COLOR(LOG_COLOR_RED)
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:37: note: in expansion of macro 'LOG_COLOR_E'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:410:86: note: in expansion of macro 'LOG_FORMAT'
410 | if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:343:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
343 | #define ESP_LOGD( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_DEBUG, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:191:5: note: in expansion of macro 'ESP_LOGD'
191 | ESP_LOGD(TAG, "Written image length %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:269:27: note: in expansion of macro 'LOG_COLOR'
269 | #define LOG_COLOR_W LOG_COLOR(LOG_COLOR_BROWN)
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:37: note: in expansion of macro 'LOG_COLOR_W'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:411:86: note: in expansion of macro 'LOG_FORMAT'
411 | else if (level==ESP_LOG_WARN ) { esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:343:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
343 | #define ESP_LOGD( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_DEBUG, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:191:5: note: in expansion of macro 'ESP_LOGD'
191 | ESP_LOGD(TAG, "Written image length %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:191:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
191 | ESP_LOGD(TAG, "Written image length %d", ota_ctrl.binary_file_length);
| ^ ~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:59: note: in definition of macro 'LOG_FORMAT'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:343:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
343 | #define ESP_LOGD( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_DEBUG, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:191:5: note: in expansion of macro 'ESP_LOGD'
191 | ESP_LOGD(TAG, "Written image length %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:191:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
191 | ESP_LOGD(TAG, "Written image length %d", ota_ctrl.binary_file_length);
| ^ ~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:59: note: in definition of macro 'LOG_FORMAT'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:343:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
343 | #define ESP_LOGD( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_DEBUG, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:191:5: note: in expansion of macro 'ESP_LOGD'
191 | ESP_LOGD(TAG, "Written image length %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:270:27: note: in expansion of macro 'LOG_COLOR'
270 | #define LOG_COLOR_I LOG_COLOR(LOG_COLOR_GREEN)
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:37: note: in expansion of macro 'LOG_COLOR_I'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:414:86: note: in expansion of macro 'LOG_FORMAT'
414 | else { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:343:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
343 | #define ESP_LOGD( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_DEBUG, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:191:5: note: in expansion of macro 'ESP_LOGD'
191 | ESP_LOGD(TAG, "Written image length %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c: In function 'ota_download_data_in':
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:199:9: warning: unused variable 'err' [-Wunused-variable]
199 | int err = 0;
| ^~~
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:10:
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c: In function 'ota_download_finish_command':
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:268:27: note: in expansion of macro 'LOG_COLOR'
268 | #define LOG_COLOR_E LOG_COLOR(LOG_COLOR_RED)
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:37: note: in expansion of macro 'LOG_COLOR_E'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:410:86: note: in expansion of macro 'LOG_FORMAT'
410 | if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:235:5: note: in expansion of macro 'ESP_LOGI'
235 | ESP_LOGI(TAG, "Total Write binary data length: %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:269:27: note: in expansion of macro 'LOG_COLOR'
269 | #define LOG_COLOR_W LOG_COLOR(LOG_COLOR_BROWN)
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:37: note: in expansion of macro 'LOG_COLOR_W'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:411:86: note: in expansion of macro 'LOG_FORMAT'
411 | else if (level==ESP_LOG_WARN ) { esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:235:5: note: in expansion of macro 'ESP_LOGI'
235 | ESP_LOGI(TAG, "Total Write binary data length: %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:235:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
235 | ESP_LOGI(TAG, "Total Write binary data length: %d", ota_ctrl.binary_file_length);
| ^ ~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:59: note: in definition of macro 'LOG_FORMAT'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:235:5: note: in expansion of macro 'ESP_LOGI'
235 | ESP_LOGI(TAG, "Total Write binary data length: %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:235:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
235 | ESP_LOGI(TAG, "Total Write binary data length: %d", ota_ctrl.binary_file_length);
| ^ ~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:59: note: in definition of macro 'LOG_FORMAT'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:235:5: note: in expansion of macro 'ESP_LOGI'
235 | ESP_LOGI(TAG, "Total Write binary data length: %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'long long int' [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:270:27: note: in expansion of macro 'LOG_COLOR'
270 | #define LOG_COLOR_I LOG_COLOR(LOG_COLOR_GREEN)
| ^~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:282:37: note: in expansion of macro 'LOG_COLOR_I'
282 | #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_RESET_COLOR "\n"
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:414:86: note: in expansion of macro 'LOG_FORMAT'
414 | else { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
| ^~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:432:41: note: in expansion of macro 'ESP_LOG_LEVEL'
432 | if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:235:5: note: in expansion of macro 'ESP_LOGI'
235 | ESP_LOGI(TAG, "Total Write binary data length: %d", ota_ctrl.binary_file_length);
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota/twai_ota.c:250:38: error: 'update_partition' undeclared (first use in this function)
250 | err = esp_ota_set_boot_partition(update_partition);
| ^~~~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.