Skip to content

Commit 9288047

Browse files
committed
Add support for the port in the CMakeLists.txt files
1 parent 4a74745 commit 9288047

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ if(NOT FREERTOS_PORT)
8585
" GCC_ARM_CM85_NTZ_NONSECURE - Compiler: GCC Target: ARM Cortex-M85 non-trustzone non-secure\n"
8686
" GCC_ARM_CM85_TFM - Compiler: GCC Target: ARM Cortex-M85 non-secure for TF-M\n"
8787
" GCC_ARM_CR5 - Compiler: GCC Target: ARM Cortex-R5\n"
88+
" GCC_ARM_CRx_MPU - Compiler: GCC Target: ARM Cortex-Rx with MPU\n"
8889
" GCC_ARM_CRX_NOGIC - Compiler: GCC Target: ARM Cortex-Rx no GIC\n"
8990
" GCC_ARM7_AT91FR40008 - Compiler: GCC Target: ARM7 Atmel AT91R40008\n"
9091
" GCC_ARM7_AT91SAM7S - Compiler: GCC Target: ARM7 Atmel AT91SAM7S\n"

portable/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ add_library(freertos_kernel_port STATIC
193193
GCC/ARM_CR5/port.c
194194
GCC/ARM_CR5/portASM.S>
195195

196+
$<$<STREQUAL:${FREERTOS_PORT},GCC_ARM_CRX_MPU>:
197+
GCC/ARM_CRx_MPU/port.c
198+
GCC/ARM_CRx_MPU/portASM.S
199+
GCC/ARM_CRx_MPU/mpu_wrappers_v2_asm.S>
200+
196201
$<$<STREQUAL:${FREERTOS_PORT},GCC_ARM_CRX_NOGIC>:
197202
GCC/ARM_CRx_No_GIC/port.c
198203
GCC/ARM_CRx_No_GIC/portASM.S>

0 commit comments

Comments
 (0)