Skip to content

Commit

Permalink
soc: arm: stm32wb55x series enabling dma and dmamux
Browse files Browse the repository at this point in the history
This patch defines the dma feature for the stm32wbXX
and the dmamux feature for the stm32wb55x
soc series from STMicroelectronics

Signed-off-by: Francois Ramu <[email protected]>
  • Loading branch information
FRASTM authored and galak committed May 8, 2020
1 parent 5c454e9 commit dc04ce8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions soc/arm/st_stm32/stm32wb/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ config SOC
config NUM_IRQS
default 63

config DMAMUX_STM32
default y
depends on DMA_STM32

endif # SOC_STM32WB55XX
8 changes: 8 additions & 0 deletions soc/arm/st_stm32/stm32wb/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@
#include <stm32wbxx_ll_system.h>
#endif

#ifdef CONFIG_DMA_STM32
#include <stm32wbxx_ll_dma.h>
#endif

#ifdef CONFIG_DMAMUX_STM32
#include <stm32wbxx_ll_dmamux.h>
#endif

#endif /* !_ASMLANGUAGE */

#endif /* _STM32WBX_SOC_H_ */

0 comments on commit dc04ce8

Please sign in to comment.