idf_component_register, externalproject_add with IDF?

kammutierspule
Posts: 6
Joined: Sat Apr 11, 2020 9:25 am

idf_component_register, externalproject_add with IDF?

Postby kammutierspule » Thu Aug 29, 2024 12:58 pm

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?

ESP_Sprite
Posts: 9618
Joined: Thu Nov 26, 2015 4:08 am

Re: idf_component_register, externalproject_add with IDF?

Postby ESP_Sprite » Fri Aug 30, 2024 12:55 am

You probably need a proper 'REQUIRES' line in your idf_component_register.

Who is online

Users browsing this forum: No registered users and 91 guests