Merge branch 'feature/freertos_authentic_includes' into 'master'

Added freertos property allowing use "authentic" include path

See merge request espressif/esp-idf!6808
This commit is contained in:
Ivan Grokhotkov
2019-12-09 22:39:27 +08:00

View File

@@ -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")