CONFIG_SRAM_SIZE

SRAM Size in kB

Type: int

Help

The SRAM size in kB. The default value comes from /chosen/zephyr,sram in devicetree. The user should generally avoid changing it via menuconfig or in configuration files.

Defaults

  • 0

  • 0

Kconfig definitions

At <Zephyr>/boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig:61

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:18

Menu path: (Top)

config SRAM_SIZE
    int
    default 0
    depends on (BOARD_NRF5340PDK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPP) && TRUSTED_EXECUTION_SECURE && (BOARD_NRF5340PDK_NRF5340_CPUAPP || BOARD_NRF5340PDK_NRF5340_CPUAPPNS || BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPPNS)

At <nRF>/subsys/partition_manager/Kconfig:19

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/Kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:36

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Partition Manager

config SRAM_SIZE
    int
    depends on !PARTITION_MANAGER_ENABLED

At <Zephyr>/arch/Kconfig:146

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29

Menu path: (Top) → General Architecture Options

config SRAM_SIZE
    int "SRAM Size in kB"
    default 0
    help
      The SRAM size in kB. The default value comes from /chosen/zephyr,sram in
      devicetree. The user should generally avoid changing it via menuconfig or
      in configuration files.

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