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 <GrixaYrev@yandex.ru>
This commit is contained in:
parent
60442a221a
commit
91a59e7e15
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ if(CONFIG_SOC_SERIES_IMXRT10XX OR CONFIG_SOC_SERIES_IMXRT11XX)
|
|||
if(CONFIG_EXTERNAL_MEM_CONFIG_DATA)
|
||||
set(boot_hdr_xmcd_data_section ".boot_hdr.xmcd_data")
|
||||
endif()
|
||||
zephyr_sources(mpu_regions.c)
|
||||
zephyr_sources_ifdef(CONFIG_ARM_MPU mpu_regions.c)
|
||||
zephyr_linker_section_configure(
|
||||
SECTION .rom_start
|
||||
INPUT ".boot_hdr.conf"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue