CONFIG_KERNEL_RAM_SIZE

Total size of RAM mappings in bytes

Type: hex

Help

Indicates to the kernel the total size of RAM that is mapped. The kernel expects that all physical RAM has a memory mapping in the virtual address space, and that these RAM mappings are all within the virtual region [KERNEL_VM_BASE..KERNEL_VM_BASE + KERNEL_RAM_SIZE).

Direct dependencies

MMU

(Includes any dependencies from ifs and menus.)

Default

  • 0x0

Kconfig definition

At <Zephyr>/arch/Kconfig:628

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

Menu path: (Top) → Enable MMU features

config KERNEL_RAM_SIZE
    hex "Total size of RAM mappings in bytes"
    default 0x0
    depends on MMU
    help
      Indicates to the kernel the total size of RAM that is mapped. The
      kernel expects that all physical RAM has a memory mapping in the virtual
      address space, and that these RAM mappings are all within the virtual
      region [KERNEL_VM_BASE..KERNEL_VM_BASE + KERNEL_RAM_SIZE).

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