drivers: dma: dmamux init needs k_malloc
The dmamux requires HEAP size definition, so that k_malloc is valid. The HEAP size config is defined in the common for any stm32 soc instead of specific to dma Kconfig Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
40c71cbe47
commit
fafb72f8ed
2 changed files with 4 additions and 7 deletions
|
@ -39,11 +39,4 @@ config DMA_STM32_SHARED_IRQS
|
|||
help
|
||||
Enable shared IRQ support on devices where channels share 1 IRQ.
|
||||
|
||||
if DMAMUX_STM32
|
||||
|
||||
config HEAP_MEM_POOL_SIZE
|
||||
default 1024
|
||||
|
||||
endif # DMAMUX_STM32
|
||||
|
||||
endif # DMA_STM32
|
||||
|
|
|
@ -75,6 +75,10 @@ if DMA
|
|||
config DMA_STM32
|
||||
default y
|
||||
|
||||
config HEAP_MEM_POOL_SIZE
|
||||
default 1024
|
||||
depends on DMAMUX_STM32
|
||||
|
||||
endif # DMA
|
||||
|
||||
endif # SOC_FAMILY_STM32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue