-
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¶
1024
1024
1024
4096 if
BT_RPMSG
0 if !
POSIX_MQUEUE
1024 if
POSIX_MQUEUE
Kconfig definitions¶
At boards/xtensa/intel_s1000_crb/Kconfig.defconfig:48
Included via Kconfig:8
→ Kconfig.zephyr:24
Menu path: (Top)
config HEAP_MEM_POOL_SIZE int default 1024 depends onDMA_DW
&&BOARD_INTEL_S1000_CRB
At boards/xtensa/up_squared_adsp/Kconfig.defconfig:38
Included via Kconfig:8
→ Kconfig.zephyr:24
Menu path: (Top)
config HEAP_MEM_POOL_SIZE int default 1024 depends onDMA_DW
&&BOARD_UP_SQUARED_ADSP
At soc/arm/st_stm32/common/Kconfig.defconfig.series:86
Included via Kconfig:8
→ Kconfig.zephyr:25
→ soc/arm/st_stm32/Kconfig.defconfig:3
Menu path: (Top)
config HEAP_MEM_POOL_SIZE int default 1024 depends onDMA
&&SOC_FAMILY_STM32
At boards/arm/nrf5340_dk_nrf5340/Kconfig:27
Included via Kconfig:8
→ Kconfig.zephyr:27
→ boards/Kconfig:32
Menu path: (Top) → Board Options
config HEAP_MEM_POOL_SIZE int default 4096 ifBT_RPMSG
depends onBOARD_NRF5340_DK_NRF5340_CPUAPP
||BOARD_NRF5340_DK_NRF5340_CPUAPPNS
At kernel/Kconfig:477
Included via Kconfig:8
→ Kconfig.zephyr:30
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 ifPOSIX_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.)