From 7f583fc9bb1a81b25ae725953afd044062882653 Mon Sep 17 00:00:00 2001 From: Jonathan Lee Date: Fri, 2 Aug 2024 14:17:57 -0700 Subject: [PATCH] G3P-X: Use common FreeRTOS app config include path --- Source/include.cmake | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Source/include.cmake b/Source/include.cmake index 228b31b7..a6c9eebb 100644 --- a/Source/include.cmake +++ b/Source/include.cmake @@ -1,8 +1,18 @@ include_directories(${FW3_RTOS_DIR}/include) + +if(SECURE_APP + MATCHES + ON) +set(FREERTOS_CONFIG_FILE_DIRECTORY + ${FW3_COMMON_APPLICATION_DIR}/Include/configuration/Secure + CACHE STRING "") +else() set(FREERTOS_CONFIG_FILE_DIRECTORY - ${FW3_APPLICATION_DIR}/Include + ${FW3_COMMON_APPLICATION_DIR}/Include/configuration/NonSecure CACHE STRING "") +endif() + set(FREERTOS_HEAP ${FW3_COMPONENTS_DIR}/Source/no_heap.c CACHE STRING "")