zephyr/soc/arm/silabs_exx32/efm32wg/Kconfig.defconfig.efm32wg
Piotr Mienkowski 74cb5f9728 soc: silabs_exx32: Simplify Kconfig options
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>
2018-12-13 12:59:27 -06:00

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