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:
parent
3553d4fa69
commit
25700ace0a
2 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -113,6 +113,9 @@ if DMA
|
|||
config DMA_STM32
|
||||
default y
|
||||
|
||||
config HEAP_MEM_POOL_SIZE
|
||||
default 1024
|
||||
|
||||
endif # DMA
|
||||
|
||||
endif # SOC_FAMILY_STM32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue