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

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