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 ifs and menus.)

Kconfig definitions

At soc/arc/snps_arc_iot/Kconfig.defconfig:22

Included via Kconfig:10Kconfig.zephyr:28

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_ARC_IOT

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

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

Menu path: (Top)

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

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

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

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_NSIM_EM && SOC_NSIM

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

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

Menu path: (Top)

config ARC_MPU_VER
    int
    default 3
    depends on SOC_NSIM_SEM && SOC_NSIM

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

Included via Kconfig:10Kconfig.zephyr:34arch/Kconfig:15arch/arc/Kconfig:169

Menu path: (Top) → ARC Options → ARCv2 Family Options → ARC MPU Options

config ARC_MPU_VER
    int "ARC MPU version"
    range 2 4
    default 2
    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

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)