CONFIG_HEAP_MEM_POOL_SIZE

Heap memory pool size (in bytes)

Type: int

Help

This option specifies the size of the heap memory pool used when dynamically allocating memory using k_malloc(). Supported values are: 256, 1024, 4096, and 16384. A size of zero means that no heap memory pool is defined.

Defaults

Kconfig definitions

At boards/xtensa/intel_s1000_crb/Kconfig.defconfig:50

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 1024
    depends on DMA_DW && BOARD_INTEL_S1000_CRB

At soc/arm/st_stm32/common/Kconfig.defconfig.series:116

Included via Kconfig:8Kconfig.zephyr:28soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 1024
    depends on DMA && SOC_FAMILY_STM32

At boards/arm/nrf5340_dk_nrf5340/Kconfig:27

Included via Kconfig:8Kconfig.zephyr:30boards/Kconfig:32

Menu path: (Top) → Board Options

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if BT_RPMSG
    depends on BOARD_NRF5340_DK_NRF5340_CPUAPP || BOARD_NRF5340_DK_NRF5340_CPUAPPNS

At kernel/Kconfig:477

Included via Kconfig:8Kconfig.zephyr:36

Menu path: (Top) → General Kernel Options → Other Kernel Object Options

config HEAP_MEM_POOL_SIZE
    int "Heap memory pool size (in bytes)"
    default 0 if !POSIX_MQUEUE
    default 1024 if POSIX_MQUEUE
    help
      This option specifies the size of the heap memory pool used when
      dynamically allocating memory using k_malloc(). Supported values
      are: 256, 1024, 4096, and 16384. A size of zero means that no
      heap memory pool is defined.

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