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(). The maximum size of the memory pool is only limited to available memory. A size of zero means that no heap memory pool is defined.

Defaults

Kconfig definitions

At <Zephyr>/boards/arm/lpcxpresso55s69/Kconfig.defconfig:74

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

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096
    depends on DMA_MCUX_LPC

At <Zephyr>/boards/arm/mimxrt685_evk/Kconfig.defconfig:46

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

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096
    depends on DMA_MCUX_LPC && BOARD_MIMXRT685_EVK

At <Zephyr>/soc/arm/atmel_sam0/common/Kconfig.defconfig.series:49

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 1024
    depends on USB && SOC_FAMILY_SAM0

At <Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.nrf5340_CPUAPP_QKAA:33

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nordic_nrf/Kconfig.defconfig:8<Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.series:8

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if NRF_802154_SER_HOST
    depends on SOC_NRF5340_CPUAPP_QKAA && SOC_SERIES_NRF53X && SOC_FAMILY_NRF

At <Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.nrf5340_CPUNET_QKAA:18

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nordic_nrf/Kconfig.defconfig:8<Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.series:8

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if NRF_802154_SER_RADIO
    depends on SOC_NRF5340_CPUNET_QKAA && SOC_SERIES_NRF53X && SOC_FAMILY_NRF

At <Zephyr>/soc/arm/st_stm32/common/Kconfig.defconfig.series:78

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 1024
    depends on DMAMUX_STM32 && DMA && SOC_FAMILY_STM32

At <Zephyr>/boards/arm/nrf5340dk_nrf5340/Kconfig:27

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/boards/Kconfig:48

Menu path: (Top) → Board Options

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if BT_RPMSG
    depends on BOARD_NRF5340PDK_NRF5340_CPUAPP || BOARD_NRF5340PDK_NRF5340_CPUAPPNS || BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPPNS

At <Zephyr>/kernel/Kconfig:509

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

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

config HEAP_MEM_POOL_SIZE
    int "Heap memory pool size (in bytes)"
    default 0 if !POSIX_MQUEUE
    default 1024 if POSIX_MQUEUE
    depends on KERNEL_MEM_POOL
    help
      This option specifies the size of the heap memory pool used when
      dynamically allocating memory using k_malloc(). The maximum size of
      the memory pool is only limited to available memory. A size of zero
      means that no heap memory pool is defined.

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