freertos: added a FreeRTOS property returning "original" include path
This commit is contained in:
parent
f5e60524ac
commit
6cd17c1e8c
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ idf_component_register(SRCS "${srcs}"
|
||||||
REQUIRES app_trace
|
REQUIRES app_trace
|
||||||
PRIV_REQUIRES soc)
|
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)
|
if(CONFIG_FREERTOS_DEBUG_OCDAWARE)
|
||||||
target_link_libraries(${COMPONENT_LIB} INTERFACE "-Wl,--undefined=uxTopUsedPriority")
|
target_link_libraries(${COMPONENT_LIB} INTERFACE "-Wl,--undefined=uxTopUsedPriority")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue