CONFIG_NRF_ENABLE_CACHE

Enable cache

Type: bool

Help

Instruction and Data cache is available on nRF5340 CPUAPP (Application MCU). It may only be accessed by Secure code.

Instruction cache only (I-Cache) is available in nRF5340 CPUNET (Network MCU).

Direct dependencies

((SOC_NRF5340_CPUAPP && !TRUSTED_EXECUTION_NONSECURE) || SOC_NRF5340_CPUNET) && SOC_FAMILY_NRF

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.soc:146

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:28<Zephyr>/soc/Kconfig:11<BuildDir>/Kconfig/Kconfig.soc.arch:2<Zephyr>/soc/arm/nordic_nrf/Kconfig:17

Menu path: (Top) → Hardware Configuration

config NRF_ENABLE_CACHE
    bool "Enable cache"
    default y
    depends on ((SOC_NRF5340_CPUAPP && !TRUSTED_EXECUTION_NONSECURE) || SOC_NRF5340_CPUNET) && SOC_FAMILY_NRF
    help
      Instruction and Data cache is available on nRF5340 CPUAPP
      (Application MCU). It may only be accessed by Secure code.

      Instruction cache only (I-Cache) is available in nRF5340
      CPUNET (Network MCU).

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