diff --git a/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.series b/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.series index 9a5459a7b0c8..9a704ec79079 100644 --- a/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.series +++ b/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.series @@ -10,4 +10,8 @@ source "soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb*" config SOC_SERIES default "stm32wb" +config DMA_STM32_V2 + default y + depends on DMA_STM32 + endif # SOC_SERIES_STM32WBX diff --git a/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx b/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx index 175518e3ff13..c073b4d50741 100644 --- a/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx +++ b/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx @@ -11,4 +11,8 @@ config SOC config NUM_IRQS default 63 +config DMAMUX_STM32 + default y + depends on DMA_STM32 + endif # SOC_STM32WB55XX diff --git a/soc/arm/st_stm32/stm32wb/soc.h b/soc/arm/st_stm32/stm32wb/soc.h index 6441ef42d259..c578adc8465c 100644 --- a/soc/arm/st_stm32/stm32wb/soc.h +++ b/soc/arm/st_stm32/stm32wb/soc.h @@ -78,6 +78,14 @@ #include #endif +#ifdef CONFIG_DMA_STM32 +#include +#endif + +#ifdef CONFIG_DMAMUX_STM32 +#include +#endif + #endif /* !_ASMLANGUAGE */ #endif /* _STM32WBX_SOC_H_ */