"freertos/FreeRTOS.h" No such file or directory

m.bonIT
Posts: 2
Joined: Sun Nov 19, 2023 11:00 pm

"freertos/FreeRTOS.h" No such file or directory

Postby m.bonIT » Sun Jul 21, 2024 2:41 pm

Hi,

I use the ESP32 with the esp-idf libraries in version 4.3.6
I am creating a custom bootloader that must contain some functions present in nvs_flash.h.
I have this error at compile time: .../components/nvs_flash/src/nvs_platform.hpp:31:10: fatal error: freertos/FreeRTOS.h: No such file or directory
I use the VSCode IDE, but I also tried to compile everything from the command line. The same problem.
Inside the CMakeLists.txt file I inserted:
set(COMPONENTS
bootloader
esptool_py
esp_hw_support
hal
partition_table
soc
bootloader_support
log
spi_flash
micro-etc
main
efuse
esp_system
newlib
freertos
nvs_flash
)

What can I do?

Who is online

Users browsing this forum: Baidu [Spider], snutw_ and 55 guests