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.

preguntada hace 2 años292 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas