Skip to content

Commit 91a59e7

Browse files
GrixaYrevdkalowsk
authored andcommitted
soc: nxp: imxrt: exclude mpu_regions.c when ARM_MPU disabled
When option ARM_MPU is disabled exclude soc\nxp\imxrt\mpu_regions.c. It is needed to remove constraints of SRAM and FLASH size. Fixes #70920 Signed-off-by: Grixa Yrev <[email protected]>
1 parent 60442a2 commit 91a59e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/nxp/imxrt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(CONFIG_SOC_SERIES_IMXRT10XX OR CONFIG_SOC_SERIES_IMXRT11XX)
1616
if(CONFIG_EXTERNAL_MEM_CONFIG_DATA)
1717
set(boot_hdr_xmcd_data_section ".boot_hdr.xmcd_data")
1818
endif()
19-
zephyr_sources(mpu_regions.c)
19+
zephyr_sources_ifdef(CONFIG_ARM_MPU mpu_regions.c)
2020
zephyr_linker_section_configure(
2121
SECTION .rom_start
2222
INPUT ".boot_hdr.conf"

0 commit comments

Comments
 (0)