Closed Yoimer closed 3 years ago
Hello @Yoimer,
Espressif provides documentation for setting up an IDF project. You can set up this repository by following these guides.
Espressif VS Code extension getting started guide. VS Code extension GitHub forum. A sample config. Note for this one you need to change the paths to `$AMAZON_FREERTOS_ROOT/vendors/espressif/esp-idf/export.sh.
In your terminal, you can bootstrap the file paths needed by the ESP-IDF VS Code by using the following commands.
source $AMAZON_FREERTOS_ROOT/vendors/espressif/esp-idf/export.sh
code $AMAZON_FREERTOS_ROOT
I added "CMAKE_EXPORT_COMPILE_COMMANDS": "1",
to the settings.json
mentioned in the FreeRTOS post you mention on VS Code. This will create a compile_commands.json that is parsed by VS Code in order to configure intellisense.
Hope this is helpful.
Thanks,
Carl
Hello @lundinc2 Thanks a lot for replying. I'm still a bit confused though. I really hope you could keep with further explanation, please.
On A sample config they don't say anything related to CMake Extension
CMake Tools and the "CMAKE_EXPORT_COMPILE_COMMANDS": "1"
configuration you commented, has to with that. Should I install it anyways?
About the $AMAZON_FREERTOS_ROOT/vendors/espressif/esp-idf/export.sh
. I use Windows, so I successfully ran: C:\esp-idf-v4.2\FreeRTOS\vendors\espressif\esp-idf\export.bat
and added these tools to my path
so I can run cmake
, xtensa-esp32-elf-gcc
and the rest of the tools on any path on my PC. VS code even recognizes the compiler. But still I can't build from it.
I can run from cmd
the demos without any issues. The commands I use are:
from C:\esp-idf-v4.2\FreeRTOS
cmake -DVENDOR=espressif -DBOARD=esp32_devkitc -DCOMPILER=xtensa-esp32 -GNinja -S . -B demos/coreMQTT/build
python C:/esp-idf-v4.2/FreeRTOS/vendors/espressif/esp-idf/tools/idf.py build -B demos/coreMQTT/build
python C:/esp-idf-v4.2/FreeRTOS/vendors/espressif/esp-idf/tools/idf.py erase_flash flash monitor -p COM4 -B demos/coreMQTT/build
And from AWS I can push and subscribe flawlessly.
How and where should I write those commands on VS code to make possible the building, compiling and flashing? Thanks in advance.
Hi @Yoimer,
I used the CMake tools extension alongside the IDF extension, in order to generate the proper cmake when I opened VS Code.
Can you clarify how you are compiling from VS Code?
Thanks,
Carl
@lundinc2 Hello,
I will paste here later, how I am trying to compile the AWS FreeRTOS ESP32 on VS Code. Also (as mere reference) how I compile the native (vanilla) demos from Espressif IDF. This last works out of box with no issues at all. I don't even have to configure anything when I test those.
@lundinc2 I hope you're doing great. I just opened this https://github.com/espressif/vscode-esp-idf-extension/issues/355 where I gave specific details of what I do regarding VS Code and AWS FreeRTOS ESP32 now using ESP-IDFV3.3.2.
Please, could you be kind enough to check it out? I just forgot that I already had this thread here and created that issue there. I would not like to close it though. Thanks in advance for your assistance
Hello @lundinc2.
Now, I am able to build and compile FreeRTOS V202002.00
from VSCODE. I am not using Espressif VS Code extension
. Instead I just installed https://dl.espressif.com/dl/esp-idf-tools-setup-1.2.exe
on my Windows path along the latest version of CMake
(3.20.0).
On VScode I installed this extension https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools.
On FreeRTOS\.vscode\settings.json
I have this configuration:
{
"cmake.configureOnOpen": false,
"cmake.buildDirectory": "${workspaceFolder}/demos/mqtt/build",
"cmake.sourceDirectory": "${workspaceFolder}",
"cmake.buildArgs": [
"-GNinja -S . -B"
],
"cmake.configureSettings": {
"COMPILER": "xtensa-esp32",
"CMAKE_C_COMPILER_WORKS": "TRUE",
"VENDOR": "espressif",
"BOARD": "esp32_devkitc"
},
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
}
Which maps this command as it were used from cmd
Go to FreeRTOS folder
cmake -DVENDOR=espressif -DBOARD=esp32_devkitc -DCOMPILER=xtensa-esp32 -GNinja -S . -B demos/mqtt/build
On VSCode, I click on Compilation Version
button and it begins compiling all.
The output is this:
[main] Compilando la carpeta: FreeRTOS [main] Configurando la carpeta: FreeRTOS [proc] Ejecutando el comando: C:\cmake-3.20.0\bin\cmake.EXE --no-warn-unused-cli -DCOMPILER:STRING=xtensa-esp32 -DCMAKE_C_COMPILER_WORKS:STRING=TRUE -DVENDOR:STRING=espressif -DBOARD:STRING=esp32_devkitc -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=C:\Espressif\ESP-IDF-Tools\tools\bin\xtensa-esp32-elf-gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=C:\Espressif\ESP-IDF-Tools\tools\bin\xtensa-esp32-elf-g++.exe -Hc:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS -Bc:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/demos/mqtt/build -G Ninja [cmake] Not searching for unused variables given on the command line. [cmake] -- The C compiler identification is GNU 5.2.0 [cmake] -- The CXX compiler identification is GNU 5.2.0 [cmake] -- The ASM compiler identification is GNU [cmake] -- Found assembler: C:/Espressif/ESP-IDF-Tools/tools/bin/xtensa-esp32-elf-gcc.exe [cmake] -- Found Git: C:/git/cmd/git.exe (found version "2.31.0.windows.1") [cmake] -- Checking Python dependencies... [cmake] Python requirements from C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf\requirements.txt are satisfied. [cmake] -- IDF_TARGET not set, using default target: esp32 [cmake] -- Building for target esp32 [cmake] -- Component names: soc log heap freertos vfs newlib esp_ringbuf driver tcpip_adapter esp_event partition_table app_update spi_flash mbedtls micro-ecc bootloader_support efuse xtensa-debug-module app_trace ethernet nvs_flash pthread smartconfig_ack wpa_supplicant espcoredump esp32 cxx amazon-freertos-common secure_sockets freertos_plus_tcp bootloader nimble bt console esp_adc_cal esptool_py expat wear_levelling sdmmc fatfs freemodbus lwip nghttp openssl spiffs ulp [cmake] -- Component paths: C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/soc;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/log;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/heap;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/boards/esp32/components/freertos;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/vfs;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/newlib;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp_ringbuf;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/driver;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/boards/esp32/components/freertos_tcpip/tcpip_adapter;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp_event;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/partition_table;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/app_update;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/spi_flash;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/boards/esp32/components/mbedtls;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/micro-ecc;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/bootloader_support;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/efuse;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/xtensa-debug-module;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/app_trace;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/boards/esp32/components/freertos_tcpip/ethernet;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/nvs_flash;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/pthread;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/boards/esp32/components/freertos_tcpip/smartconfig_ack;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/wpa_supplicant;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/espcoredump;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/cxx;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/boards/esp32/aws_demos/application_code/espressif_code/amazon-freertos-common;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/boards/esp32/components/secure_sockets;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/boards/esp32/components/freertos_tcpip/freertos_plus_tcp;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/bootloader;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/nimble;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/bt;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/console;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp_adc_cal;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esptool_py;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/expat;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/wear_levelling;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/sdmmc;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/fatfs;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/freemodbus;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/lwip;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/nghttp;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/openssl;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/spiffs;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/ulp [cmake] Loading defaults file C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/demos/mqtt/build/sdkconfig.defaults... [cmake] -- IDF_VER: v3.3-163-g601a03e [cmake] -- Project version: c8fe16e [cmake] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/demos/mqtt/build/esp-idf/esp32/esp32_out.ld [cmake] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.ld [cmake] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32/ld/esp32.peripherals.ld [cmake] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.libgcc.ld [cmake] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld [cmake] -- Component libraries: [cmake] =========================Resolving dependencies========================== [cmake] All modules available [cmake] [cmake] ====================Configuration for FreeRTOS==================== [cmake] Version: 202002.00 [cmake] Git version: Unknown [cmake] [cmake] Target microcontroller: [cmake] vendor: Espressif [cmake] board: ESP32-DevKitC [cmake] description: Development board produced by Espressif that comes in two [cmake] variants either with ESP-WROOM-32 or ESP32-WROVER module [cmake] family: ESP32 [cmake] data ram size: 520KB [cmake] program memory size: 4MB [cmake] [cmake] Host platform: [cmake] OS: Windows-6.1.7601 [cmake] Toolchain: xtensa-esp32 [cmake] Toolchain path: C:/Espressif/ESP-IDF-Tools/tools [cmake] CMake generator: Ninja [cmake] [cmake] FreeRTOS modules: [cmake] Modules to build: ble, ble_hal, ble_wifi_provisioning, common, crypto, [cmake] dev_mode_key_provisioning, freertos_plus_tcp, https, kernel, [cmake] mqtt, ota, pkcs11, pkcs11_implementation, platform, [cmake] secure_sockets, serializer, shadow, tls, wifi [cmake] Enabled by user: ble, ble_hal, ble_wifi_provisioning, https, mqtt, ota, pkcs11, [cmake] pkcs11_implementation, platform, secure_sockets, shadow, wifi [cmake] Enabled by dependency: common, crypto, demo_base, dev_mode_key_provisioning, [cmake] freertos, freertos_plus_tcp, kernel, ota_http, ota_mqtt, [cmake] pkcs11_mbedtls, secure_sockets_freertos_plus_tcp, serializer, [cmake] tls, utils [cmake] 3rdparty dependencies: http_parser, jsmn, mbedtls, pkcs11, tinycbor [cmake] Available demos: demo_ble, demo_ble_numeric_comparison, demo_https, demo_mqtt, [cmake] demo_ota, demo_shadow, demo_tcp, demo_wifi_provisioning [cmake] Available tests: [cmake] ========================================================================= [cmake] [cmake] -- Configuring done [cmake] -- Generating done [cmake] -- Build files have been written to: C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/demos/mqtt/build [build] Iniciando la compilación [proc] Ejecutando el comando: C:\cmake-3.20.0\bin\cmake.EXE --build c:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/demos/mqtt/build --config Debug --target all "-GNinja -S . -B" -- -j 4 [build] [1/2 0% :: 0.000] Re-checking globbed directories... [build] [4/795 0% :: 0.763] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/cpu_util.c.obj [build] [5/795 0% :: 0.886] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/gpio_periph.c.obj [build] [6/795 0% :: 1.623] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_tinycbor.dir/tinycbor/cborparser_dup_string.c.obj [build] [7/795 0% :: 3.367] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_periph.c.obj [build] [8/795 0% :: 3.514] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk_init.c.obj [build] [9/795 0% :: 3.556] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_init.c.obj [build] [10/795 0% :: 3.592] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk.c.obj [build] [11/795 1% :: 4.456] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_pm.c.obj [build] [12/795 1% :: 4.947] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_sleep.c.obj [build] [13/795 1% :: 4.983] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_time.c.obj [build] [14/795 1% :: 5.045] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_wdt.c.obj [build] [15/795 1% :: 5.392] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/sdmmc_periph.c.obj [build] [16/795 1% :: 6.065] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/sdio_slave_periph.c.obj [build] [17/795 1% :: 6.309] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/soc_memory_layout.c.obj [build] [18/795 1% :: 6.353] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/spi_periph.c.obj [build] [19/795 2% :: 6.660] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/src/memory_layout_utils.c.obj [build] [20/795 2% :: 8.116] Building C object esp-idf/log/CMakeFiles/idf_component_log.dir/log.c.obj [build] [21/795 2% :: 8.298] Building C object esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_caps.c.obj [build] [22/795 2% :: 8.336] Building C object esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_caps_init.c.obj [build] [23/795 2% :: 9.923] Building C object esp-idf/heap/CMakeFiles/idf_component_heap.dir/multi_heap.c.obj [build] [24/795 2% :: 9.965] Building C object esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_trace.c.obj [build] [25/795 2% :: 10.116] Linking C static library esp-idf\log\liblog.a [build] [26/795 2% :: 10.353] Linking C static library esp-idf\soc\libsoc.a [build] [27/795 3% :: 11.101] Generating idf_component_log.sections_info [build] [28/795 3% :: 11.123] Generating idf_component_soc.sections_info [build] [29/795 3% :: 11.846] Linking C static library esp-idf\heap\libheap.a [build] [30/795 3% :: 12.159] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/util/src/addr.c.obj [build] [31/795 3% :: 12.682] Generating idf_component_heap.sections_info [build] [32/795 3% :: 12.874] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/extra.c.obj [build] [33/795 3% :: 13.207] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/FreeRTOS-openocd.c.obj [build] [34/795 3% :: 13.982] Building ASM object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/portasm.S.obj [build] [35/795 4% :: 14.103] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/port.c.obj [build] [36/795 4% :: 14.233] Building ASM object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_context.S.obj [build] [37/795 4% :: 14.374] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_init.c.obj [build] [38/795 4% :: 14.847] Building ASM object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_intr_asm.S.obj [build] [39/795 4% :: 15.291] Building ASM object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_loadstore_handler.S.obj [build] [40/795 4% :: 15.518] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_intr.c.obj [build] [41/795 4% :: 15.915] Building ASM object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_vector_defaults.S.obj [build] [42/795 4% :: 16.038] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_overlay_os_hook.c.obj [build] [43/795 5% :: 16.820] Building ASM object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_vectors.S.obj [build] [44/795 5% :: 16.985] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/croutine.c.obj [build] [45/795 5% :: 18.088] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/event_groups.c.obj [build] [46/795 5% :: 18.281] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/list.c.obj [build] [47/795 5% :: 18.781] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/stream_buffer.c.obj [build] [48/795 5% :: 19.714] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/queue.c.obj [build] [49/795 5% :: 20.428] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/timers.c.obj [build] [50/795 5% :: 22.667] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/__/__/__/__/__/freertos_kernel/tasks.c.obj [build] [51/795 6% :: 22.803] Building C object esp-idf/vfs/CMakeFiles/idf_component_vfs.dir/vfs_uart.c.obj [build] [52/795 6% :: 23.024] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/locks.c.obj [build] [53/795 6% :: 23.431] Building C object esp-idf/vfs/CMakeFiles/idf_component_vfs.dir/vfs.c.obj [build] [54/795 6% :: 23.693] Linking C static library esp-idf\freertos\libfreertos.a [build] [55/795 6% :: 23.989] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/pthread.c.obj [build] [56/795 6% :: 24.472] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/random.c.obj [build] [57/795 6% :: 24.600] Linking C static library esp-idf\vfs\libvfs.a [build] [58/795 6% :: 24.747] Generating idf_component_freertos.sections_info [build] [59/795 7% :: 25.098] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/reent_init.c.obj [build] [60/795 7% :: 25.522] Generating idf_component_vfs.sections_info [build] [61/795 7% :: 26.290] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/select.c.obj [build] [62/795 7% :: 26.576] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/syscall_table.c.obj [build] [63/795 7% :: 26.646] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/poll.c.obj [build] [64/795 7% :: 27.456] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/termios.c.obj [build] [65/795 7% :: 27.670] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/utime.c.obj [build] [66/795 7% :: 27.779] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/syscalls.c.obj [build] [67/795 8% :: 29.655] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/gpio.c.obj [build] [68/795 8% :: 29.961] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/time.c.obj [build] [69/795 8% :: 30.519] Building C object esp-idf/esp_ringbuf/CMakeFiles/idf_component_esp_ringbuf.dir/ringbuf.c.obj [build] [70/795 8% :: 31.006] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/can.c.obj [build] [71/795 8% :: 32.899] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/i2c.c.obj [build] [72/795 8% :: 33.290] Linking C static library esp-idf\newlib\libnewlib.a [build] [73/795 8% :: 33.326] Linking C static library esp-idf\esp_ringbuf\libesp_ringbuf.a [build] [74/795 8% :: 33.428] Generating idf_component_newlib.sections_info [build] [75/795 9% :: 33.614] Generating idf_component_esp_ringbuf.sections_info [build] [76/795 9% :: 36.825] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/pcnt.c.obj [build] [77/795 9% :: 37.532] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/i2s.c.obj [build] [78/795 9% :: 37.606] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/ledc.c.obj [build] [79/795 9% :: 37.695] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/mcpwm.c.obj [build] [80/795 9% :: 38.542] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/periph_ctrl.c.obj [build] [81/795 9% :: 41.523] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/sdio_slave.c.obj [build] [82/795 9% :: 42.316] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/rtc_module.c.obj [build] [83/795 10% :: 43.183] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/rmt.c.obj [build] [84/795 10% :: 43.602] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/sdspi_crc.c.obj [build] [85/795 10% :: 43.663] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/sdmmc_host.c.obj [build] [86/795 10% :: 44.934] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/sdmmc_transaction.c.obj [build] [87/795 10% :: 45.725] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/sdspi_host.c.obj [build] [88/795 10% :: 45.818] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/sdspi_transaction.c.obj [build] [89/795 10% :: 46.154] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/sigmadelta.c.obj [build] [90/795 10% :: 48.009] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/spi_common.c.obj [build] [91/795 11% :: 48.755] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/spi_master.c.obj [build] [92/795 11% :: 48.839] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/timer.c.obj [build] [93/795 11% :: 48.928] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/spi_slave.c.obj [build] [94/795 11% :: 50.731] Building C object esp-idf/esp_event/CMakeFiles/idf_component_esp_event.dir/default_event_loop.c.obj [build] [95/795 11% :: 51.519] Building C object esp-idf/tcpip_adapter/CMakeFiles/idf_component_tcpip_adapter.dir/tcpip_adapter.c.obj [build] [96/795 11% :: 52.192] Building C object esp-idf/esp_event/CMakeFiles/idf_component_esp_event.dir/esp_event_private.c.obj [build] [97/795 11% :: 52.568] Building C object esp-idf/esp_event/CMakeFiles/idf_component_esp_event.dir/esp_event.c.obj [build] [98/795 11% :: 52.692] Building C object esp-idf/driver/CMakeFiles/idf_component_driver.dir/uart.c.obj [build] [99/795 12% :: 52.822] Linking C static library esp-idf\tcpip_adapter\libtcpip_adapter.a [build] [100/795 12% :: 53.285] Generating idf_component_tcpip_adapter.sections_info [build] [101/795 12% :: 53.569] Linking C static library esp-idf\esp_event\libesp_event.a [build] [102/795 12% :: 53.782] Linking C static library esp-idf\driver\libdriver.a [build] [103/795 12% :: 54.593] Generating idf_component_esp_event.sections_info [build] [104/795 12% :: 54.711] Generating ../../partition_table/partition-table.bin [build] [105/795 12% :: 54.892] Generating idf_component_driver.sections_info [build] [106/795 12% :: 55.770] Generating ../../ota_data_initial.bin [build] [107/795 13% :: 56.682] Building C object esp-idf/app_update/CMakeFiles/idf_component_app_update.dir/esp_app_desc.c.obj [build] [108/795 13% :: 56.733] Building C object esp-idf/app_update/CMakeFiles/idf_component_app_update.dir/esp_ota_ops.c.obj [build] [109/795 13% :: 57.762] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/cache_utils.c.obj [build] [110/795 13% :: 58.421] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/flash_ops.c.obj [build] [111/795 13% :: 58.679] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/flash_mmap.c.obj [build] [112/795 13% :: 58.796] Linking C static library esp-idf\app_update\libapp_update.a [build] [113/795 13% :: 59.324] Generating idf_component_app_update.sections_info [build] [114/795 13% :: 59.556] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/partition.c.obj [build] [115/795 14% :: 60.627] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/spi_flash_rom_patch.c.obj [build] [116/795 14% :: 60.843] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_clock.c.obj [build] [117/795 14% :: 61.764] Building C object esp-idf/micro-ecc/CMakeFiles/idf_component_micro-ecc.dir/micro-ecc/uECC.c.obj [build] [118/795 14% :: 62.325] Linking C static library esp-idf\spi_flash\libspi_flash.a [build] [119/795 14% :: 62.451] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_common.c.obj [build] [120/795 14% :: 62.833] Generating idf_component_spi_flash.sections_info [build] [121/795 14% :: 62.886] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash.c.obj [build] [122/795 14% :: 63.291] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a [build] [123/795 15% :: 64.628] Generating idf_component_micro-ecc.sections_info [build] [124/795 15% :: 64.979] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_sha.c.obj [build] [125/795 15% :: 65.180] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash_config.c.obj [build] [126/795 15% :: 65.645] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_random.c.obj [build] [127/795 15% :: 67.367] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/esp_image_format.c.obj [build] [128/795 15% :: 67.459] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_encrypt.c.obj [build] [129/795 15% :: 67.767] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_utility.c.obj [build] [130/795 15% :: 67.831] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_partitions.c.obj [build] [131/795 16% :: 68.737] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot.c.obj [build] [132/795 16% :: 69.014] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_qio_mode.c.obj [build] [133/795 16% :: 69.230] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/esp32/esp_efuse_table.c.obj [build] [134/795 16% :: 70.309] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot_signatures.c.obj [build] [135/795 16% :: 71.331] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_api.c.obj [build] [136/795 16% :: 71.686] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_fields.c.obj [build] [137/795 16% :: 71.733] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_utility.c.obj [build] [138/795 16% :: 71.838] Linking C static library esp-idf\bootloader_support\libbootloader_support.a [build] [139/795 17% :: 72.410] Building C object esp-idf/xtensa-debug-module/CMakeFiles/idf_component_xtensa-debug-module.dir/eri.c.obj [build] [140/795 17% :: 72.809] Building C object esp-idf/xtensa-debug-module/CMakeFiles/idf_component_xtensa-debug-module.dir/trax.c.obj [build] [141/795 17% :: 72.840] Generating idf_component_bootloader_support.sections_info [build] [142/795 17% :: 72.971] Linking C static library esp-idf\efuse\libefuse.a [build] [143/795 17% :: 73.527] Generating idf_component_efuse.sections_info [build] [144/795 17% :: 73.655] Building C object esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/app_trace_util.c.obj [build] [145/795 17% :: 73.730] Building C object esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/app_trace.c.obj [build] [146/795 17% :: 74.011] Linking C static library esp-idf\xtensa-debug-module\libxtensa-debug-module.a [build] [147/795 18% :: 74.844] Generating idf_component_xtensa-debug-module.sections_info [build] [148/795 18% :: 75.159] Building C object esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/host_file_io.c.obj [build] [149/795 18% :: 75.294] Building C object esp-idf/ethernet/CMakeFiles/idf_component_ethernet.dir/port.c.obj [build] [150/795 18% :: 75.302] Building C object esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/gcov/gcov_rtio.c.obj [build] [151/795 18% :: 76.311] Linking C static library esp-idf\ethernet\libethernet.a [build] [152/795 18% :: 76.418] Linking C static library esp-idf\app_trace\libapp_trace.a [build] [153/795 18% :: 76.571] Generating idf_component_ethernet.sections_info [build] [154/795 18% :: 76.797] Generating idf_component_app_trace.sections_info [build] [155/795 19% :: 80.849] Building CXX object esp-idf/nvs_flash/CMakeFiles/idf_component_nvs_flash.dir/src/nvs_ops.cpp.obj [build] [156/795 19% :: 81.878] Building CXX object esp-idf/nvs_flash/CMakeFiles/idf_component_nvs_flash.dir/src/nvs_item_hash_list.cpp.obj [build] [157/795 19% :: 82.168] Building CXX object esp-idf/nvs_flash/CMakeFiles/idf_component_nvs_flash.dir/src/nvs_encr.cpp.obj [build] [158/795 19% :: 83.732] Building CXX object esp-idf/nvs_flash/CMakeFiles/idf_component_nvs_flash.dir/src/nvs_api.cpp.obj [build] [159/795 19% :: 85.658] Building CXX object esp-idf/nvs_flash/CMakeFiles/idf_component_nvs_flash.dir/src/nvs_pagemanager.cpp.obj [build] [160/795 19% :: 86.660] Building CXX object esp-idf/nvs_flash/CMakeFiles/idf_component_nvs_flash.dir/src/nvs_page.cpp.obj [build] [161/795 19% :: 88.319] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_ARP.c.obj [build] [162/795 20% :: 88.403] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_DHCP.c.obj [build] [163/795 20% :: 88.671] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_IP.c.obj [build] [164/795 20% :: 88.763] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_DNS.c.obj [build] [165/795 20% :: 90.426] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_Stream_Buffer.c.obj [build] [166/795 20% :: 91.308] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_TCP_WIN.c.obj [build] [167/795 20% :: 91.359] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_Sockets.c.obj [build] [168/795 20% :: 91.764] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_UDP_IP.c.obj [build] [169/795 20% :: 92.101] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/FreeRTOS_TCP_IP.c.obj [build] [170/795 21% :: 92.702] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/portable/BufferManagement/BufferAllocation_2.c.obj [build] [171/795 21% :: 93.644] Building C object CMakeFiles/afr_freertos_plus_tcp.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/portable/NetworkInterface/esp32/NetworkInterface.c.obj [build] [172/795 21% :: 94.549] Building C object CMakeFiles/afr_crypto.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [173/795 21% :: 94.596] Building C object CMakeFiles/afr_crypto.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [174/795 21% :: 94.717] Building C object CMakeFiles/afr_crypto.dir/libraries/freertos_plus/standard/crypto/src/iot_crypto.c.obj [build] [175/795 21% :: 94.731] Building C object CMakeFiles/afr_crypto.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [176/795 21% :: 95.313] Building C object CMakeFiles/afr_crypto.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [177/795 21% :: 95.660] Building C object CMakeFiles/afr_crypto.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [178/795 22% :: 95.681] Building C object CMakeFiles/afr_crypto.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [179/795 22% :: 96.781] Building C object CMakeFiles/afr_crypto.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [180/795 22% :: 97.095] Building C object CMakeFiles/afr_ota.dir/libraries/3rdparty/mbedtls/library/base64.c.obj [build] [181/795 22% :: 97.338] Building C object CMakeFiles/afr_ota.dir/libraries/freertos_plus/aws/ota/src/aws_iot_ota_interface.c.obj [build] [182/795 22% :: 98.609] Building C object CMakeFiles/afr_ota.dir/libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c.obj [build] In file included from ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c:40:0: [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c: In function 'prvSetImageStateWithReason': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c:517:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvSetImageStateWithReason" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c: In function 'prvStartHandler': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c:721:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvStartHandler" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c: In function 'prvRequestJobHandler': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c:768:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvRequestJobHandler" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c: In function 'prvCloseFileHandler': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c:1077:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvCloseFileHandler" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c: In function 'prvAgentShutdownCleanup': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c:2280:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvAgentShutdownCleanup" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c: In function 'OTA_AgentInit': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/aws_iot_ota_agent.c:2463:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "OTA_AgentInit" ); [build] ^ [build] [183/795 22% :: 98.944] Building C object CMakeFiles/afr_ota.dir/libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_cbor.c.obj [build] [184/795 22% :: 99.895] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/ports/ota/aws_esp_ota_ops.c.obj [build] [185/795 22% :: 100.024] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/ports/ota/aws_ota_pal.c.obj [build] [186/795 23% :: 101.464] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [187/795 23% :: 101.554] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [188/795 23% :: 101.692] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [189/795 23% :: 101.741] Building C object CMakeFiles/afr_ota.dir/libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c.obj [build] In file included from ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c:38:0: [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c: In function 'prvSendCallbackEvent': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c:370:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvSendCallbackEvent" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c: In function 'prvJobPublishCallback': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c:421:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvJobPublishCallback" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c: In function 'prvDataPublishCallback': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c:437:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvDataPublishCallback" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c: In function 'prvDecodeFileBlock_Mqtt': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c:850:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvDecodeFileBlock_Mqtt" ); [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c: In function 'prvCleanup_Mqtt': [build] ../../../libraries/freertos_plus/aws/ota/include/aws_iot_ota_agent.h:56:65: warning: unused variable 'OTA_METHOD_NAME' [-Wunused-variable] [build] #define DEFINE_OTA_METHOD_NAME( name ) static const char OTA_METHOD_NAME[] = name; [build] ^ [build] ../../../libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c:886:5: note: in expansion of macro 'DEFINE_OTA_METHOD_NAME' [build] DEFINE_OTA_METHOD_NAME( "prvCleanup_Mqtt" ); [build] ^ [build] [190/795 23% :: 102.789] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [191/795 23% :: 102.875] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [192/795 23% :: 103.422] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [193/795 23% :: 103.550] Building C object CMakeFiles/afr_ota.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [194/795 24% :: 105.353] Building C object CMakeFiles/afr_kernel.dir/freertos_kernel/event_groups.c.obj [build] [195/795 24% :: 105.431] Building C object CMakeFiles/afr_ota.dir/libraries/freertos_plus/aws/ota/src/http/aws_iot_ota_http.c.obj [build] [196/795 24% :: 105.464] Building C object CMakeFiles/afr_ota.dir/libraries/3rdparty/jsmn/jsmn.c.obj [build] [197/795 24% :: 105.621] Building C object CMakeFiles/afr_kernel.dir/freertos_kernel/list.c.obj [build] [198/795 24% :: 106.722] Building C object CMakeFiles/afr_kernel.dir/freertos_kernel/stream_buffer.c.obj [build] [199/795 24% :: 107.154] Building C object CMakeFiles/afr_kernel.dir/freertos_kernel/timers.c.obj [build] [200/795 24% :: 108.338] Building C object CMakeFiles/afr_kernel.dir/freertos_kernel/tasks.c.obj [build] [201/795 24% :: 108.552] Building C object CMakeFiles/afr_common.dir/libraries/c_sdk/standard/common/iot_init.c.obj [build] In file included from ../../../libraries/c_sdk/standard/common/include/iot_atomic.h:37:0, [build] from ../../../libraries/c_sdk/standard/common/iot_init.c:41: [build] ../../../freertos_kernel/include/atomic.h:107:34: warning: 'Atomic_CompareAndSwap_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_CompareAndSwap_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:143:32: warning: 'Atomic_SwapPointers_p32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE void * Atomic_SwapPointers_p32( void * volatile * ppvDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:175:34: warning: 'Atomic_CompareAndSwapPointers_p32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_CompareAndSwapPointers_p32( void * volatile * ppvDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:208:34: warning: 'Atomic_Add_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Add_u32( uint32_t volatile * pulAddend, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:236:34: warning: 'Atomic_Subtract_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Subtract_u32( uint32_t volatile * pulAddend, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:262:34: warning: 'Atomic_Increment_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Increment_u32( uint32_t volatile * pulAddend ) [build] ^ [build] ../../../freertos_kernel/include/atomic.h:287:34: warning: 'Atomic_Decrement_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Decrement_u32( uint32_t volatile * pulAddend ) [build] ^ [build] ../../../freertos_kernel/include/atomic.h:314:34: warning: 'Atomic_OR_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_OR_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:341:34: warning: 'Atomic_AND_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_AND_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:368:34: warning: 'Atomic_NAND_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_NAND_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:395:34: warning: 'Atomic_XOR_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_XOR_u32( uint32_t volatile * pulDestination, [build] ^ [build] [202/795 25% :: 108.605] Building C object CMakeFiles/afr_kernel.dir/freertos_kernel/queue.c.obj [build] [203/795 25% :: 108.823] Building C object CMakeFiles/afr_common.dir/libraries/c_sdk/standard/common/logging/iot_logging_task_dynamic_buffers.c.obj [build] [204/795 25% :: 109.994] Building C object CMakeFiles/afr_common.dir/libraries/c_sdk/standard/common/logging/iot_logging.c.obj [build] [205/795 25% :: 110.236] Building C object CMakeFiles/afr_common.dir/libraries/c_sdk/standard/common/iot_device_metrics.c.obj [build] In file included from ../../../libraries/c_sdk/standard/common/include/iot_atomic.h:37:0, [build] from ../../../libraries/c_sdk/standard/common/iot_device_metrics.c:40: [build] ../../../freertos_kernel/include/atomic.h:143:32: warning: 'Atomic_SwapPointers_p32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE void * Atomic_SwapPointers_p32( void * volatile * ppvDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:175:34: warning: 'Atomic_CompareAndSwapPointers_p32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_CompareAndSwapPointers_p32( void * volatile * ppvDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:208:34: warning: 'Atomic_Add_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Add_u32( uint32_t volatile * pulAddend, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:236:34: warning: 'Atomic_Subtract_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Subtract_u32( uint32_t volatile * pulAddend, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:262:34: warning: 'Atomic_Increment_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Increment_u32( uint32_t volatile * pulAddend ) [build] ^ [build] ../../../freertos_kernel/include/atomic.h:287:34: warning: 'Atomic_Decrement_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Decrement_u32( uint32_t volatile * pulAddend ) [build] ^ [build] ../../../freertos_kernel/include/atomic.h:314:34: warning: 'Atomic_OR_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_OR_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:341:34: warning: 'Atomic_AND_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_AND_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:368:34: warning: 'Atomic_NAND_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_NAND_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:395:34: warning: 'Atomic_XOR_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_XOR_u32( uint32_t volatile * pulDestination, [build] ^ [build] [206/795 25% :: 110.318] Building C object CMakeFiles/afr_common.dir/libraries/c_sdk/standard/common/iot_static_memory_common.c.obj [build] [207/795 25% :: 110.418] Linking C static library afr_kernel.a [build] [208/795 25% :: 112.225] Building C object CMakeFiles/afr_common.dir/libraries/c_sdk/standard/common/taskpool/iot_taskpool.c.obj [build] [209/795 25% :: 112.323] Linking C static library afr_freertos_plus_tcp.a [build] [210/795 26% :: 112.340] Building C object CMakeFiles/afr_common.dir/libraries/c_sdk/standard/common/taskpool/iot_taskpool_static_memory.c.obj [build] [211/795 26% :: 115.281] Building C object CMakeFiles/afr_https.dir/libraries/c_sdk/standard/https/src/iot_https_utils.c.obj [build] In file included from ../../../libraries/c_sdk/standard/https/src/iot_https_utils.c:37:0: [build] ../../../libraries/c_sdk/standard/https/src/private/iot_https_internal.h:490:21: warning: '_pHttpsMethodStrings' defined but not used [-Wunused-variable] [build] static const char * _pHttpsMethodStrings[] = { [build] ^ [build] [212/795 26% :: 117.214] Building C object CMakeFiles/afr_https.dir/libraries/3rdparty/http_parser/http_parser.c.obj [build] [213/795 26% :: 117.349] Building C object CMakeFiles/afr_https.dir/libraries/c_sdk/standard/https/src/iot_https_client.c.obj [build] [214/795 26% :: 117.521] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/demos/dev_mode_key_provisioning/src/aws_dev_mode_key_provisioning.c.obj [build] [215/795 26% :: 118.549] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [216/795 26% :: 118.845] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/libraries/freertos_plus/standard/utils/src/iot_system_init.c.obj [build] [217/795 26% :: 118.880] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/libraries/freertos_plus/standard/utils/src/iot_pki_utils.c.obj [build] [218/795 27% :: 119.930] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [219/795 27% :: 120.013] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [220/795 27% :: 120.189] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [221/795 27% :: 120.310] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [222/795 27% :: 120.476] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [223/795 27% :: 121.422] Building C object CMakeFiles/afr_dev_mode_key_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [224/795 27% :: 121.786] Building C object CMakeFiles/afr_platform.dir/libraries/abstractions/platform/freertos/iot_clock_freertos.c.obj [build] [225/795 27% :: 122.589] Building C object CMakeFiles/afr_platform.dir/libraries/abstractions/platform/freertos/iot_threads_freertos.c.obj [build] [226/795 28% :: 122.773] Building C object CMakeFiles/afr_platform.dir/libraries/abstractions/platform/freertos/iot_metrics.c.obj [build] [227/795 28% :: 124.229] Building C object CMakeFiles/afr_platform.dir/libraries/abstractions/platform/freertos/iot_network_freertos.c.obj [build] [228/795 28% :: 124.964] Building C object CMakeFiles/afr_secure_sockets.dir/libraries/abstractions/secure_sockets/freertos_plus_tcp/iot_secure_sockets.c.obj [build] [229/795 28% :: 125.090] Building C object CMakeFiles/afr_secure_sockets.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/portable/NetworkInterface/esp32/NetworkInterface.c.obj [build] [230/795 28% :: 126.534] Building C object CMakeFiles/afr_secure_sockets.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/portable/BufferManagement/BufferAllocation_2.c.obj [build] [231/795 28% :: 128.005] Building C object CMakeFiles/afr_serializer.dir/libraries/c_sdk/standard/serializer/src/cbor/iot_serializer_tinycbor_encoder.c.obj [build] [232/795 28% :: 128.105] Building C object CMakeFiles/afr_serializer.dir/libraries/c_sdk/standard/serializer/src/cbor/iot_serializer_tinycbor_decoder.c.obj [build] [233/795 28% :: 128.383] Building C object CMakeFiles/afr_serializer.dir/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_decoder.c.obj [build] [234/795 29% :: 128.483] Building C object CMakeFiles/afr_serializer.dir/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_encoder.c.obj [build] [235/795 29% :: 129.554] Building C object CMakeFiles/afr_serializer.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [236/795 29% :: 129.707] Building C object CMakeFiles/afr_serializer.dir/libraries/c_sdk/standard/serializer/src/iot_serializer_static_memory.c.obj [build] [237/795 29% :: 132.652] Building C object CMakeFiles/afr_serializer.dir/libraries/c_sdk/standard/serializer/src/iot_json_utils.c.obj [build] [238/795 29% :: 134.310] Building C object CMakeFiles/afr_serializer.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [239/795 29% :: 134.457] Building C object CMakeFiles/afr_serializer.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [240/795 29% :: 134.511] Building C object CMakeFiles/afr_serializer.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [241/795 29% :: 136.438] Building C object CMakeFiles/afr_serializer.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [242/795 30% :: 136.681] Building C object CMakeFiles/afr_serializer.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [243/795 30% :: 136.767] Building C object CMakeFiles/afr_serializer.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [244/795 30% :: 137.789] Building C object CMakeFiles/afr_ble.dir/libraries/c_sdk/standard/ble/src/iot_ble_gap.c.obj [build] [245/795 30% :: 139.010] Building C object CMakeFiles/afr_ble.dir/libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c.obj [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c: In function '_ControlCharCallback': [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c:523:13: warning: unused variable 'value' [-Wunused-variable] [build] uint8_t value; [build] ^ [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c: In function '_clientCharCfgDescrCallback': [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c:784:14: warning: unused variable 'CCFGValue' [-Wunused-variable] [build] uint16_t CCFGValue; [build] ^ [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c: In function '_connectionCallback': [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c:831:35: warning: unused variable 'pService' [-Wunused-variable] [build] IotBleDataTransferService_t * pService; [build] ^ [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c: In function 'IotBleDataTransfer_Init': [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c:950:35: warning: unused variable 'pService' [-Wunused-variable] [build] IotBleDataTransferService_t * pService = NULL; [build] ^ [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c:949:17: warning: unused variable 'callbacksRegistered' [-Wunused-variable] [build] static bool callbacksRegistered = false; [build] ^ [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c: In function 'IotBleDataTransfer_Send': [build] ../../../libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c:1116:15: warning: unused variable 'pData' [-Wunused-variable] [build] uint8_t * pData; [build] ^ [build] [246/795 30% :: 139.111] Building C object CMakeFiles/afr_ble.dir/libraries/c_sdk/standard/ble/src/services/device_information/iot_ble_device_information.c.obj [build] ../../../libraries/c_sdk/standard/ble/src/services/device_information/iot_ble_device_information.c: In function '_deviceInfoMTUCharCallback': [build] ../../../libraries/c_sdk/standard/ble/src/services/device_information/iot_ble_device_information.c:386:27: warning: unused variable 'resp' [-Wunused-variable] [build] IotBleEventResponse_t resp; [build] ^ [build] ../../../libraries/c_sdk/standard/ble/src/services/device_information/iot_ble_device_information.c:385:27: warning: unused variable 'attrData' [-Wunused-variable] [build] IotBleAttributeData_t attrData = { 0 }; [build] ^ [build] [247/795 30% :: 139.273] Building C object CMakeFiles/afr_ble.dir/libraries/c_sdk/standard/ble/src/iot_ble_gatt.c.obj [build] [248/795 30% :: 141.241] Building C object CMakeFiles/afr_ble.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [249/795 30% :: 141.633] Building C object CMakeFiles/afr_ble.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [250/795 31% :: 141.709] Building C object CMakeFiles/afr_ble.dir/libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_network_ble.c.obj [build] [251/795 31% :: 141.956] Building C object CMakeFiles/afr_ble.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [252/795 31% :: 143.178] Building C object CMakeFiles/afr_ble.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [253/795 31% :: 143.935] Building C object CMakeFiles/afr_ble.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [254/795 31% :: 145.019] Building C object CMakeFiles/afr_ble.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [255/795 31% :: 149.726] Building C object CMakeFiles/afr_tls.dir/libraries/freertos_plus/standard/utils/src/iot_system_init.c.obj [build] [256/795 31% :: 149.879] Building C object CMakeFiles/afr_ble.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [257/795 31% :: 150.318] Building C object CMakeFiles/afr_tls.dir/libraries/freertos_plus/standard/utils/src/iot_pki_utils.c.obj [build] [258/795 32% :: 151.248] Building C object CMakeFiles/afr_tls.dir/libraries/freertos_plus/standard/tls/src/iot_tls.c.obj [build] [259/795 32% :: 152.114] Building C object CMakeFiles/afr_tls.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [260/795 32% :: 152.797] Building C object CMakeFiles/afr_tls.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [261/795 32% :: 152.821] Building C object CMakeFiles/afr_tls.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [262/795 32% :: 153.115] Building C object CMakeFiles/afr_tls.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [263/795 32% :: 153.802] Building C object CMakeFiles/afr_tls.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [264/795 32% :: 154.185] Building C object CMakeFiles/afr_tls.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [265/795 32% :: 155.132] Building C object CMakeFiles/afr_tls.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [266/795 33% :: 155.751] Building C object CMakeFiles/afr_pkcs11.dir/libraries/freertos_plus/standard/pkcs11/src/iot_pkcs11.c.obj [build] [267/795 33% :: 156.116] Building C object CMakeFiles/afr_pkcs11_implementation.dir/vendors/espressif/boards/esp32/ports/pkcs11/iot_pkcs11_pal.c.obj [build] [268/795 33% :: 158.827] Building C object CMakeFiles/afr_pkcs11_implementation.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [269/795 33% :: 159.017] Building C object CMakeFiles/afr_pkcs11_implementation.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [270/795 33% :: 159.478] Building C object CMakeFiles/afr_pkcs11_implementation.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [271/795 33% :: 159.649] Building C object CMakeFiles/afr_pkcs11_implementation.dir/libraries/abstractions/pkcs11/mbedtls/iot_pkcs11_mbedtls.c.obj [build] [272/795 33% :: 160.032] Building C object CMakeFiles/afr_pkcs11_implementation.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [273/795 33% :: 160.429] Building C object CMakeFiles/afr_pkcs11_implementation.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [274/795 34% :: 161.759] Building C object CMakeFiles/afr_pkcs11_implementation.dir/libraries/freertos_plus/standard/utils/src/iot_system_init.c.obj [build] [275/795 34% :: 161.989] Building C object CMakeFiles/afr_pkcs11_implementation.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [276/795 34% :: 162.623] Building C object CMakeFiles/afr_pkcs11_implementation.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [277/795 34% :: 162.777] Building C object CMakeFiles/afr_pkcs11_implementation.dir/libraries/freertos_plus/standard/utils/src/iot_pki_utils.c.obj [build] [278/795 34% :: 163.645] Building C object CMakeFiles/afr_ble_wifi_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [279/795 34% :: 164.257] Building C object CMakeFiles/afr_ble_wifi_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [280/795 34% :: 164.981] Building C object CMakeFiles/afr_ble_wifi_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [281/795 34% :: 165.044] Building C object CMakeFiles/afr_ble_wifi_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [282/795 35% :: 166.072] Building C object CMakeFiles/afr_ble_wifi_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [283/795 35% :: 166.557] Building C object CMakeFiles/afr_ble_wifi_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [284/795 35% :: 167.025] Building C object CMakeFiles/afr_ble_wifi_provisioning.dir/libraries/c_sdk/standard/ble/src/services/wifi_provisioning/iot_ble_wifi_provisioning.c.obj [build] [285/795 35% :: 167.280] Building C object CMakeFiles/afr_ble_wifi_provisioning.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [286/795 35% :: 170.333] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/ports/ble/iot_ble_hal_gatt_server.c.obj [build] [287/795 35% :: 170.478] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/ports/ble/iot_ble_hal_common_gap.c.obj [build] [288/795 35% :: 171.004] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [289/795 35% :: 171.354] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [290/795 36% :: 171.457] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/ports/ble/iot_ble_hal_gap.c.obj [build] [291/795 36% :: 172.372] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [292/795 36% :: 173.734] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [293/795 36% :: 173.942] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [294/795 36% :: 174.615] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [295/795 36% :: 176.138] Building C object CMakeFiles/afr_ble_hal.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [296/795 36% :: 177.296] Building C object CMakeFiles/afr_wifi.dir/vendors/espressif/boards/esp32/ports/wifi/iot_wifi.c.obj [build] [297/795 36% :: 177.819] Building C object CMakeFiles/afr_wifi.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/portable/BufferManagement/BufferAllocation_2.c.obj [build] [298/795 37% :: 179.705] Building C object CMakeFiles/afr_wifi.dir/libraries/freertos_plus/standard/freertos_plus_tcp/source/portable/NetworkInterface/esp32/NetworkInterface.c.obj [build] [299/795 37% :: 181.398] Building C object CMakeFiles/afr_shadow.dir/libraries/c_sdk/aws/shadow/src/aws_iot_shadow_parser.c.obj [build] [300/795 37% :: 182.837] Building C object CMakeFiles/afr_shadow.dir/libraries/c_sdk/aws/shadow/src/aws_iot_shadow_operation.c.obj [build] [301/795 37% :: 183.272] Building C object CMakeFiles/afr_shadow.dir/libraries/c_sdk/aws/shadow/src/aws_iot_shadow_api.c.obj [build] [302/795 37% :: 183.752] Building C object CMakeFiles/afr_shadow.dir/libraries/c_sdk/aws/shadow/src/aws_iot_shadow_static_memory.c.obj [build] [303/795 37% :: 185.288] Building C object CMakeFiles/afr_shadow.dir/libraries/c_sdk/aws/shadow/src/aws_shadow.c.obj [build] [304/795 37% :: 185.667] Building C object CMakeFiles/afr_shadow.dir/libraries/c_sdk/aws/shadow/src/aws_iot_shadow_subscription.c.obj [build] [305/795 37% :: 185.918] Building C object CMakeFiles/afr_shadow.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [306/795 38% :: 186.340] Linking C static library afr_wifi.a [build] [307/795 38% :: 186.780] Building C object CMakeFiles/afr_shadow.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [308/795 38% :: 186.804] Building C object CMakeFiles/afr_shadow.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [309/795 38% :: 187.403] Building C object CMakeFiles/afr_shadow.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [310/795 38% :: 187.889] Building C object CMakeFiles/afr_shadow.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [311/795 38% :: 188.397] Building C object CMakeFiles/afr_shadow.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [312/795 38% :: 188.794] Building C object CMakeFiles/afr_shadow.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [313/795 38% :: 190.770] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_mqtt_api.c.obj [build] [314/795 39% :: 190.904] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_mqtt_network.c.obj [build] [315/795 39% :: 191.489] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_mqtt_serialize.c.obj [build] In file included from ../../../libraries/c_sdk/standard/common/include/iot_atomic.h:37:0, [build] from ../../../libraries/c_sdk/standard/mqtt/src/iot_mqtt_serialize.c:47: [build] ../../../freertos_kernel/include/atomic.h:107:34: warning: 'Atomic_CompareAndSwap_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_CompareAndSwap_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:143:32: warning: 'Atomic_SwapPointers_p32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE void * Atomic_SwapPointers_p32( void * volatile * ppvDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:175:34: warning: 'Atomic_CompareAndSwapPointers_p32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_CompareAndSwapPointers_p32( void * volatile * ppvDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:236:34: warning: 'Atomic_Subtract_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Subtract_u32( uint32_t volatile * pulAddend, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:262:34: warning: 'Atomic_Increment_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Increment_u32( uint32_t volatile * pulAddend ) [build] ^ [build] ../../../freertos_kernel/include/atomic.h:287:34: warning: 'Atomic_Decrement_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_Decrement_u32( uint32_t volatile * pulAddend ) [build] ^ [build] ../../../freertos_kernel/include/atomic.h:314:34: warning: 'Atomic_OR_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_OR_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:341:34: warning: 'Atomic_AND_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_AND_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:368:34: warning: 'Atomic_NAND_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_NAND_u32( uint32_t volatile * pulDestination, [build] ^ [build] ../../../freertos_kernel/include/atomic.h:395:34: warning: 'Atomic_XOR_u32' defined but not used [-Wunused-function] [build] static portFORCE_INLINE uint32_t Atomic_XOR_u32( uint32_t volatile * pulDestination, [build] ^ [build] [316/795 39% :: 192.960] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_mqtt_static_memory.c.obj [build] [317/795 39% :: 193.426] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_mqtt_operation.c.obj [build] [318/795 39% :: 193.911] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_mqtt_validate.c.obj [build] [319/795 39% :: 194.718] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_mqtt_subscription.c.obj [build] [320/795 39% :: 196.557] Building C object CMakeFiles/afr_mqtt.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [321/795 40% :: 196.682] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_ble_mqtt_serialize.c.obj [build] [322/795 40% :: 196.694] Building C object CMakeFiles/afr_mqtt.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [323/795 40% :: 196.714] Building C object CMakeFiles/afr_mqtt.dir/libraries/c_sdk/standard/mqtt/src/iot_mqtt_agent.c.obj [build] [324/795 40% :: 197.626] Building C object CMakeFiles/afr_mqtt.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [325/795 40% :: 197.693] Building C object CMakeFiles/afr_mqtt.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [326/795 40% :: 197.804] Building C object CMakeFiles/afr_mqtt.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [327/795 40% :: 197.819] Building C object CMakeFiles/afr_mqtt.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [328/795 40% :: 199.016] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/aesni.c.obj [build] [329/795 41% :: 199.103] Building C object CMakeFiles/afr_mqtt.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [330/795 41% :: 199.293] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/aes.c.obj [build] [331/795 41% :: 200.075] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/arc4.c.obj [build] [332/795 41% :: 200.531] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/asn1parse.c.obj [build] [333/795 41% :: 200.883] Creating directories for 'bootloader' [build] [334/795 41% :: 201.109] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/asn1write.c.obj [build] [335/795 41% :: 202.391] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/base64.c.obj [build] [336/795 41% :: 202.505] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/blowfish.c.obj [build] [337/795 42% :: 202.656] No download step for 'bootloader' [build] [338/795 42% :: 203.282] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/bignum.c.obj [build] [339/795 42% :: 203.801] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/camellia.c.obj [build] [340/795 42% :: 203.931] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ccm.c.obj [build] [341/795 42% :: 204.025] No update step for 'bootloader' [build] [342/795 42% :: 204.724] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/certs.c.obj [build] [343/795 42% :: 205.472] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/cipher.c.obj [build] [344/795 42% :: 205.906] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/cipher_wrap.c.obj [build] [345/795 43% :: 206.227] No patch step for 'bootloader' [build] [346/795 43% :: 207.994] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/cmac.c.obj [build] [347/795 43% :: 208.497] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/debug.c.obj [build] [348/795 43% :: 210.768] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/des.c.obj [build] [349/795 43% :: 211.703] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ctr_drbg.c.obj [build] [350/795 43% :: 211.814] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/dhm.c.obj [build] [351/795 43% :: 214.042] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ecjpake.c.obj [build] [352/795 43% :: 214.132] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ecdh.c.obj [build] [353/795 44% :: 214.584] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ecdsa.c.obj [build] [354/795 44% :: 216.374] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ecp_curves.c.obj [build] [355/795 44% :: 219.013] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/entropy.c.obj [build] [356/795 44% :: 219.340] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/entropy_poll.c.obj [build] [357/795 44% :: 223.443] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/gcm.c.obj [build] [358/795 44% :: 224.367] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ecp.c.obj [build] [359/795 44% :: 225.894] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/havege.c.obj [build] [360/795 44% :: 226.308] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/error.c.obj [build] [361/795 45% :: 227.500] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/hmac_drbg.c.obj [build] [362/795 45% :: 228.105] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/md.c.obj [build] [363/795 45% :: 229.177] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/md2.c.obj [build] [364/795 45% :: 230.101] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/md4.c.obj [build] [365/795 45% :: 232.589] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/memory_buffer_alloc.c.obj [build] [366/795 45% :: 233.650] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/md_wrap.c.obj [build] [367/795 45% :: 233.769] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/md5.c.obj [build] [368/795 45% :: 237.252] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/net_sockets.c.obj [build] [369/795 46% :: 237.571] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/padlock.c.obj [build] [370/795 46% :: 237.975] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/oid.c.obj [build] [371/795 46% :: 240.077] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/pem.c.obj [build] [372/795 46% :: 242.593] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/pk_wrap.c.obj [build] [373/795 46% :: 242.646] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/pkcs12.c.obj [build] [374/795 46% :: 243.095] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/pk.c.obj [build] [375/795 46% :: 245.766] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/pkparse.c.obj [build] [376/795 46% :: 247.193] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/pkcs5.c.obj [build] [377/795 47% :: 247.879] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/pkwrite.c.obj [build] [378/795 47% :: 247.982] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/platform.c.obj [build] [379/795 47% :: 249.901] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/platform_util.c.obj [build] [380/795 47% :: 250.236] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ripemd160.c.obj [build] [381/795 47% :: 251.792] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/rsa.c.obj [build] [382/795 47% :: 255.009] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/sha256.c.obj [build] [383/795 47% :: 255.460] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/rsa_internal.c.obj [build] [384/795 47% :: 255.689] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/sha1.c.obj [build] [385/795 48% :: 256.309] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/sha512.c.obj [build] [386/795 48% :: 259.724] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ssl_cache.c.obj [build] [387/795 48% :: 260.149] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ssl_ciphersuites.c.obj [build] [388/795 48% :: 262.769] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ssl_cli.c.obj [build] [389/795 48% :: 263.000] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ssl_srv.c.obj [build] [390/795 48% :: 263.079] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ssl_cookie.c.obj [build] [391/795 48% :: 266.228] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/threading.c.obj [build] [392/795 48% :: 266.254] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ssl_ticket.c.obj [build] [393/795 49% :: 268.756] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/timing.c.obj [build] [394/795 49% :: 269.066] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/version.c.obj [build] [395/795 49% :: 270.243] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/ssl_tls.c.obj [build] [396/795 49% :: 270.825] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/version_features.c.obj [build] [397/795 49% :: 276.637] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/x509_create.c.obj [build] [398/795 49% :: 276.950] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/x509.c.obj [build] [399/795 49% :: 277.694] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/x509_crl.c.obj [build] [400/795 49% :: 280.466] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/x509_csr.c.obj [build] [401/795 50% :: 283.697] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/x509write_crt.c.obj [build] [402/795 50% :: 285.008] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/x509write_csr.c.obj [build] [403/795 50% :: 285.292] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/xtea.c.obj [build] [404/795 50% :: 285.646] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/library/x509_crt.c.obj [build] [405/795 50% :: 286.357] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/mbedtls/utils/mbedtls_utils.c.obj [build] [406/795 50% :: 287.931] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/__/__/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [407/795 50% :: 288.240] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/__/__/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [408/795 50% :: 288.403] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/__/__/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [409/795 51% :: 290.023] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/__/__/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [410/795 51% :: 290.284] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/__/__/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [411/795 51% :: 290.535] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/__/__/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [412/795 51% :: 292.594] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_mbedtls.dir/__/__/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [413/795 51% :: 293.106] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_tinycbor.dir/tinycbor/cborerrorstrings.c.obj [build] [414/795 51% :: 293.771] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_tinycbor.dir/tinycbor/cborparser.c.obj [build] [415/795 51% :: 293.972] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_tinycbor.dir/tinycbor/cborencoder_close_container_checked.c.obj [build] [416/795 51% :: 295.147] Linking C static library libraries\3rdparty\libafr_3rdparty_mbedtls.a [build] [417/795 52% :: 295.576] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_tinycbor.dir/tinycbor/cborencoder.c.obj [build] [418/795 52% :: 295.670] Building C object libraries/3rdparty/CMakeFiles/afr_3rdparty_tinycbor.dir/tinycbor/cborpretty.c.obj [build] [419/795 52% :: 297.030] Linking C static library afr_crypto.a [build] [420/795 52% :: 297.226] Linking C static library libraries\3rdparty\libafr_3rdparty_tinycbor.a [build] [421/795 52% :: 298.604] Linking C static library afr_pkcs11_implementation.a [build] [422/795 52% :: 300.117] Linking C static library afr_pkcs11.a [build] [423/795 52% :: 301.845] Building CXX object esp-idf/nvs_flash/CMakeFiles/idf_component_nvs_flash.dir/src/nvs_storage.cpp.obj [build] [424/795 52% :: 302.091] Linking C static library afr_tls.a [build] [425/795 53% :: 303.990] Building C object esp-idf/pthread/CMakeFiles/idf_component_pthread.dir/pthread.c.obj [build] [426/795 53% :: 305.082] Building CXX object esp-idf/nvs_flash/CMakeFiles/idf_component_nvs_flash.dir/src/nvs_types.cpp.obj [build] [427/795 53% :: 306.754] Linking C static library afr_secure_sockets.a [build] [428/795 53% :: 308.744] Building C object esp-idf/pthread/CMakeFiles/idf_component_pthread.dir/pthread_cond_var.c.obj [build] [429/795 53% :: 309.327] Linking CXX static library esp-idf\nvs_flash\libnvs_flash.a [build] [430/795 53% :: 309.648] Linking C static library afr_dev_mode_key_provisioning.a [build] [431/795 53% :: 309.926] Generating idf_component_nvs_flash.sections_info [build] [432/795 53% :: 309.983] Performing configure step for 'bootloader' [build] -- Found Git: C:/git/cmd/git.exe (found version "2.31.0.windows.1") [build] -- IDF_TARGET not set, using default target: esp32 [build] -- Building for target esp32 [build] -- The C compiler identification is GNU 5.2.0 [build] -- The CXX compiler identification is GNU 5.2.0 [build] -- The ASM compiler identification is GNU [build] -- Found assembler: C:/Espressif/ESP-IDF-Tools/tools/bin/xtensa-esp32-elf-gcc.exe [build] -- Detecting C compiler ABI info [build] -- Detecting C compiler ABI info - done [build] -- Check for working C compiler: C:/Espressif/ESP-IDF-Tools/tools/bin/xtensa-esp32-elf-gcc.exe - skipped [build] -- Detecting C compile features [build] -- Detecting C compile features - done [build] -- Detecting CXX compiler ABI info [build] -- Detecting CXX compiler ABI info - done [build] -- Check for working CXX compiler: C:/Espressif/ESP-IDF-Tools/tools/bin/xtensa-esp32-elf-g++.exe - skipped [build] -- Detecting CXX compile features [build] -- Detecting CXX compile features - done [build] -- Component names: soc esp32 log bootloader spi_flash micro-ecc efuse bootloader_support main esptool_py partition_table [build] -- Component paths: C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/soc;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/log;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/bootloader;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/spi_flash;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/micro-ecc;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/efuse;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/bootloader_support;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/bootloader/subproject/main;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esptool_py;C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/partition_table [build] -- IDF_VER: v3.3-163-g601a03e [build] -- Component libraries: [build] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/bootloader/subproject/main/esp32.bootloader.ld [build] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/bootloader/subproject/main/esp32.bootloader.rom.ld [build] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.ld [build] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld [build] -- Adding linker script C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/vendors/espressif/esp-idf/components/esp32/ld/esp32.peripherals.ld [build] -- Configuring done [build] -- Generating done [build] -- Build files have been written to: C:/Users/Yoimer/Documents/development/poc/esp32-aws-freertos/FreeRTOS/demos/mqtt/build/bootloader [build] [433/795 54% :: 310.737] Linking C static library afr_platform.a [build] [434/795 54% :: 311.895] Building C object esp-idf/pthread/CMakeFiles/idf_component_pthread.dir/pthread_local_storage.c.obj [build] [435/795 54% :: 312.553] Linking C static library afr_common.a [build] [436/795 54% :: 312.768] Building C object esp-idf/smartconfig_ack/CMakeFiles/idf_component_smartconfig_ack.dir/smartconfig_ack.c.obj [build] [437/795 54% :: 313.330] Linking C static library esp-idf\pthread\libpthread.a [build] [438/795 54% :: 314.139] Generating idf_component_pthread.sections_info [build] [439/795 54% :: 314.199] Linking C static library afr_https.a [build] [440/795 54% :: 314.764] Linking C static library afr_serializer.a [build] [441/795 55% :: 317.024] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/port/os_xtensa.c.obj [build] [442/795 55% :: 317.299] Linking C static library afr_ble_hal.a [build] [443/795 55% :: 317.577] Linking C static library esp-idf\smartconfig_ack\libsmartconfig_ack.a [build] [444/795 55% :: 318.324] Generating idf_component_smartconfig_ack.sections_info [build] [445/795 55% :: 318.354] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/aes-cbc.c.obj [build] [446/795 55% :: 318.661] Linking C static library afr_ble.a [build] [447/795 55% :: 320.543] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/aes-internal-enc.c.obj [build] [448/795 55% :: 320.789] Linking C static library afr_ble_wifi_provisioning.a [build] [449/795 56% :: 320.933] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/aes-internal-dec.c.obj [build] [450/795 56% :: 322.756] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/aes-unwrap.c.obj [build] [451/795 56% :: 322.860] Linking C static library afr_mqtt.a [build] [452/795 56% :: 323.026] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/aes-internal.c.obj [build] [453/795 56% :: 325.277] Linking C static library afr_shadow.a [build] [454/795 56% :: 325.397] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/aes-wrap.c.obj [build] [455/795 56% :: 325.407] Linking C static library afr_ota.a [build] [456/795 56% :: 328.014] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/crypto_internal-cipher.c.obj [build] [457/795 57% :: 328.680] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/crypto_mbedtls.c.obj [build] [458/795 57% :: 329.720] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/bignum.c.obj [build] [459/795 57% :: 330.596] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/crypto_internal-rsa.c.obj [build] [460/795 57% :: 331.293] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/crypto_internal-modexp.c.obj [build] [461/795 57% :: 332.657] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/crypto_internal.c.obj [build] [462/795 57% :: 333.954] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/des-internal.c.obj [build] [463/795 57% :: 334.303] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/dh_group5.c.obj [build] [464/795 57% :: 334.377] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/dh_groups.c.obj [build] [465/795 58% :: 336.608] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/md5.c.obj [build] [466/795 58% :: 337.132] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/md4-internal.c.obj [build] [467/795 58% :: 337.597] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/md5-internal.c.obj [build] [468/795 58% :: 338.791] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/rc4.c.obj [build] [469/795 58% :: 339.503] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/ms_funcs.c.obj [build] [470/795 58% :: 340.735] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/sha1-internal.c.obj [build] [471/795 58% :: 341.270] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/sha1-pbkdf2.c.obj [build] [472/795 58% :: 341.345] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/sha1.c.obj [build] [473/795 59% :: 343.237] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/fast_crypto/fast_aes-cbc.c.obj [build] [474/795 59% :: 343.391] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/sha256.c.obj [build] [475/795 59% :: 343.509] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/crypto/sha256-internal.c.obj [build] [476/795 59% :: 345.995] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/fast_crypto/fast_crypto_internal-cipher.c.obj [build] [477/795 59% :: 346.134] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/fast_crypto/fast_aes-unwrap.c.obj [build] [478/795 59% :: 346.810] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/fast_crypto/fast_aes-wrap.c.obj [build] [479/795 59% :: 347.584] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/fast_crypto/fast_crypto_internal.c.obj [build] [480/795 60% :: 348.304] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/fast_crypto/fast_crypto_internal-modexp.c.obj [build] [481/795 60% :: 348.805] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/fast_crypto/fast_sha256-internal.c.obj [build] [482/795 60% :: 348.934] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/chap.c.obj [build] [483/795 60% :: 349.325] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/fast_crypto/fast_sha256.c.obj [build] [484/795 60% :: 350.303] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/eap_common.c.obj [build] [485/795 60% :: 351.737] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/eap.c.obj [build] [486/795 60% :: 352.067] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/eap_mschapv2.c.obj [build] [487/795 60% :: 352.093] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/eap_peap.c.obj [build] [488/795 61% :: 353.488] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/eap_peap_common.c.obj [build] [489/795 61% :: 354.145] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/eap_tls.c.obj [build] [490/795 61% :: 354.869] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/eap_tls_common.c.obj [build] [491/795 61% :: 356.169] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/eap_ttls.c.obj [build] [492/795 61% :: 356.336] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/eap_peer/mschapv2.c.obj [build] [493/795 61% :: 356.516] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/asn1.c.obj [build] [494/795 61% :: 357.817] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/pkcs1.c.obj [build] [495/795 61% :: 358.001] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/pkcs5.c.obj [build] [496/795 62% :: 359.658] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/pkcs8.c.obj [build] [497/795 62% :: 359.750] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/bignum.c.obj [build] [498/795 62% :: 360.562] Performing build step for 'bootloader' [build] [3/55 1% :: 0.771] Generating dummy_main_src.c [build] [4/55 3% :: 1.200] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/gpio_periph.c.obj [build] [5/55 5% :: 1.555] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/cpu_util.c.obj [build] [6/55 7% :: 3.845] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk_init.c.obj [build] [7/55 9% :: 4.428] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_init.c.obj [build] [8/55 10% :: 4.640] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk.c.obj [build] [9/55 12% :: 5.473] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_periph.c.obj [build] [10/55 14% :: 5.854] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_pm.c.obj [build] [11/55 16% :: 6.187] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_sleep.c.obj [build] [12/55 18% :: 7.688] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_time.c.obj [build] [13/55 20% :: 7.948] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/sdio_slave_periph.c.obj [build] [14/55 21% :: 8.393] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_wdt.c.obj [build] [15/55 23% :: 9.050] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/soc_memory_layout.c.obj [build] [16/55 25% :: 9.062] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/sdmmc_periph.c.obj [build] [17/55 27% :: 9.450] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/spi_periph.c.obj [build] [18/55 29% :: 10.544] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/src/memory_layout_utils.c.obj [build] [19/55 30% :: 10.761] Building C object esp-idf/log/CMakeFiles/idf_component_log.dir/log.c.obj [build] [20/55 32% :: 11.549] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/spi_flash_rom_patch.c.obj [build] [21/55 34% :: 12.482] Linking C static library esp-idf\soc\libsoc.a [build] [22/55 36% :: 12.622] Linking C static library esp-idf\log\liblog.a [build] [23/55 38% :: 12.757] Linking C static library esp-idf\spi_flash\libspi_flash.a [build] [24/55 40% :: 13.171] Generating idf_component_log.sections_info [build] [25/55 41% :: 13.221] Generating idf_component_soc.sections_info [build] [26/55 43% :: 13.595] Generating idf_component_spi_flash.sections_info [build] [27/55 45% :: 15.792] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/esp32/esp_efuse_table.c.obj [build] [28/55 47% :: 16.570] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_api.c.obj [build] [29/55 49% :: 18.908] Building C object esp-idf/micro-ecc/CMakeFiles/idf_component_micro-ecc.dir/micro-ecc/uECC.c.obj [build] [30/55 50% :: 19.446] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_fields.c.obj [build] [31/55 52% :: 20.527] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_utility.c.obj [build] [32/55 54% :: 21.408] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a [build] [33/55 56% :: 21.601] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_clock.c.obj [build] [34/55 58% :: 22.121] Generating idf_component_micro-ecc.sections_info [build] [35/55 60% :: 22.926] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_common.c.obj [build] [36/55 61% :: 23.176] Linking C static library esp-idf\efuse\libefuse.a [build] [37/55 63% :: 24.213] Generating idf_component_efuse.sections_info [build] [38/55 65% :: 24.571] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash_config.c.obj [build] [39/55 67% :: 24.854] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash.c.obj [build] [40/55 69% :: 25.819] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_sha.c.obj [build] [41/55 70% :: 26.774] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_random.c.obj [build] [42/55 72% :: 27.669] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_utility.c.obj [build] [43/55 74% :: 28.377] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/esp_image_format.c.obj [build] [44/55 76% :: 29.660] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_partitions.c.obj [build] [45/55 78% :: 30.429] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_encrypt.c.obj [build] [46/55 80% :: 30.990] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_qio_mode.c.obj [build] [47/55 81% :: 32.141] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot_signatures.c.obj [build] [48/55 83% :: 32.245] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot.c.obj [build] [48/55 85% :: 34.333] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_init.c.obj [build] [49/55 87% :: 34.718] Building C object esp-idf/main/CMakeFiles/idf_component_main.dir/bootloader_start.c.obj [build] [50/55 89% :: 36.359] Linking C static library esp-idf\bootloader_support\libbootloader_support.a [build] [51/55 90% :: 36.599] Linking C static library esp-idf\main\libmain.a [build] [52/55 92% :: 36.693] Generating idf_component_bootloader_support.sections_info [build] [52/55 94% :: 37.618] Generating idf_component_main.sections_info [build] [53/55 96% :: 39.161] Building C object CMakeFiles/bootloader.elf.dir/dummy_main_src.c.obj [build] [54/55 98% :: 42.705] Linking C executable bootloader.elf [build] [55/55 100% :: 48.097] Generating bootloader.bin [build] esptool.py v2.8-dev [build] [499/795 62% :: 360.794] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/rsa.c.obj [build] [500/795 62% :: 361.712] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tls_internal.c.obj [build] [501/795 62% :: 362.035] No install step for 'bootloader' [build] [502/795 62% :: 362.486] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_client.c.obj [build] [503/795 62% :: 363.837] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_client_read.c.obj [build] [504/795 63% :: 364.111] Completed 'bootloader' [build] [505/795 63% :: 364.282] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_client_write.c.obj [build] [506/795 63% :: 364.781] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_common.c.obj [build] [507/795 63% :: 366.930] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_record.c.obj [build] [508/795 63% :: 367.443] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_cred.c.obj [build] [509/795 63% :: 367.555] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_server.c.obj [build] [510/795 63% :: 367.726] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_server_read.c.obj [build] [511/795 63% :: 368.750] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/tlsv1_server_write.c.obj [build] [512/795 64% :: 369.318] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/utils/base64.c.obj [build] [513/795 64% :: 369.418] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/utils/ext_password.c.obj [build] [514/795 64% :: 370.349] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wpa2/tls/x509v3.c.obj [build] [515/795 64% :: 370.530] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/eap_common.c.obj [build] [516/795 64% :: 371.521] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/uuid.c.obj [build] [517/795 64% :: 371.613] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps.c.obj [build] [518/795 64% :: 372.651] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps_attr_parse.c.obj [build] [519/795 64% :: 373.326] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps_attr_build.c.obj [build] [520/795 65% :: 374.792] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps_common.c.obj [build] [521/795 65% :: 375.005] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps_attr_process.c.obj [build] [522/795 65% :: 376.866] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps_enrollee.c.obj [build] [523/795 65% :: 376.933] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps_dev_attr.c.obj [build] [524/795 65% :: 378.026] Building C object esp-idf/espcoredump/CMakeFiles/idf_component_espcoredump.dir/src/core_dump_common.c.obj [build] [525/795 65% :: 379.557] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps_validate.c.obj [build] [526/795 65% :: 380.347] Building C object esp-idf/espcoredump/CMakeFiles/idf_component_espcoredump.dir/src/core_dump_flash.c.obj [build] [527/795 65% :: 380.650] Building C object esp-idf/espcoredump/CMakeFiles/idf_component_espcoredump.dir/src/core_dump_port.c.obj [build] [528/795 66% :: 381.625] Building C object esp-idf/espcoredump/CMakeFiles/idf_component_espcoredump.dir/src/core_dump_uart.c.obj [build] [529/795 66% :: 381.898] Generating linker script... [build] [530/795 66% :: 383.184] Linking C static library esp-idf\espcoredump\libespcoredump.a [build] [531/795 66% :: 383.343] Building C object esp-idf/wpa_supplicant/CMakeFiles/idf_component_wpa_supplicant.dir/src/wps/wps_registrar.c.obj [build] [532/795 66% :: 383.367] Building CXX object esp-idf/cxx/CMakeFiles/idf_component_cxx.dir/cxx_exception_stubs.cpp.obj [build] [533/795 66% :: 383.395] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/brownout.c.obj [build] [534/795 66% :: 383.791] Generating idf_component_espcoredump.sections_info [build] [535/795 66% :: 384.694] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/cache_err_int.c.obj [build] [536/795 67% :: 385.039] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/cache_sram_mmu.c.obj [build] [537/795 67% :: 385.291] Linking C static library esp-idf\wpa_supplicant\libwpa_supplicant.a [build] [538/795 67% :: 385.799] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/clk.c.obj [build] [539/795 67% :: 385.880] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/coexist.c.obj [build] [540/795 67% :: 386.003] Generating idf_component_wpa_supplicant.sections_info [build] [541/795 67% :: 387.172] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/dbg_stubs.c.obj [build] [542/795 67% :: 387.989] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/crosscore_int.c.obj [build] [543/795 67% :: 388.075] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/cpu_start.c.obj [build] [544/795 68% :: 388.255] Building ASM object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/dport_panic_highint_hdl.S.obj [build] [545/795 68% :: 388.570] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/dport_access.c.obj [build] [546/795 68% :: 391.202] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/esp_err_to_name.c.obj [build] [547/795 68% :: 391.233] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/esp_adapter.c.obj [build] [548/795 68% :: 391.254] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/esp_timer_esp32.c.obj [build] [549/795 68% :: 391.669] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/esp_timer.c.obj [build] [550/795 68% :: 392.798] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/ets_timer_legacy.c.obj [build] [551/795 68% :: 393.519] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/esp_himem.c.obj [build] [552/795 69% :: 393.896] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/event_default_handlers.c.obj [build] [553/795 69% :: 394.179] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/event_loop.c.obj [build] [554/795 69% :: 395.718] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/freertos_hooks.c.obj [build] [555/795 69% :: 395.834] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/fast_crypto_ops.c.obj [build] [556/795 69% :: 395.873] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/hw_random.c.obj [build] [557/795 69% :: 396.137] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/gdbstub.c.obj [build] [558/795 69% :: 397.412] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/int_wdt.c.obj [build] [559/795 69% :: 397.782] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/ipc.c.obj [build] [560/795 70% :: 398.269] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/intr_alloc.c.obj [build] [561/795 70% :: 398.275] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/lib_printf.c.obj [build] [562/795 70% :: 400.485] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/pm_esp32.c.obj [build] [563/795 70% :: 400.567] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/panic.c.obj [build] [564/795 70% :: 400.689] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/pm_locks.c.obj [build] [565/795 70% :: 400.887] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/phy_init.c.obj [build] [566/795 70% :: 402.312] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/pm_trace.c.obj [build] [567/795 70% :: 402.612] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/reset_reason.c.obj [build] [568/795 71% :: 403.440] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/restore.c.obj [build] [569/795 71% :: 404.336] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/sleep_modes.c.obj [build] [570/795 71% :: 404.583] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/spiram.c.obj [build] [571/795 71% :: 404.667] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/spiram_psram.c.obj [build] [572/795 71% :: 404.786] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/stack_check.c.obj [build] [573/795 71% :: 407.166] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/system_api.c.obj [build] [574/795 71% :: 407.357] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/wifi_init.c.obj [build] [575/795 71% :: 407.376] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/task_wdt.c.obj [build] [576/795 72% :: 407.799] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/hwcrypto/aes.c.obj [build] [577/795 72% :: 409.950] Building C object esp-idf/esp32/CMakeFiles/idf_component_esp32.dir/hwcrypto/sha.c.obj [build] [578/795 72% :: 410.066] Building CXX object esp-idf/cxx/CMakeFiles/idf_component_cxx.dir/cxx_guards.cpp.obj [build] [579/795 72% :: 410.159] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/services/gatt/src/ble_svc_gatt.c.obj [build] [580/795 72% :: 410.677] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/services/tps/src/ble_svc_tps.c.obj [build] [581/795 72% :: 410.809] Linking CXX static library esp-idf\cxx\libcxx.a [build] [582/795 72% :: 411.364] Linking C static library esp-idf\esp32\libesp32.a [build] [583/795 72% :: 411.625] Generating idf_component_cxx.sections_info [build] [584/795 73% :: 411.990] Generating idf_component_esp32.sections_info [build] [585/795 73% :: 412.515] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/services/ias/src/ble_svc_ias.c.obj [build] [586/795 73% :: 412.951] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/services/ans/src/ble_svc_ans.c.obj [build] [587/795 73% :: 414.863] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/services/gap/src/ble_svc_gap.c.obj [build] [588/795 73% :: 416.170] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/services/bas/src/ble_svc_bas.c.obj [build] [589/795 73% :: 416.621] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/services/lls/src/ble_svc_lls.c.obj [build] [590/795 73% :: 417.475] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_shutdown.c.obj [build] [591/795 73% :: 417.685] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_conn.c.obj [build] [592/795 74% :: 418.057] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_store_util.c.obj [build] [593/795 74% :: 420.479] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_sm.c.obj [build] ../../../vendors/espressif/esp-idf/components/nimble/nimble/nimble/host/src/ble_sm.c: In function 'ble_sm_pairing_req': [build] ../../../vendors/espressif/esp-idf/components/nimble/nimble/nimble/host/src/ble_sm.c:831:9: warning: unused variable 'rc' [-Wunused-variable] [build] int rc; [build] ^ [build] [594/795 74% :: 420.995] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_l2cap_sig_cmd.c.obj [build] [595/795 74% :: 421.491] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_id.c.obj [build] [596/795 74% :: 422.276] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_hci_cmd.c.obj [build] [597/795 74% :: 424.572] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_ibeacon.c.obj [build] [598/795 74% :: 425.195] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_gatts_lcl.c.obj [build] [599/795 74% :: 425.622] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_atomic.c.obj [build] [600/795 75% :: 426.013] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_att_svr.c.obj [build] [601/795 75% :: 427.574] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_stop.c.obj [build] [602/795 75% :: 430.166] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs.c.obj [build] [603/795 75% :: 431.432] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_dbg.c.obj [build] [604/795 75% :: 431.540] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_sm_alg.c.obj [build] [605/795 75% :: 431.956] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_hci_evt.c.obj [build] [606/795 75% :: 432.844] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_mqueue.c.obj [build] [607/795 75% :: 435.523] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_store.c.obj [build] [608/795 76% :: 435.671] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_att.c.obj [build] [609/795 76% :: 436.106] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_sm_lgcy.c.obj [build] [610/795 76% :: 436.336] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_monitor.c.obj [build] [611/795 76% :: 436.548] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_gattc.c.obj [build] [612/795 76% :: 437.880] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_cfg.c.obj [build] [613/795 76% :: 439.605] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_l2cap_coc.c.obj [build] [614/795 76% :: 439.802] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_att_clt.c.obj [build] [615/795 76% :: 440.331] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_mbuf.c.obj [build] [616/795 77% :: 440.793] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_att_cmd.c.obj [build] [617/795 77% :: 442.623] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_log.c.obj [build] [618/795 77% :: 442.919] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_startup.c.obj [build] [619/795 77% :: 442.986] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_eddystone.c.obj [build] [620/795 77% :: 443.530] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_l2cap_sig.c.obj [build] [621/795 77% :: 446.231] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_sm_cmd.c.obj [build] [622/795 77% :: 446.307] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_uuid.c.obj [build] [623/795 77% :: 447.390] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_pvcy.c.obj [build] [624/795 78% :: 448.499] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_gap.c.obj [build] [625/795 78% :: 449.475] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_flow.c.obj [build] [626/795 78% :: 450.613] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_sm_sc.c.obj [build] [627/795 78% :: 451.515] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_l2cap.c.obj [build] [628/795 78% :: 452.186] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_misc.c.obj [build] [629/795 78% :: 453.671] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_gatts.c.obj [build] [630/795 78% :: 454.087] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_adv.c.obj [build] [631/795 78% :: 456.009] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_hci_util.c.obj [build] [632/795 79% :: 456.159] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/src/ble_hs_hci.c.obj [build] [633/795 79% :: 456.455] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/store/ram/src/ble_store_ram.c.obj [build] [634/795 79% :: 457.679] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/store/config/src/ble_store_config.c.obj [build] [635/795 79% :: 458.022] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/host/store/config/src/ble_store_nvs.c.obj [build] [636/795 79% :: 458.655] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/npl/freertos/src/nimble_port_freertos.c.obj [build] [637/795 79% :: 458.696] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/nimble/src/ble_util.c.obj [build] [638/795 79% :: 459.341] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/endian.c.obj [build] [639/795 80% :: 459.418] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/hal_timer.c.obj [build] [640/795 80% :: 460.789] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/npl/freertos/src/npl_os_freertos.c.obj [build] [641/795 80% :: 461.132] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/os_cputime_pwr2.c.obj [build] [642/795 80% :: 461.304] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/os_mempool.c.obj [build] [643/795 80% :: 463.203] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/os_msys_init.c.obj [build] [644/795 80% :: 463.574] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/mem.c.obj [build] [645/795 80% :: 464.245] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/nimble_port.c.obj [build] [646/795 80% :: 464.391] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/os_mbuf.c.obj [build] [647/795 81% :: 465.451] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/nimble/porting/nimble/src/os_cputime.c.obj [build] [648/795 81% :: 466.601] Building C object esp-idf/console/CMakeFiles/idf_component_console.dir/commands.c.obj [build] [649/795 81% :: 467.170] Building C object esp-idf/console/CMakeFiles/idf_component_console.dir/split_argv.c.obj [build] [650/795 81% :: 467.661] Building C object esp-idf/nimble/CMakeFiles/idf_component_nimble.dir/esp-hci/src/esp_nimble_hci.c.obj [build] [651/795 81% :: 467.991] Building C object esp-idf/bt/CMakeFiles/idf_component_bt.dir/bt.c.obj [build] [652/795 81% :: 469.914] Linking C static library esp-idf\nimble\libnimble.a [build] [653/795 81% :: 470.256] Linking C static library esp-idf\bt\libbt.a [build] [654/795 81% :: 470.447] Building C object esp-idf/console/CMakeFiles/idf_component_console.dir/linenoise/linenoise.c.obj [build] [655/795 82% :: 470.869] Generating idf_component_nimble.sections_info [build] [656/795 82% :: 470.914] Building C object esp-idf/console/CMakeFiles/idf_component_console.dir/argtable3/argtable3.c.obj [build] [657/795 82% :: 471.088] Generating idf_component_bt.sections_info [build] [658/795 82% :: 471.978] Building C object esp-idf/expat/CMakeFiles/idf_component_expat.dir/expat/expat/lib/loadlibrary.c.obj [build] [659/795 82% :: 472.221] Building C object esp-idf/esp_adc_cal/CMakeFiles/idf_component_esp_adc_cal.dir/esp_adc_cal.c.obj [build] [660/795 82% :: 472.754] Linking C static library esp-idf\console\libconsole.a [build] [661/795 82% :: 473.586] Generating idf_component_console.sections_info [build] [662/795 82% :: 474.012] Linking C static library esp-idf\esp_adc_cal\libesp_adc_cal.a [build] [663/795 83% :: 474.165] Building C object esp-idf/expat/CMakeFiles/idf_component_expat.dir/expat/expat/lib/xmlrole.c.obj [build] [664/795 83% :: 474.387] Generating idf_component_esp_adc_cal.sections_info [build] [665/795 83% :: 475.141] Building C object esp-idf/expat/CMakeFiles/idf_component_expat.dir/expat/expat/lib/xmltok_impl.c.obj [build] [666/795 83% :: 475.506] Building C object esp-idf/expat/CMakeFiles/idf_component_expat.dir/expat/expat/lib/xmltok_ns.c.obj [build] [667/795 83% :: 477.305] Building CXX object esp-idf/wear_levelling/CMakeFiles/idf_component_wear_levelling.dir/Partition.cpp.obj [build] [668/795 83% :: 477.482] Building CXX object esp-idf/wear_levelling/CMakeFiles/idf_component_wear_levelling.dir/SPI_Flash.cpp.obj [build] [669/795 83% :: 479.124] Building CXX object esp-idf/wear_levelling/CMakeFiles/idf_component_wear_levelling.dir/WL_Ext_Perf.cpp.obj [build] [670/795 83% :: 480.340] Building C object esp-idf/expat/CMakeFiles/idf_component_expat.dir/expat/expat/lib/xmlparse.c.obj [build] [671/795 84% :: 480.690] Building CXX object esp-idf/wear_levelling/CMakeFiles/idf_component_wear_levelling.dir/WL_Ext_Safe.cpp.obj [build] [672/795 84% :: 481.016] Building C object esp-idf/expat/CMakeFiles/idf_component_expat.dir/expat/expat/lib/xmltok.c.obj [build] [673/795 84% :: 481.500] Building CXX object esp-idf/wear_levelling/CMakeFiles/idf_component_wear_levelling.dir/crc32.cpp.obj [build] [674/795 84% :: 481.691] Building CXX object esp-idf/wear_levelling/CMakeFiles/idf_component_wear_levelling.dir/WL_Flash.cpp.obj [build] [675/795 84% :: 482.029] Linking C static library esp-idf\expat\libexpat.a [build] [676/795 84% :: 482.091] Building CXX object esp-idf/wear_levelling/CMakeFiles/idf_component_wear_levelling.dir/wear_levelling.cpp.obj [build] [677/795 84% :: 482.316] Generating idf_component_expat.sections_info [build] [678/795 84% :: 483.026] Linking CXX static library esp-idf\wear_levelling\libwear_levelling.a [build] [679/795 85% :: 484.078] Building C object esp-idf/sdmmc/CMakeFiles/idf_component_sdmmc.dir/sdmmc_init.c.obj [build] [680/795 85% :: 484.197] Generating idf_component_wear_levelling.sections_info [build] [681/795 85% :: 484.257] Building C object esp-idf/sdmmc/CMakeFiles/idf_component_sdmmc.dir/sdmmc_common.c.obj [build] [682/795 85% :: 484.381] Building C object esp-idf/sdmmc/CMakeFiles/idf_component_sdmmc.dir/sdmmc_cmd.c.obj [build] [683/795 85% :: 485.935] Building C object esp-idf/sdmmc/CMakeFiles/idf_component_sdmmc.dir/sdmmc_mmc.c.obj [build] [684/795 85% :: 486.134] Building C object esp-idf/sdmmc/CMakeFiles/idf_component_sdmmc.dir/sdmmc_io.c.obj [build] [685/795 85% :: 486.268] Building C object esp-idf/sdmmc/CMakeFiles/idf_component_sdmmc.dir/sdmmc_sd.c.obj [build] [686/795 85% :: 486.486] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/diskio.c.obj [build] [687/795 86% :: 487.703] Linking C static library esp-idf\sdmmc\libsdmmc.a [build] [688/795 86% :: 487.801] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/diskio_rawflash.c.obj [build] [689/795 86% :: 487.923] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/diskio_sdmmc.c.obj [build] [690/795 86% :: 488.132] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/diskio_wl.c.obj [build] [691/795 86% :: 488.437] Generating idf_component_sdmmc.sections_info [build] [692/795 86% :: 490.416] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/ffsystem.c.obj [build] [693/795 86% :: 490.626] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/ffunicode.c.obj [build] [694/795 86% :: 492.949] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/vfs_fat.c.obj [build] [695/795 87% :: 493.259] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/vfs_fat_sdmmc.c.obj [build] [696/795 87% :: 493.605] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/vfs_fat_spiflash.c.obj [build] [697/795 87% :: 493.764] Building C object esp-idf/fatfs/CMakeFiles/idf_component_fatfs.dir/src/ff.c.obj [build] [698/795 87% :: 495.621] Linking C static library esp-idf\fatfs\libfatfs.a [build] [699/795 87% :: 496.329] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/functions/mbfunccoils.c.obj [build] [700/795 87% :: 496.550] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/ascii/mbascii.c.obj [build] [701/795 87% :: 496.598] Generating idf_component_fatfs.sections_info [build] [702/795 87% :: 496.616] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/rtu/mbcrc.c.obj [build] [703/795 88% :: 497.601] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/functions/mbfuncdiag.c.obj [build] [704/795 88% :: 498.653] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/functions/mbfuncholding.c.obj [build] [705/795 88% :: 498.873] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/functions/mbfuncinput.c.obj [build] [706/795 88% :: 498.895] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/functions/mbfuncdisc.c.obj [build] [707/795 88% :: 500.220] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/functions/mbfuncother.c.obj [build] [708/795 88% :: 501.169] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/tcp/mbtcp.c.obj [build] [709/795 88% :: 501.291] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/functions/mbutils.c.obj [build] [710/795 88% :: 501.381] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/rtu/mbrtu.c.obj [build] [711/795 89% :: 502.806] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/port/portevent.c.obj [build] [712/795 89% :: 503.632] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/port/portother.c.obj [build] [713/795 89% :: 503.814] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/port/portserial.c.obj [build] [714/795 89% :: 504.251] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/port/porttimer.c.obj [build] [715/795 89% :: 504.805] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus_controller/mbcontroller.c.obj [build] [716/795 89% :: 506.172] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_callbacks.c.obj [build] [717/795 89% :: 506.281] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_debug.c.obj [build] [718/795 89% :: 506.723] Building C object esp-idf/freemodbus/CMakeFiles/idf_component_freemodbus.dir/modbus/mb.c.obj [build] [719/795 90% :: 506.998] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_buf.c.obj [build] [720/795 90% :: 508.131] Linking C static library esp-idf\freemodbus\libfreemodbus.a [build] [721/795 90% :: 508.639] Generating idf_component_freemodbus.sections_info [build] [722/795 90% :: 509.085] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_hd_huffman.c.obj [build] [723/795 90% :: 509.495] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_hd.c.obj [build] [724/795 90% :: 509.663] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_frame.c.obj [build] [725/795 90% :: 510.874] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_hd_huffman_data.c.obj [build] [726/795 90% :: 511.186] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_helper.c.obj [build] [727/795 91% :: 511.505] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_map.c.obj [build] [728/795 91% :: 511.997] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_http.c.obj [build] [729/795 91% :: 512.797] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_npn.c.obj [build] [730/795 91% :: 512.904] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_mem.c.obj [build] [731/795 91% :: 513.154] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_option.c.obj [build] [732/795 91% :: 513.439] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_outbound_item.c.obj [build] [733/795 91% :: 514.340] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_priority_spec.c.obj [build] [734/795 91% :: 514.633] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_pq.c.obj [build] [735/795 92% :: 514.723] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_queue.c.obj [build] [736/795 92% :: 515.196] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_rcbuf.c.obj [build] [737/795 92% :: 517.408] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_stream.c.obj [build] [738/795 92% :: 517.683] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_version.c.obj [build] [739/795 92% :: 518.714] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_submit.c.obj [build] [740/795 92% :: 519.979] Building C object esp-idf/openssl/CMakeFiles/idf_component_openssl.dir/library/ssl_cert.c.obj [build] [741/795 92% :: 520.660] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/port/http_parser.c.obj [build] [742/795 92% :: 520.899] Building C object esp-idf/openssl/CMakeFiles/idf_component_openssl.dir/library/ssl_lib.c.obj [build] [743/795 93% :: 521.430] Building C object esp-idf/openssl/CMakeFiles/idf_component_openssl.dir/library/ssl_methods.c.obj [build] [744/795 93% :: 522.184] Building C object esp-idf/openssl/CMakeFiles/idf_component_openssl.dir/library/ssl_pkey.c.obj [build] [745/795 93% :: 522.294] Building C object esp-idf/openssl/CMakeFiles/idf_component_openssl.dir/library/ssl_stack.c.obj [build] [746/795 93% :: 523.041] Building C object esp-idf/nghttp/CMakeFiles/idf_component_nghttp.dir/nghttp2/lib/nghttp2_session.c.obj [build] [747/795 93% :: 523.488] Building C object esp-idf/openssl/CMakeFiles/idf_component_openssl.dir/platform/ssl_port.c.obj [build] [748/795 93% :: 523.944] Building C object esp-idf/openssl/CMakeFiles/idf_component_openssl.dir/library/ssl_x509.c.obj [build] [749/795 93% :: 524.960] Building C object esp-idf/openssl/CMakeFiles/idf_component_openssl.dir/platform/ssl_pm.c.obj [build] [750/795 93% :: 525.146] Linking C static library esp-idf\nghttp\libnghttp.a [build] [751/795 94% :: 525.777] Generating idf_component_nghttp.sections_info [build] [752/795 94% :: 526.379] Linking C static library esp-idf\openssl\libopenssl.a [build] [753/795 94% :: 526.613] Building C object esp-idf/spiffs/CMakeFiles/idf_component_spiffs.dir/esp_spiffs.c.obj [build] [754/795 94% :: 526.751] Building C object esp-idf/spiffs/CMakeFiles/idf_component_spiffs.dir/spiffs_api.c.obj [build] [755/795 94% :: 526.818] Generating idf_component_openssl.sections_info [build] [756/795 94% :: 527.127] Building C object esp-idf/spiffs/CMakeFiles/idf_component_spiffs.dir/spiffs/src/spiffs_cache.c.obj [build] [757/795 94% :: 530.021] Building C object esp-idf/spiffs/CMakeFiles/idf_component_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj [build] [758/795 94% :: 530.089] Building C object esp-idf/spiffs/CMakeFiles/idf_component_spiffs.dir/spiffs/src/spiffs_gc.c.obj [build] [759/795 95% :: 530.187] Building C object esp-idf/spiffs/CMakeFiles/idf_component_spiffs.dir/spiffs/src/spiffs_check.c.obj [build] [759/795 95% :: 531.004] Building C object esp-idf/spiffs/CMakeFiles/idf_component_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj [build] [760/795 95% :: 531.181] Building C object esp-idf/ulp/CMakeFiles/idf_component_ulp.dir/ulp.c.obj [build] [760/795 95% :: 531.290] Building C object esp-idf/ulp/CMakeFiles/idf_component_ulp.dir/ulp_macro.c.obj [build] [761/795 95% :: 531.673] Linking C static library esp-idf\spiffs\libspiffs.a [build] [762/795 95% :: 531.741] Linking C static library esp-idf\ulp\libulp.a [build] [763/795 95% :: 531.909] Generating idf_component_ulp.sections_info [build] [763/795 95% :: 531.952] Generating idf_component_spiffs.sections_info [build] [764/795 96% :: 536.088] Generating esp32.project.ld [build] [768/795 96% :: 538.335] Building C object CMakeFiles/aws_demos.dir/libraries/freertos_plus/standard/utils/src/iot_pki_utils.c.obj [build] [769/795 96% :: 538.394] Building C object CMakeFiles/aws_demos.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_bignum.c.obj [build] [770/795 96% :: 538.591] Building C object CMakeFiles/aws_demos.dir/libraries/freertos_plus/standard/utils/src/iot_system_init.c.obj [build] [771/795 96% :: 538.684] Building C object CMakeFiles/aws_demos.dir/vendors/espressif/boards/esp32/aws_demos/application_code/main.c.obj [build] [772/795 96% :: 540.236] Building C object CMakeFiles/aws_demos.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha256.c.obj [build] [773/795 96% :: 540.721] Building C object CMakeFiles/aws_demos.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_mem.c.obj [build] [774/795 96% :: 541.024] Building C object CMakeFiles/aws_demos.dir/demos/ble/aws_ble_gatt_server_demo.c.obj [build] ../../ble/aws_ble_gatt_server_demo.c:275:19: warning: 'vGattDemoSvcHook' defined but not used [-Wunused-function] [build] static BaseType_t vGattDemoSvcHook( void ) [build] ^ [build] [775/795 97% :: 541.266] Building C object CMakeFiles/aws_demos.dir/demos/demo_runner/aws_demo_network_addr.c.obj [build] [776/795 97% :: 541.535] Building C object CMakeFiles/aws_demos.dir/demos/demo_runner/aws_demo_version.c.obj [build] [777/795 97% :: 542.352] Building C object CMakeFiles/aws_demos.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha1.c.obj [build] [778/795 97% :: 542.873] Building C object CMakeFiles/aws_demos.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_hardware.c.obj [build] [779/795 97% :: 542.972] Building C object CMakeFiles/aws_demos.dir/vendors/espressif/boards/esp32/components/mbedtls/port/esp_sha512.c.obj [build] [780/795 97% :: 543.699] Building C object CMakeFiles/aws_demos.dir/vendors/espressif/boards/esp32/components/mbedtls/port/mbedtls_debug.c.obj [build] [781/795 97% :: 544.339] Building C object CMakeFiles/aws_demos.dir/demos/demo_runner/aws_demo.c.obj [build] [782/795 97% :: 544.537] Building C object CMakeFiles/aws_demos.dir/demos/network_manager/aws_iot_demo_network.c.obj [build] [783/795 98% :: 544.637] Building C object CMakeFiles/aws_demos.dir/demos/network_manager/aws_iot_network_manager.c.obj [build] [784/795 98% :: 546.735] Building C object CMakeFiles/aws_demos.dir/demos/https/iot_demo_https_s3_download_sync.c.obj [build] [785/795 98% :: 546.968] Building C object CMakeFiles/aws_demos.dir/demos/demo_runner/iot_demo_runner.c.obj [build] [786/795 98% :: 547.101] Building C object CMakeFiles/aws_demos.dir/demos/demo_runner/iot_demo_freertos.c.obj [build] [787/795 98% :: 547.212] Building C object CMakeFiles/aws_demos.dir/demos/ble/iot_ble_numericComparison.c.obj [build] [788/795 98% :: 549.025] Building C object CMakeFiles/aws_demos.dir/demos/https/iot_demo_https_common.c.obj [build] [789/795 98% :: 549.290] Building C object CMakeFiles/aws_demos.dir/demos/https/iot_demo_https_s3_upload_sync.c.obj [build] [790/795 98% :: 549.731] Building C object CMakeFiles/aws_demos.dir/demos/https/iot_demo_https_s3_upload_async.c.obj [build] [791/795 99% :: 550.804] Building C object CMakeFiles/aws_demos.dir/demos/https/iot_demo_https_s3_download_async.c.obj [build] [792/795 99% :: 550.997] Building C object CMakeFiles/aws_demos.dir/demos/mqtt/iot_demo_mqtt.c.obj [build] [793/795 99% :: 551.594] Building C object CMakeFiles/aws_demos.dir/demos/shadow/aws_iot_demo_shadow.c.obj [build] [793/795 99% :: 552.330] Building C object CMakeFiles/aws_demos.dir/demos/ota/aws_iot_ota_update_demo.c.obj [build] [793/795 99% :: 555.213] Building C object CMakeFiles/aws_demos.dir/demos/tcp/aws_tcp_echo_client_single_task.c.obj [build] [793/795 99% :: 555.372] Building C object CMakeFiles/aws_demos.dir/demos/wifi_provisioning/aws_wifi_connect_task.c.obj [build] [794/795 99% :: 588.292] Linking CXX executable aws_demos [build] [795/795 100% :: 590.073] Generating aws_demos.bin [build] esptool.py v2.8-dev [build] Compilación finalizada con el código de salida 0
It generates the essential binaries needed for flashing aws_demos.bin
, bootloader.bin
, partition-table.bin
(and many others)
So my question is:
How could flash the ESP32 directly from VScode?
Based on my settings.json
file, how could I pass commands like:
cmake --build demos/mqtt/build --target flash
or
python vendors/espressif/esp-idf/tools/idf.py erase_flash flash monitor -p COM9 -B demos/mqtt/build
Thanks in advance for your help.
Hi @Yoimer,
I have not tried flashing from VS Code, but have you tried configuring your tasks.json to create a task for flashing the board? You can run just the task (Ctrl-Option-T on Mac, it may be the same on Windows) or configure launch.json for debugging, and add flashing as a pre launch task.
Additionally, have you looked into PlatformIO IDE for VS Code? The extension includes building and flashing, and they seem to have support for ESP32-DevKitC.
@muneebahmed10 Hello. Thanks a lot for your support. Actually I was able to compile, debug and even flash my AWS FreeRTOS ESP32 project from VSCODE. Using ESP-IDF3.3
Kindly, check the .vscode.zip
attached.
Now my goal is to debug AWS FreeRTOS ESP32 projects from VSCODE, I want to make breakpoints, check variable values on the ESP32. Currently, I own this Debugger
, which is the official one from Espressif ESP-Prog JTAG Debug & Program Downloader.
I know AWS doc talks a bit about this here https://docs.aws.amazon.com/freertos/latest/userguide/getting-started-cmake.html#developing-third-party, but they mention something about stm32l475_discovery
which is another vendor.
The reference for ESP32, is there too but merely from Command Line Interface: https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_espressif.html#getting_started_espressif_debugging
So my question is, should I follow the same instructions for AWS FreeRTOS as I were debugging a regular project on ESP-IDF 3.3? I want to keep using VS Code as my IDE.
The wiring would be like this
https://www.visualmicro.com/pics/Debug-Help-ESP32-PROG-JTAG-Connections.png
Regarding PlatformIO
, I haven't tried that yet. But eventually I will in the future.
Looking forward to hearing from you. Thanks a lot for your kind support.
I have used VSCode before with OpenOCD to set up debugging. You can find more information on that over here https://docs.espressif.com/projects/esp-idf/en/v3.3.2/api-guides/jtag-debugging/setup-openocd-windows.html
What you are looking for is not specific to freertos, but rather specific to VSCode or ESP IDF tools, so this may not be the best place for you to get help. That link lundinc posted to the VSCode extention with debug adaptor for VSCode should help.
I have used VSCode before with OpenOCD to set up debugging. You can find more information on that over here https://docs.espressif.com/projects/esp-idf/en/v3.3.2/api-guides/jtag-debugging/setup-openocd-windows.html
What you are looking for is not specific to freertos, but rather specific to VSCode or ESP IDF tools, so this may not be the best place for you to get help. That link lundinc posted to the VSCode extention with debug adaptor for VSCode should help.
@cobusve Hi, thanks for commenting. Fortunately, I was able to figure out how to make breakpoints, step through, in and out on AWS FreeRTOS ESP32, using that OpenOCD
software. I did it using VSCODE as my UI.
Thanks again for commenting.
I have used VSCode before with OpenOCD to set up debugging. You can find more information on that over here https://docs.espressif.com/projects/esp-idf/en/v3.3.2/api-guides/jtag-debugging/setup-openocd-windows.html What you are looking for is not specific to freertos, but rather specific to VSCode or ESP IDF tools, so this may not be the best place for you to get help. That link lundinc posted to the VSCode extention with debug adaptor for VSCode should help.
@cobusve Hi, thanks for commenting. Fortunately, I was able to figure out how to make breakpoints, step through, in and out on AWS FreeRTOS ESP32, using that
OpenOCD
software. I did it using VSCODE as my UI.Thanks again for commenting.
Hey, Can you guide for same. I am trying AWS Free RTOS Esp32 on VS Code and I am stuck at a step: "Build, flash, and run the FreeRTOS demo project" . I followed [https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_espressif.html#setup-espressif-idf33] this documentation. I will be very helpful, Thank you in advance.
Hi @aditi230,
If using VS Code, I'd suggest configuring tasks.json and defining tasks for running any shell commands that you need.
As @cobusve pointed out, this probably isn't the best place to get help for VS Code issues, so I would suggest trying another forum that's focused towards VS Code if you need further help.
Hello crew,
Is there any manual of how to build, program, and flash AWS FreeRTOS ESP32 on VS Code? How can we configure CMake on VScode in order to flash AWS FreeRTOS ESP32 projects?
All the info I have is this: https://www.freertos.org/2021/01/using-visual-studio-code-for-freertos-development.html
But it is not complete yet. I would really appreciate any comments on this. I've been searching (and even consulted on https://forums.freertos.org/t/how-to-compile-an-aws-freertos-esp32-project-using-vs-code/11785) and I have no answers so far.
Thanks in advance.