Page 1 of 1

idf_component_register, externalproject_add with IDF?

Posted: Thu Aug 29, 2024 12:58 pm
by kammutierspule
I have a component
I'm using idf_component_register and then I use externalproject_add.
It all builds, link and runs ok until I start to include ESP32 IDF libraries
then I get errors such as

Code: Select all

fatal error: freertos/FreeRTOS.h: No such file or directory
How do I build external components but still using IDF resources?

Re: idf_component_register, externalproject_add with IDF?

Posted: Fri Aug 30, 2024 12:55 am
by ESP_Sprite
You probably need a proper 'REQUIRES' line in your idf_component_register.