This commit simplifies Kconfig options related to handling SoC series, part numbers. This is a first step required to add remaining part numbers to the existing configuration. This change is possible since all SiLabs SoCs within a single series have a very uniform structure. Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
35 lines
401 B
Text
35 lines
401 B
Text
# Kconfig - Silicon Labs EFM32WG-STK3800 platform configuration options
|
|
|
|
#
|
|
# Copyright (c) 2017 Christian Taedcke
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_SERIES_EFM32WG
|
|
|
|
config GPIO
|
|
default y
|
|
|
|
if GPIO
|
|
|
|
config GPIO_GECKO
|
|
default y
|
|
|
|
endif # GPIO
|
|
|
|
if SERIAL
|
|
|
|
config UART_GECKO
|
|
default y
|
|
|
|
endif # SERIAL
|
|
|
|
if FLASH
|
|
|
|
config SOC_FLASH_GECKO
|
|
default y
|
|
|
|
endif # FLASH
|
|
|
|
endif # SOC_SERIES_EFM32WG
|