add CFG_TUSB_OS_INC_PATH for os include path

useful for freertos/ prefix with esp IDF
This commit is contained in:
hathach
2021-09-25 16:16:55 +07:00
parent 1c17cb1c45
commit 73872a5df0
15 changed files with 64 additions and 28 deletions

View File

@@ -6,9 +6,7 @@ idf_component_register(SRCS esp32s2.c
# Apply board specific content
include("${BOARD}/board.cmake")
idf_component_get_property( FREERTOS_ORIG_INCLUDE_PATH freertos ORIG_INCLUDE_PATH)
target_include_directories(${COMPONENT_TARGET} PUBLIC
"${FREERTOS_ORIG_INCLUDE_PATH}"
"${TOP}/hw"
"${TOP}/src"
)