diff --git a/portable/ThirdParty/GCC/RP2040/library.cmake b/portable/ThirdParty/GCC/RP2040/library.cmake index 075ec2b88fc..6b125fab8b8 100644 --- a/portable/ThirdParty/GCC/RP2040/library.cmake +++ b/portable/ThirdParty/GCC/RP2040/library.cmake @@ -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