ota esp32 demo code error

0

cmake -DVENDOR=espressif -DBOARD=esp32_devkitc -DCOMPILER=xtensa-esp32 -G Ninja -S . -B ..\build
-- Configuring done -- Generating done -- Build files have been written to: C:/gau/AWS/ESP32/freertos-1643010662146/build

cmake --build ..\build
C:\gau\AWS\ESP32\freertos-1643010662146\FreeRTOS>cmake --build ..\build
In file included from C:/gau/AWS/ESP32/freertos-1643010662146/FreeRTOS/vendors/espressif/esp-idf/components/newlib/platform_include/time.h:22, from C:/gau/AWS/ESP32/freertos-1643010662146/FreeRTOS/libraries/3rdparty/mbedtls/include/mbedtls/platform_time.h:77, from C:/gau/AWS/ESP32/freertos-1643010662146/FreeRTOS/libraries/3rdparty/mbedtls/include/mbedtls/platform.h:68, from C:/gau/AWS/ESP32/freertos-1643010662146/FreeRTOS/libraries/abstractions/pkcs11/corePKCS11/source/portable/mbedtls/core_pkcs11_mbedtls.c:46: c:\users\rhonakam.espressif\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\time.h:303: note: this is the location of the previous definition #define CLOCK_BOOTTIME ((clockid_t) 7)

[11/1651] Building C object CMakeFiles/afr_tls.dir/vendors/espressif/esp-idf/components/mbedtls/port/esp_bignum.c.obj ninja: build stopped: subcommand failed.

已提问 2 年前288 查看次数
1 回答
0

Thank you for bringing this issue to our attention. To better help you - can you please tell me what steps you took to produce this issue?

I will also need to know which demo you are building as there are two OTA demos - MQTT and HTTP based OTA.

AWS
KodyAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则