Page 1 of 1

get freertos_config INTERFACE target in custom cmake

Posted: Fri Feb 07, 2025 10:18 am
by esrdev
i am trying to use the ESP32 port of freertos-plus tcpip stack

freertos plus tcp need https://github.com/FreeRTOS/FreeRTOS-Pl ... 5C1-L104C1 following targets to compile

freertos_config
freertos_kernel

and the esp32 networkinterface https://github.com/FreeRTOS/FreeRTOS-Pl ... face/esp32 need idf components/targets.


After looking at the buildsystem documentation https://docs.espressif.com/projects/esp ... components i have following questions.
1. Do i have to follow the idf component way or go the plain cmake way with idf as library?
2. It seems idf export a idf::freertos target, not an interface freertos_config target nor a freertos_kernel target, how can i get the two targets?
3. the networkinterface need an esp_lib target wich i assume does not exist, how do i compose this target using idf:: targets/components