-
CONFIG_ARC_MPU_VER
¶
ARC MPU version
Type: int
Help¶
ARC MPU has several versions. For MPU v2, the minimum region is 2048 bytes; For MPU v3, the minimum region is 32 bytes
Direct dependencies¶
SOC_ARC_IOT
|| (SOC_EMSK_EM7D
&& SOC_EMSK
) || (SOC_NSIM_EM
&& SOC_NSIM
) || (SOC_NSIM_SEM
&& SOC_NSIM
) || (CPU_HAS_MPU
&& ARC
)
(Includes any dependencies from if’s and menus.)
Defaults¶
- 2 if
SOC_ARC_IOT
- 3 if
BOARD_EM_STARTERKIT_R23
&&SOC_EMSK_EM7D
&&SOC_EMSK
- 2 if
BOARD_EM_STARTERKIT_R22
&&SOC_EMSK_EM7D
&&SOC_EMSK
- 2 if
SOC_NSIM_EM
&&SOC_NSIM
- 3 if
SOC_NSIM_SEM
&&SOC_NSIM
- 2 if
CPU_HAS_MPU
&&ARC
Kconfig definitions¶
At soc/arc/snps_arc_iot/Kconfig.defconfig:22
Included via Kconfig:10
→ Kconfig.zephyr:23
Menu path: (top menu)
config ARC_MPU_VER int default 2 ifSOC_ARC_IOT
depends onSOC_ARC_IOT
At soc/arc/snps_emsk/Kconfig.defconfig.em7d:23
Included via Kconfig:10
→ Kconfig.zephyr:23
→ soc/arc/snps_emsk/Kconfig.defconfig:14
Menu path: (top menu)
config ARC_MPU_VER int default 3 ifBOARD_EM_STARTERKIT_R23
&&SOC_EMSK_EM7D
&&SOC_EMSK
default 2 ifBOARD_EM_STARTERKIT_R22
&&SOC_EMSK_EM7D
&&SOC_EMSK
depends onSOC_EMSK_EM7D
&&SOC_EMSK
At soc/arc/snps_nsim/Kconfig.defconfig.em:21
Included via Kconfig:10
→ Kconfig.zephyr:23
→ soc/arc/snps_nsim/Kconfig.defconfig:17
Menu path: (top menu)
config ARC_MPU_VER int default 2 ifSOC_NSIM_EM
&&SOC_NSIM
depends onSOC_NSIM_EM
&&SOC_NSIM
At soc/arc/snps_nsim/Kconfig.defconfig.sem:21
Included via Kconfig:10
→ Kconfig.zephyr:23
→ soc/arc/snps_nsim/Kconfig.defconfig:18
Menu path: (top menu)
config ARC_MPU_VER int default 3 ifSOC_NSIM_SEM
&&SOC_NSIM
depends onSOC_NSIM_SEM
&&SOC_NSIM
At arch/arc/core/mpu/Kconfig:8
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
→ arch/arc/Kconfig:167
Menu path: (top menu) → ARC Options → ARCv2 Family Options → ARC MPU Options
config ARC_MPU_VER int prompt "ARC MPU version" ifCPU_HAS_MPU
&&ARC
range 2 4 ifCPU_HAS_MPU
&&ARC
default 2 ifCPU_HAS_MPU
&&ARC
depends onCPU_HAS_MPU
&&ARC
help ARC MPU has several versions. For MPU v2, the minimum region is 2048 bytes; For MPU v3, the minimum region is 32 bytes
(Definitions include propagated dependencies, including from if’s and menus.)