I'm not able to complete the flash process due to this error. Any ideas?
FAILED: esp-idf/main/CMakeFiles/idf_main.dir/app_lora.c.obj
/home/tom/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DESP_PLATFORM -DIDF_VER="v5.1-dev-2186-g454aeb3a48" -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/tom/esp/esp-idf/smoke-x-receiver/build/config -I/home/tom/esp/esp-idf/smoke-x-receiver/main -I/home/tom/esp/esp-idf/components/newlib/platform_include -I/home/tom/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/tom/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/tom/esp/esp-idf/components/freertos/esp_additions/include/freertos -I/home/tom/esp/esp-idf/components/freertos/esp_additions/include -I/home/tom/esp/esp-idf/components/esp_hw_support/include -I/home/tom/esp/esp-idf/components/esp_hw_support/include/soc -I/home/tom/esp/esp-idf/components/esp_hw_support/include/soc/esp32 -I/home/tom/esp/esp-idf/components/esp_hw_support/port/esp32/. -I/home/tom/esp/esp-idf/components/esp_hw_support/port/esp32/private_include -I/home/tom/esp/esp-idf/components/heap/include -I/home/tom/esp/esp-idf/components/log/include -I/home/tom/esp/esp-idf/components/soc/include -I/home/tom/esp/esp-idf/components/soc/esp32/. -I/home/tom/esp/esp-idf/components/soc/esp32/include -I/home/tom/esp/esp-idf/components/hal/esp32/include -I/home/tom/esp/esp-idf/components/hal/include -I/home/tom/esp/esp-idf/components/hal/platform_port/include -I/home/tom/esp/esp-idf/components/esp_rom/include -I/home/tom/esp/esp-idf/components/esp_rom/include/esp32 -I/home/tom/esp/esp-idf/components/esp_rom/esp32 -I/home/tom/esp/esp-idf/components/esp_common/include -I/home/tom/esp/esp-idf/components/esp_system/include -I/home/tom/esp/esp-idf/components/esp_system/port/soc -I/home/tom/esp/esp-idf/components/esp_system/port/include/private -I/home/tom/esp/esp-idf/components/xtensa/include -I/home/tom/esp/esp-idf/components/xtensa/esp32/include -I/home/tom/esp/esp-idf/components/lwip/include -I/home/tom/esp/esp-idf/components/lwip/include/apps -I/home/tom/esp/esp-idf/components/lwip/include/apps/sntp -I/home/tom/esp/esp-idf/components/lwip/lwip/src/include -I/home/tom/esp/esp-idf/components/lwip/port/esp32/include -I/home/tom/esp/esp-idf/components/lwip/port/esp32/include/arch -I/home/tom/esp/esp-idf/components/efuse/include -I/home/tom/esp/esp-idf/components/efuse/esp32/include -I/home/tom/esp/esp-idf/components/esp_app_format/include -I/home/tom/esp/esp-idf/components/bootloader_support/include -I/home/tom/esp/esp-idf/components/bootloader_support/bootloader_flash/include -I/home/tom/esp/esp-idf/components/esp_partition/include -I/home/tom/esp/esp-idf/components/app_update/include -I/home/tom/esp/esp-idf/components/esp_timer/include -I/home/tom/esp/esp-idf/components/esp_pm/include -I/home/tom/esp/esp-idf/components/esp_ringbuf/include -I/home/tom/esp/esp-idf/components/driver/include -I/home/tom/esp/esp-idf/components/driver/deprecated -I/home/tom/esp/esp-idf/components/driver/esp32/include -I/home/tom/esp/esp-idf/components/spi_flash/include -I/home/tom/esp/esp-idf/components/pthread/include -I/home/tom/esp/esp-idf/components/mbedtls/port/include -I/home/tom/esp/esp-idf/components/mbedtls/mbedtls/include -I/home/tom/esp/esp-idf/components/mbedtls/mbedtls/library -I/home/tom/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -I/home/tom/esp/esp-idf/components/vfs/include -I/home/tom/esp/esp-idf/components/http_parser -I/home/tom/esp/esp-idf/components/esp-tls -I/home/tom/esp/esp-idf/components/esp-tls/esp-tls-crypto -I/home/tom/esp/esp-idf/components/esp_http_server/include -I/home/tom/esp/esp-idf/components/json/cJSON -I/home/tom/esp/esp-idf/components/esp_event/include -I/home/tom/esp/esp-idf/components/tcp_transport/include -I/home/tom/esp/esp-idf/components/mqtt/esp-mqtt/include -I/home/tom/esp/esp-idf/components/spiffs/include -I/home/tom/esp/esp-idf/smoke-x-receiver/esp-idf-sx127x/components/lora/include -I/home/tom/esp/esp-idf/smoke-x-receiver/esp-idf-sx126x/components/ra01s -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=/home/tom/esp/esp-idf/smoke-x-receiver=. -fmacro-prefix-map=/home/tom/esp/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/main/CMakeFiles/idf_main.dir/app_lora.c.obj -MF esp-idf/main/CMakeFiles/idf_main.dir/app_lora.c.obj.d -o esp-idf/main/CMakeFiles/idf_main.dir/app_lora.c.obj -c /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c
In file included from /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:6:
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.h:55:55: error: unknown type name 'xTaskHandle'; did you mean 'TaskHandle_t'?
55 | int app_lora_set_params(app_lora_params_t* in_params, xTaskHandle calling_task);
| ^~~
| TaskHandle_t
In file included from /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:2:
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c: In function 'validate_params':
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE'
49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency);
| ^~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE'
49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency);
| ^~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency);
| ^
/home/tom/esp/esp-idf/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"
| ^~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE'
49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency);
| ^~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency);
| ^
/home/tom/esp/esp-idf/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"
| ^~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE'
49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency);
| ^~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE'
49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency);
| ^~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE'
57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth);
| ^~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE'
57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth);
| ^~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth);
| ^
/home/tom/esp/esp-idf/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"
| ^~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE'
57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth);
| ^~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth);
| ^
/home/tom/esp/esp-idf/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"
| ^~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE'
57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth);
| ^~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE'
57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth);
| ^~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c: In function 'tx_task':
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI'
124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval);
| ^~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI'
124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval);
| ^~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:1: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval);
| ^ ~~~
/home/tom/esp/esp-idf/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"
| ^~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI'
124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval);
| ^~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:1: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval);
| ^ ~~~
/home/tom/esp/esp-idf/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"
| ^~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI'
124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval);
| ^~~~
/home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m"
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~
/home/tom/esp/esp-idf/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"
| ^~~~~~
/home/tom/esp/esp-idf/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); }
| ^~~~~~
/home/tom/esp/esp-idf/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);
| ^~~~~
/home/tom/esp/esp-idf/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)
| ^~~~~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI'
124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval);
| ^~~~
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c: At top level:
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:221:25: error: unknown type name 'xTaskHandle'; did you mean 'TaskHandle_t'?
221 | xTaskHandle calling_task) {
| ^~~
| TaskHandle_t
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c: In function 'app_lora_init':
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:286:9: error: implicit declaration of function 'app_lora_set_params'; did you mean 'app_lora_get_params'? [-Werror=implicit-function-declaration]
286 | app_lora_set_params(&radio_params, NULL);
| ^~~~~~~
| app_lora_get_params
At top level:
/home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:36:12: warning: 'validate_params' defined but not used [-Wunused-function]
36 | static int validate_params(app_lora_params_t *in_params) {
| ^~~~~~~
cc1: some warnings being treated as errors
[541/590] Building C object esp-idf/spiffs/CMakeFiles/idf_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj
[542/590] Building C object esp-idf/spiffs/CMakeFiles/idf_spiffs.dir/esp_spiffs.c.obj
[543/590] Building C object esp-idf/spiffs/CMakeFiles/idf_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj
[544/590] Building CXX object esp-idf/cxx/CMakeFiles/idf_cxx.dir/cxx_guards.cpp.obj
[545/590] cd /home/tom/esp/esp-idf/smoke-x-receiver/build && /home/tom/esp/esp-idf/smoke-x-receiver/web_ui/build.sh /home/tom/esp/esp-idf/smoke-x-receiver/web_ui
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-vue@9.5.1',
npm WARN EBADENGINE required: { node: '^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'vue-eslint-parser@9.1.0',
npm WARN EBADENGINE required: { node: '^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
up to date, audited 877 packages in 7s
108 packages are looking for funding
run npm fund for details
2 critical severity vulnerabilities
To address all issues, run:
npm audit fix
Run npm audit for details.
build
vue-cli-service build
All browser targets in the browserslist configuration have supported ES module.
Therefore we don't build two separate bundles for differential loading.
Building for production...
WARNING Compiled with 2 warnings5:41:22 PM
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/about.js (490 KiB)
js/chunk-vendors.js (250 KiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (403 KiB)
css/chunk-vendors.css
js/chunk-vendors.js
css/app.css
js/app.js
ninja: build stopped: subcommand failed.
HINT: You are maybe using pre FreeRTOS V8.0.0 data types. The backward compatibility of such data types is no longer enabled by default. Please turn on CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY explicitly to use such data types.
HINT: The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include header file).
ninja failed with exit code 1, output of the command is in the /home/tom/esp/esp-idf/smoke-x-receiver/build/log/idf_py_stderr_output_112354 and /home/tom/esp/esp-idf/smoke-x-receiver/build/log/idf_py_stdout_output_112354
I'm not able to complete the flash process due to this error. Any ideas?
FAILED: esp-idf/main/CMakeFiles/idf_main.dir/app_lora.c.obj /home/tom/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DESP_PLATFORM -DIDF_VER="v5.1-dev-2186-g454aeb3a48" -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/tom/esp/esp-idf/smoke-x-receiver/build/config -I/home/tom/esp/esp-idf/smoke-x-receiver/main -I/home/tom/esp/esp-idf/components/newlib/platform_include -I/home/tom/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/tom/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/tom/esp/esp-idf/components/freertos/esp_additions/include/freertos -I/home/tom/esp/esp-idf/components/freertos/esp_additions/include -I/home/tom/esp/esp-idf/components/esp_hw_support/include -I/home/tom/esp/esp-idf/components/esp_hw_support/include/soc -I/home/tom/esp/esp-idf/components/esp_hw_support/include/soc/esp32 -I/home/tom/esp/esp-idf/components/esp_hw_support/port/esp32/. -I/home/tom/esp/esp-idf/components/esp_hw_support/port/esp32/private_include -I/home/tom/esp/esp-idf/components/heap/include -I/home/tom/esp/esp-idf/components/log/include -I/home/tom/esp/esp-idf/components/soc/include -I/home/tom/esp/esp-idf/components/soc/esp32/. -I/home/tom/esp/esp-idf/components/soc/esp32/include -I/home/tom/esp/esp-idf/components/hal/esp32/include -I/home/tom/esp/esp-idf/components/hal/include -I/home/tom/esp/esp-idf/components/hal/platform_port/include -I/home/tom/esp/esp-idf/components/esp_rom/include -I/home/tom/esp/esp-idf/components/esp_rom/include/esp32 -I/home/tom/esp/esp-idf/components/esp_rom/esp32 -I/home/tom/esp/esp-idf/components/esp_common/include -I/home/tom/esp/esp-idf/components/esp_system/include -I/home/tom/esp/esp-idf/components/esp_system/port/soc -I/home/tom/esp/esp-idf/components/esp_system/port/include/private -I/home/tom/esp/esp-idf/components/xtensa/include -I/home/tom/esp/esp-idf/components/xtensa/esp32/include -I/home/tom/esp/esp-idf/components/lwip/include -I/home/tom/esp/esp-idf/components/lwip/include/apps -I/home/tom/esp/esp-idf/components/lwip/include/apps/sntp -I/home/tom/esp/esp-idf/components/lwip/lwip/src/include -I/home/tom/esp/esp-idf/components/lwip/port/esp32/include -I/home/tom/esp/esp-idf/components/lwip/port/esp32/include/arch -I/home/tom/esp/esp-idf/components/efuse/include -I/home/tom/esp/esp-idf/components/efuse/esp32/include -I/home/tom/esp/esp-idf/components/esp_app_format/include -I/home/tom/esp/esp-idf/components/bootloader_support/include -I/home/tom/esp/esp-idf/components/bootloader_support/bootloader_flash/include -I/home/tom/esp/esp-idf/components/esp_partition/include -I/home/tom/esp/esp-idf/components/app_update/include -I/home/tom/esp/esp-idf/components/esp_timer/include -I/home/tom/esp/esp-idf/components/esp_pm/include -I/home/tom/esp/esp-idf/components/esp_ringbuf/include -I/home/tom/esp/esp-idf/components/driver/include -I/home/tom/esp/esp-idf/components/driver/deprecated -I/home/tom/esp/esp-idf/components/driver/esp32/include -I/home/tom/esp/esp-idf/components/spi_flash/include -I/home/tom/esp/esp-idf/components/pthread/include -I/home/tom/esp/esp-idf/components/mbedtls/port/include -I/home/tom/esp/esp-idf/components/mbedtls/mbedtls/include -I/home/tom/esp/esp-idf/components/mbedtls/mbedtls/library -I/home/tom/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -I/home/tom/esp/esp-idf/components/vfs/include -I/home/tom/esp/esp-idf/components/http_parser -I/home/tom/esp/esp-idf/components/esp-tls -I/home/tom/esp/esp-idf/components/esp-tls/esp-tls-crypto -I/home/tom/esp/esp-idf/components/esp_http_server/include -I/home/tom/esp/esp-idf/components/json/cJSON -I/home/tom/esp/esp-idf/components/esp_event/include -I/home/tom/esp/esp-idf/components/tcp_transport/include -I/home/tom/esp/esp-idf/components/mqtt/esp-mqtt/include -I/home/tom/esp/esp-idf/components/spiffs/include -I/home/tom/esp/esp-idf/smoke-x-receiver/esp-idf-sx127x/components/lora/include -I/home/tom/esp/esp-idf/smoke-x-receiver/esp-idf-sx126x/components/ra01s -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=/home/tom/esp/esp-idf/smoke-x-receiver=. -fmacro-prefix-map=/home/tom/esp/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/main/CMakeFiles/idf_main.dir/app_lora.c.obj -MF esp-idf/main/CMakeFiles/idf_main.dir/app_lora.c.obj.d -o esp-idf/main/CMakeFiles/idf_main.dir/app_lora.c.obj -c /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c In file included from /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:6: /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.h:55:55: error: unknown type name 'xTaskHandle'; did you mean 'TaskHandle_t'? 55 | int app_lora_set_params(app_lora_params_t* in_params, xTaskHandle calling_task); | ^
~~| TaskHandle_t In file included from /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:2: /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c: In function 'validate_params': /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE' 49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency); | ^~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE' 49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency); | ^~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency); | ^ /home/tom/esp/esp-idf/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" | ^~/home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE' 49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency); | ^~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency); | ^ /home/tom/esp/esp-idf/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" | ^~/home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE' 49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency); | ^~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:49:13: note: in expansion of macro 'ESP_LOGE' 49 | ESP_LOGE(TAG, "invalid frequency %d", in_params->frequency); | ^~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE' 57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth); | ^~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE' 57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth); | ^~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth); | ^ /home/tom/esp/esp-idf/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" | ^~/home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE' 57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth); | ^~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:1: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth); | ^ /home/tom/esp/esp-idf/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" | ^~/home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE' 57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth); | ^~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:340:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 340 | #define ESP_LOGE( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_ERROR, tag, format, ##VA_ARGS) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:57:13: note: in expansion of macro 'ESP_LOGE' 57 | ESP_LOGE(TAG, "invalid bandwidth %d", in_params->bandwidth); | ^~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c: In function 'tx_task': /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI' 124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval); | ^~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI' 124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval); | ^~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:1: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval); | ^ ~~~ /home/tom/esp/esp-idf/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" | ^~/home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI' 124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval); | ^~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:1: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval); | ^ ~~~ /home/tom/esp/esp-idf/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" | ^~/home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI' 124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval); | ^~~~ /home/tom/esp/esp-idf/components/log/include/esp_log.h:265:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 265 | #define LOG_COLOR(COLOR) "\033[0;" COLOR "m" | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~ /home/tom/esp/esp-idf/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" | ^~~~~~ /home/tom/esp/esp-idf/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); } | ^~~~~~ /home/tom/esp/esp-idf/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); | ^~~~~ /home/tom/esp/esp-idf/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) | ^~~~~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:124:9: note: in expansion of macro 'ESP_LOGI' 124 | ESP_LOGI(TAG, "Starting LoRa Tx msg='%s' interval=%dms", msg, interval); | ^~~~ /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c: At top level: /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:221:25: error: unknown type name 'xTaskHandle'; did you mean 'TaskHandle_t'? 221 | xTaskHandle calling_task) { | ^~~| TaskHandle_t /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c: In function 'app_lora_init': /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:286:9: error: implicit declaration of function 'app_lora_set_params'; did you mean 'app_lora_get_params'? [-Werror=implicit-function-declaration] 286 | app_lora_set_params(&radio_params, NULL); | ^~~~~~~ | app_lora_get_params At top level: /home/tom/esp/esp-idf/smoke-x-receiver/main/app_lora.c:36:12: warning: 'validate_params' defined but not used [-Wunused-function] 36 | static int validate_params(app_lora_params_t *in_params) { | ^~~~~~~ cc1: some warnings being treated as errors [541/590] Building C object esp-idf/spiffs/CMakeFiles/idf_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj [542/590] Building C object esp-idf/spiffs/CMakeFiles/idf_spiffs.dir/esp_spiffs.c.obj [543/590] Building C object esp-idf/spiffs/CMakeFiles/idf_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj [544/590] Building CXX object esp-idf/cxx/CMakeFiles/idf_cxx.dir/cxx_guards.cpp.obj [545/590] cd /home/tom/esp/esp-idf/smoke-x-receiver/build && /home/tom/esp/esp-idf/smoke-x-receiver/web_ui/build.sh /home/tom/esp/esp-idf/smoke-x-receiver/web_ui npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-plugin-vue@9.5.1', npm WARN EBADENGINE required: { node: '^14.17.0 || >=16.0.0' }, npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'vue-eslint-parser@9.1.0', npm WARN EBADENGINE required: { node: '^14.17.0 || >=16.0.0' }, npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' } npm WARN EBADENGINE }up to date, audited 877 packages in 7s
108 packages are looking for funding run npm fund for details
2 critical severity vulnerabilities
To address all issues, run: npm audit fix
Run npm audit for details.
All browser targets in the browserslist configuration have supported ES module. Therefore we don't build two separate bundles for differential loading.
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. Assets: js/about.js (490 KiB) js/chunk-vendors.js (250 KiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. Entrypoints: app (403 KiB) css/chunk-vendors.css js/chunk-vendors.js css/app.css js/app.js
File Size Gzipped
dist/js/about.js 490.45 KiB 130.08 KiB dist/js/chunk-vendors.js 250.16 KiB 75.83 KiB dist/js/app.js 8.58 KiB 3.28 KiB dist/css/chunk-vendors.css 143.26 KiB 22.75 KiB dist/css/app.css 0.78 KiB 0.43 KiB dist/css/about.css 0.33 KiB 0.16 KiB
Images and other types of assets omitted. Build at: 2022-12-11T00:41:22.897Z - Hash: 3c1600b25cb5a66b - Time: 23041ms
DONE Build complete. The dist directory is ready to be deployed. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
ninja: build stopped: subcommand failed. HINT: You are maybe using pre FreeRTOS V8.0.0 data types. The backward compatibility of such data types is no longer enabled by default. Please turn on CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY explicitly to use such data types. HINT: The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include header file).
ninja failed with exit code 1, output of the command is in the /home/tom/esp/esp-idf/smoke-x-receiver/build/log/idf_py_stderr_output_112354 and /home/tom/esp/esp-idf/smoke-x-receiver/build/log/idf_py_stdout_output_112354