From 6cd17c1e8c611f549b1b7129a70d15f2e301f4a8 Mon Sep 17 00:00:00 2001 From: Andrei Gramakov Date: Mon, 2 Dec 2019 07:41:33 +0100 Subject: [PATCH] freertos: added a FreeRTOS property returning "original" include path --- components/freertos/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/freertos/CMakeLists.txt b/components/freertos/CMakeLists.txt index 185ee5a591..d69d442816 100644 --- a/components/freertos/CMakeLists.txt +++ b/components/freertos/CMakeLists.txt @@ -30,6 +30,9 @@ idf_component_register(SRCS "${srcs}" LDFRAGMENTS linker.lf REQUIRES app_trace PRIV_REQUIRES soc) + +idf_component_get_property(COMPONENT_DIR freertos COMPONENT_DIR) +idf_component_set_property(freertos ORIG_INCLUDE_PATH "${COMPONENT_DIR}/include/freertos/") if(CONFIG_FREERTOS_DEBUG_OCDAWARE) target_link_libraries(${COMPONENT_LIB} INTERFACE "-Wl,--undefined=uxTopUsedPriority")