Page 1 of 1

ESP-cryptoauthlib build error

Posted: Tue Feb 21, 2023 10:45 am
by ialonso
Hello,

I have a project configured and it is running into my ESP32. However, now I need to include more security into my project. For that, I have included the component esp-cryptoauthlib, but when I build the project without any changes I get some errors:

  • vendors/espressif/boards/components/freertos/include/freertos/FreeRTOS.h:1:22: error: #include nested too deeply
    #include <FreeRTOS.h>
  • /vendors/espressif/boards/components/freertos/include/freertos/semphr.h:1:20: error: #include nested too deeply
    #include <semphr.h>
  • libraries/3rdparty/mbedtls_config/threading_alt.h:39:5: error: unknown type name 'SemaphoreHandle_t'
    SemaphoreHandle_t mutex; /**< @brief FreeRTOS semaphore. */
I can solve quite easily the first two, but I prefer to include them in the post just in case they are necessary to understand what it is happening into my project.

Maybe I have included the component badly, but I can see its menu into menuconfig. So I suppose that It is included correctly.

Anyone knows what I have done wrong?

Thanks in advance, Best regards
IƱaki