We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f96a007 commit ef174f0Copy full SHA for ef174f0
boards/arc/em_starterkit/arc_mpu_regions.c
@@ -14,7 +14,7 @@ static struct arc_mpu_region mpu_regions[] = {
14
/* Region ICCM */
15
MPU_REGION_ENTRY("IMAGE ROM",
16
(u32_t) _image_rom_start,
17
- (u32_t) _image_rom_end,
+ (u32_t) _image_rom_size,
18
REGION_FLASH_ATTR),
19
MPU_REGION_ENTRY("APP MEMORY",
20
(u32_t) __app_ram_start,
@@ -55,7 +55,7 @@ static struct arc_mpu_region mpu_regions[] = {
55
64 * 1024,
56
AUX_MPU_RDP_KW | AUX_MPU_RDP_KR),
57
};
58
-#else
+#else /* CONFIG_USERSPACE */
59
static struct arc_mpu_region mpu_regions[] = {
60
#if CONFIG_ICCM_SIZE > 0
61
0 commit comments