From a6f8283ecd6d53c3798a963f03f9e0d08fec3705 Mon Sep 17 00:00:00 2001 From: Yannis Damigos Date: Fri, 29 Dec 2017 19:25:00 +0200 Subject: [PATCH] arch: st_stm32: Add common series configuration file Add common series configuration file Signed-off-by: Yannis Damigos --- .../st_stm32/common/Kconfig.defconfig.series | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 arch/arm/soc/st_stm32/common/Kconfig.defconfig.series diff --git a/arch/arm/soc/st_stm32/common/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/common/Kconfig.defconfig.series new file mode 100644 index 00000000000..777a973673f --- /dev/null +++ b/arch/arm/soc/st_stm32/common/Kconfig.defconfig.series @@ -0,0 +1,64 @@ +# Kconfig.defconfig.series - ST Microelectronics STM32 all MCU lines +# +# Copyright (c) 2017, I-SENSE group of ICCS +# +# SPDX-License-Identifier: Apache-2.0 +# + +if SOC_FAMILY_STM32 + +if SERIAL + +config UART_STM32 + def_bool y + +endif #SERIAL + +if GPIO + +config GPIO_STM32 + def_bool y + +config GPIO_STM32_PORTA + def_bool y + +config GPIO_STM32_PORTB + def_bool y + +config GPIO_STM32_PORTC + def_bool y + +endif #GPIO + +if PINMUX + +config PINMUX_STM32 + def_bool y + +endif #PINMUX + +if WATCHDOG + +config IWDG_STM32 + def_bool y + +endif # WATCHDOG + +if PWM + +config PWM_STM32 + def_bool y + +endif # PWM + +if SPI && (SPI_1 || SPI_2 || SPI_3) + +config SPI_STM32 + def_bool y + +config SPI_LEGACY_API + def_bool n + +endif # SPI + +endif # SOC_FAMILY_STM32