Re: Sample app hello_world fails with z_arm_usage_fault in arm_core_mpu_enable when linked in RAM
Maureen Helm
Hi Rob, You can set the following Kconfigs in your prj.conf:
CONFIG_CODE_ITCM=y CONFIG_DATA_DTCM=y
See soc/arm/nxp_imx/rt/Kconfig.soc for more details.
Maureen
From: users@... <users@...>
On Behalf Of robmcgurrin via Lists.Zephyrproject.Org
Sent: Friday, January 24, 2020 12:22 PM To: users@... Cc: users@... Subject: [Zephyr-users] Sample app hello_world fails with z_arm_usage_fault in arm_core_mpu_enable when linked in RAM
Hi, #ifdef CONFIG_XIP #define ROMABLE_REGION SRAM #define RAMABLE_REGION SRAM #else #define ROMABLE_REGION SRAM #define RAMABLE_REGION SRAM #endif And then I added this to prj.conf CONFIG_HAVE_CUSTOM_LINKER_SCRIPT=y CONFIG_CUSTOM_LINKER_SCRIPT="foo_linker.ld"
|
|