Skip to content

Commit

Permalink
Add FreeRTOS config directory to include dirs
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 - #545

Signed-off-by: Gaurav Aggarwal <[email protected]>
  • Loading branch information
aggarg committed Aug 22, 2022
1 parent 11c72bc commit 225028c
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 225028c

Please sign in to comment.