Skip to content

Commit 3e6dbc7

Browse files
aggargchinglee-iot
authored andcommitted
Add FreeRTOS config directory to include dirs (FreeRTOS#548)
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 <aggarg@amazon.com>
1 parent c9d3b11 commit 3e6dbc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

portable/ThirdParty/GCC/RP2040/library.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ target_sources(FreeRTOS-Kernel INTERFACE
2727
)
2828

2929
target_include_directories(FreeRTOS-Kernel INTERFACE
30-
${CMAKE_CURRENT_LIST_DIR}/include)
30+
${CMAKE_CURRENT_LIST_DIR}/include
31+
${FREERTOS_CONFIG_FILE_DIRECTORY})
3132

3233
target_link_libraries(FreeRTOS-Kernel INTERFACE
3334
FreeRTOS-Kernel-Core

0 commit comments

Comments
 (0)