This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 and v4, the minimum region is 32 bytes

Defaults

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_ARC_IOT

At soc/arc/snps_emsdp/Kconfig.defconfig.em4:12

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_emsdp/Kconfig.defconfig:14

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_EMSDP_EM4 && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em5d:12

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_emsdp/Kconfig.defconfig:15

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_EMSDP_EM5D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em6:12

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_emsdp/Kconfig.defconfig:16

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_EMSDP_EM6 && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em7d:12

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_emsdp/Kconfig.defconfig:17

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_EMSDP_EM7D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em7d_esp:12

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_emsdp/Kconfig.defconfig:18

Menu path: (Top)

config ARC_MPU_VER
    int
    default 4
    depends on SOC_EMSDP_EM7D_ESP && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em9d:12

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_emsdp/Kconfig.defconfig:19

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_EMSDP_EM9D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em11d:12

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_emsdp/Kconfig.defconfig:20

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_EMSDP_EM11D && SOC_ARC_EMSDP

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

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_emsk/Kconfig.defconfig:10

Menu path: (Top)

config ARC_MPU_VER
    int
    default 4 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:18

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_nsim/Kconfig.defconfig:15

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_NSIM_EM && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.em7d_v22:18

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_nsim/Kconfig.defconfig:16

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_NSIM_EM7D_V22 && SOC_NSIM

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

Included via Kconfig:8Kconfig.zephyr:27soc/arc/snps_nsim/Kconfig.defconfig:17

Menu path: (Top)

config ARC_MPU_VER
    int
    default 4
    depends on SOC_NSIM_SEM && SOC_NSIM

At soc/arc/snps_qemu/Kconfig.defconfig:34

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config ARC_MPU_VER
    int
    default 2
    depends on SOC_QEMU_ARC

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

Included via Kconfig:8Kconfig.zephyr:37arch/Kconfig:12arch/arc/Kconfig:324

Menu path: (Top) → ARC Options → ARC CPU 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 and v4, the minimum region is 32 bytes

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