arch: st_stm32: Add common series configuration file
Add common series configuration file Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
parent
f62d9ef99d
commit
a6f8283ecd
1 changed files with 64 additions and 0 deletions
64
arch/arm/soc/st_stm32/common/Kconfig.defconfig.series
Normal file
64
arch/arm/soc/st_stm32/common/Kconfig.defconfig.series
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue