-
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_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¶
- 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 arch/arc/soc/snps_emsk/Kconfig.defconfig.em7d:23
Included via Kconfig:10
→ Kconfig.zephyr:20
→ arch/arc/soc/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 arch/arc/soc/snps_nsim/Kconfig.defconfig.em:21
Included via Kconfig:10
→ Kconfig.zephyr:20
→ arch/arc/soc/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 arch/arc/soc/snps_nsim/Kconfig.defconfig.sem:21
Included via Kconfig:10
→ Kconfig.zephyr:20
→ arch/arc/soc/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:23
→ arch/Kconfig:16
→ arch/arc/Kconfig:163
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.)