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.)

Kconfig definitions

At soc/arc/snps_emsk/Kconfig.defconfig.em7d:23

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_emsk/Kconfig.defconfig:14

Menu path: (top menu)

config ARC_MPU_VER
    int
    default 3 if BOARD_EM_STARTERKIT_R23 && SOC_EMSK_EM7D && SOC_EMSK
    default 2 if BOARD_EM_STARTERKIT_R22 && SOC_EMSK_EM7D && SOC_EMSK
    depends on SOC_EMSK_EM7D && SOC_EMSK

At soc/arc/snps_nsim/Kconfig.defconfig.em:21

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_nsim/Kconfig.defconfig:17

Menu path: (top menu)

config ARC_MPU_VER
    int
    default 2 if SOC_NSIM_EM && SOC_NSIM
    depends on SOC_NSIM_EM && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.sem:21

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_nsim/Kconfig.defconfig:18

Menu path: (top menu)

config ARC_MPU_VER
    int
    default 3 if SOC_NSIM_SEM && SOC_NSIM
    depends on SOC_NSIM_SEM && SOC_NSIM

At arch/arc/core/mpu/Kconfig:8

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15arch/arc/Kconfig:167

Menu path: (top menu) → ARC Options → ARCv2 Family Options → ARC MPU Options

config ARC_MPU_VER
    int
    prompt "ARC MPU version" if CPU_HAS_MPU && ARC
    range 2 4 if CPU_HAS_MPU && ARC
    default 2 if CPU_HAS_MPU && ARC
    depends on CPU_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.)