From 5fc7a750a0d603c1c68d554226d91d44ba922173 Mon Sep 17 00:00:00 2001 From: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com> Date: Sat, 10 Feb 2024 15:14:46 +0530 Subject: [PATCH] update CMakeLists.txt for Posix GCC Demo (#1185) --- FreeRTOS/Demo/Posix_GCC/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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