Skip to content

Commit

Permalink
Add FreeRTOS config directory to include dirs (FreeRTOS#548)
Browse files Browse the repository at this point in the history
This allows the application write to set FREERTOS_CONFIG_FILE_DIRECTORY
to whichever directory the FreeRTOSConfig.h file exists in.

This was reported here - FreeRTOS#545

Signed-off-by: Gaurav Aggarwal <[email protected]>
  • Loading branch information
aggarg authored and chinglee-iot committed Nov 10, 2022
1 parent 007dc4e commit 07998f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion portable/ThirdParty/GCC/RP2040/library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ target_sources(FreeRTOS-Kernel INTERFACE
)

target_include_directories(FreeRTOS-Kernel INTERFACE
${CMAKE_CURRENT_LIST_DIR}/include)
${CMAKE_CURRENT_LIST_DIR}/include
${FREERTOS_CONFIG_FILE_DIRECTORY})

target_link_libraries(FreeRTOS-Kernel INTERFACE
FreeRTOS-Kernel-Core
Expand Down

0 comments on commit 07998f9

Please sign in to comment.