soc: arm: stm32: define the heap size when enabling dma feature

when DMA IP is enabled on stm32 series,
the heap size must be configured to large value
because of dma channels configuration.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2020-01-23 17:09:32 +01:00 committed by Kumar Gala
commit 25700ace0a
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,6 @@ config DMA_STM32
bool "Enable STM32 DMA driver"
select DYNAMIC_INTERRUPTS
depends on SOC_FAMILY_STM32
depends on HEAP_MEM_POOL_SIZE != 0
help
DMA driver for STM32 series SoCs.

View file

@ -113,6 +113,9 @@ if DMA
config DMA_STM32
default y
config HEAP_MEM_POOL_SIZE
default 1024
endif # DMA
endif # SOC_FAMILY_STM32