diff --git a/FreeRTOS/Demo/Posix_GCC/CMakeLists.txt b/FreeRTOS/Demo/Posix_GCC/CMakeLists.txt index 446e8f10ce..8abeb4ef87 100644 --- a/FreeRTOS/Demo/Posix_GCC/CMakeLists.txt +++ b/FreeRTOS/Demo/Posix_GCC/CMakeLists.txt @@ -42,7 +42,8 @@ target_include_directories( freertos_config INTERFACE ./ ./Trace_Recorder_Configuration - ${FREERTOS_PLUS_TRACE_PATH}/Include + ${FREERTOS_PLUS_TRACE_PATH}/include + ${FREERTOS_PLUS_TRACE_PATH}/kernelports/FreeRTOS/include ) # Select the heap port @@ -60,7 +61,7 @@ target_compile_options( freertos_kernel $ ) -file( GLOB FREERTOS_PLUS_TRACE_SOURCES ${FREERTOS_PLUS_TRACE_PATH}/*.c ) +file( GLOB FREERTOS_PLUS_TRACE_SOURCES ${FREERTOS_PLUS_TRACE_PATH}/*.c ${FREERTOS_PLUS_TRACE_PATH}/kernelports/FreeRTOS/*.c ) add_executable( posix_demo code_coverage_additions.c