diff --git a/Source/include.cmake b/Source/include.cmake index 228b31b7..4cc3deea 100644 --- a/Source/include.cmake +++ b/Source/include.cmake @@ -1,8 +1,17 @@ include_directories(${FW3_RTOS_DIR}/include) +if(SECURE_APP + MATCHES + ON) set(FREERTOS_CONFIG_FILE_DIRECTORY - ${FW3_APPLICATION_DIR}/Include + ${FW3_COMMON_APPLICATION_DIR}/Include/configuration/Secure CACHE STRING "") +else() +set(FREERTOS_CONFIG_FILE_DIRECTORY + ${FW3_COMMON_APPLICATION_DIR}/Include/configuration/NonSecure + CACHE STRING "") +endif() + set(FREERTOS_HEAP ${FW3_COMPONENTS_DIR}/Source/no_heap.c CACHE STRING "")