-
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.
Direct dependencies¶
DMA_MCUX_LPC
|| DMA_MCUX_LPC
|| (DMA_MCUX_LPC
&& BOARD_MIMXRT685_EVK
) || (USB
&& SOC_FAMILY_SAM0
) || (SOC_NRF5340_CPUAPP_QKAA
&& SOC_SERIES_NRF53X
&& SOC_FAMILY_NRF
) || (SOC_NRF5340_CPUNET_QKAA
&& SOC_SERIES_NRF53X
&& SOC_FAMILY_NRF
) || BOARD_NRF5340PDK_NRF5340_CPUAPP
|| BOARD_NRF5340PDK_NRF5340_CPUAPPNS
|| BOARD_NRF5340DK_NRF5340_CPUAPP
|| BOARD_NRF5340DK_NRF5340_CPUAPPNS
|| KERNEL_MEM_POOL
(Includes any dependencies from ifs and menus.)
Defaults¶
4096
4096
4096
1024
4096 if
NRF_802154_SER_HOST
4096 if
NRF_802154_SER_RADIO
4096 if
BT_RPMSG
0 if !
POSIX_MQUEUE
1024 if
POSIX_MQUEUE
Kconfig definitions¶
At <Zephyr>/boards/arm/lpcxpresso55s28/Kconfig.defconfig:63
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config HEAP_MEM_POOL_SIZE
int
default 4096
depends on DMA_MCUX_LPC
At <Zephyr>/boards/arm/lpcxpresso55s69/Kconfig.defconfig:80
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
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:18
Menu path: (Top)
config HEAP_MEM_POOL_SIZE int default 4096 depends onDMA_MCUX_LPC
&&BOARD_MIMXRT685_EVK
At <Zephyr>/soc/arm/atmel_sam0/common/Kconfig.defconfig.series:49
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <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 onUSB
&&SOC_FAMILY_SAM0
At <Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.nrf5340_CPUAPP_QKAA:33
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <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 ifNRF_802154_SER_HOST
depends onSOC_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:19
→ <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 ifNRF_802154_SER_RADIO
depends onSOC_NRF5340_CPUNET_QKAA
&&SOC_SERIES_NRF53X
&&SOC_FAMILY_NRF
At <Zephyr>/boards/arm/nrf5340dk_nrf5340/Kconfig:63
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:27
→ <Zephyr>/boards/Kconfig:57
Menu path: (Top) → Board Options
config HEAP_MEM_POOL_SIZE int default 4096 ifBT_RPMSG
depends onBOARD_NRF5340PDK_NRF5340_CPUAPP
||BOARD_NRF5340PDK_NRF5340_CPUAPPNS
||BOARD_NRF5340DK_NRF5340_CPUAPP
||BOARD_NRF5340DK_NRF5340_CPUAPPNS
At <Zephyr>/kernel/Kconfig:505
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 ifPOSIX_MQUEUE
depends onKERNEL_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.)