-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom mpu regions for imxrt #70920
Comments
I suggest to add configuration option |
Option NXP_IMX_RT_USER_MPU_REGIONS exclude soc file mpu_regions.c and allow user define custom mpu_regions in custom file. Fixes zephyrproject-rtos#70920 Signed-off-by: Grixa Yrev <GrixaYrev@yandex.ru>
@GrixaYrev, isn't the board level device tree entry for SDRAM with CONFIG_NXP_IMX_EXTERNAL_SDRAM supposed to handle this? |
Option NXP_IMX_RT_USER_MPU_REGIONS exclude soc file mpu_regions.c and allow user define custom mpu_regions in custom file. Fixes zephyrproject-rtos#70920 Signed-off-by: Grixa Yrev <GrixaYrev@yandex.ru>
@dleach02, no, first two items of
If i set |
Please prepare a PR so I can route it appropriately for internal review. |
Option NXP_IMX_RT_USER_MPU_REGIONS exclude soc file mpu_regions.c and allow user define custom mpu_regions in custom file. Fixes zephyrproject-rtos#70920 Signed-off-by: Grixa Yrev <GrixaYrev@yandex.ru>
Option NXP_IMX_RT_USER_MPU_REGIONS exclude soc file mpu_regions.c and allow user define custom mpu_regions in custom file. Fixes zephyrproject-rtos#70920 Signed-off-by: Grixa Yrev <GrixaYrev@yandex.ru>
Option NXP_IMX_RT_USER_MPU_REGIONS exclude soc file mpu_regions.c and allow user define custom mpu_regions in custom file. Fixes zephyrproject-rtos#70920 Signed-off-by: Grixa Yrev <GrixaYrev@yandex.ru>
Option NXP_IMX_RT_USER_MPU_REGIONS exclude soc file mpu_regions.c and allow user define custom mpu_regions in custom file. Fixes zephyrproject-rtos#70920 Signed-off-by: Grixa Yrev <GrixaYrev@yandex.ru>
Option NXP_IMX_RT_USER_MPU_REGIONS exclude soc file mpu_regions.c and allow user define custom mpu_regions in custom file. Fixes zephyrproject-rtos#70920 Signed-off-by: Grixa Yrev <GrixaYrev@yandex.ru>
File
zephyr\soc\nxp\imxrt\mpu_regions.c
is included to sources unconditionally. So i can't use SRAM size more than 16M and less than 32M, because error inzephyr\include\zephyr\arch\arm\cortex_m\arm_mpu_mem_cfg.h:72
is rised: "Unsupported sram size configuration".I think additional Kconfig option need for exclude
zephyr\soc\nxp\imxrt\mpu_regions.c
from sources.I use custom board based on iMX.RT1052 with external SDRAM. Part SDRAM used as FLASH (for bootloader and application), other space as RAM.
Version of Zephyr – 3.6.99 (SHA 0714052)
prj.conf:
The text was updated successfully, but these errors were encountered: