Skip to content

Commit

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

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

Please sign in to comment.