2017-04-06 00:49:41 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Christian Taedcke
|
2018-04-11 17:47:19 +08:00
|
|
|
# Copyright (c) 2018 Gil Benkoe
|
2017-04-06 00:49:41 +08:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
config SOC_FAMILY_EXX32
|
|
|
|
bool
|
|
|
|
# omit prompt to signify a "hidden" option
|
2018-11-12 03:24:38 +08:00
|
|
|
select HAS_SEGGER_RTT
|
2017-04-06 00:49:41 +08:00
|
|
|
|
|
|
|
if SOC_FAMILY_EXX32
|
|
|
|
config SOC_FAMILY
|
|
|
|
string
|
|
|
|
default "silabs_exx32"
|
|
|
|
|
2018-09-04 04:47:02 +08:00
|
|
|
source "soc/arm/silabs_exx32/*/Kconfig.soc"
|
2017-04-06 00:49:41 +08:00
|
|
|
|
|
|
|
config SOC_PART_NUMBER
|
|
|
|
string
|
|
|
|
help
|
|
|
|
This string holds the full part number of the SoC. It is a hidden option
|
|
|
|
that you should not set directly. The part number selection choice defines
|
|
|
|
the default value for this string.
|
|
|
|
|
2018-12-12 23:30:00 +08:00
|
|
|
config SOC_GECKO_CORE
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Core interrupt handling (CORE) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_CRYOTIMER
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Ultra Low Energy Timer/Counter (CRYOTIMER) HAL module is used.
|
|
|
|
|
2018-11-08 20:48:12 +08:00
|
|
|
config SOC_GECKO_EMU
|
2018-10-17 14:58:14 +08:00
|
|
|
bool
|
|
|
|
help
|
2018-12-12 23:30:00 +08:00
|
|
|
Set if the Energy Management Unit (EMU) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_GPIO
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the General Purpose Input/Output (GPIO) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_I2C
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Inter-Integrated Circuit Interface (I2C) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_LETIMER
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Low Energy Timer (LETIMER) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_LEUART
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Low Energy Universal Asynchronous Receiver/Transmitter (LEUART)
|
|
|
|
HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_MSC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Memory System Controller (MSC) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_PRS
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Peripheral Reflex System (PRS) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_RMU
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Reset Management Unit (RMU) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_RTC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Real Time Counter (RTC) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_RTCC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Real Time Counter and Calendar (RTCC) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_TIMER
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Timer/Counter (TIMER) HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_USART
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Universal Synchronous Asynchronous Receiver/Transmitter (USART)
|
|
|
|
HAL module is used.
|
|
|
|
|
|
|
|
config SOC_GECKO_WDOG
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the Watchdog Timer (WDOG) HAL module is used.
|
2018-11-08 20:48:12 +08:00
|
|
|
|
|
|
|
config SOC_GECKO_EMU_DCDC
|
|
|
|
bool "Enable SoC DC/DC regulator"
|
|
|
|
select SOC_GECKO_EMU
|
|
|
|
help
|
|
|
|
Enable the on chip DC/DC regulator
|
|
|
|
|
|
|
|
choice SOC_GECKO_EMU_DCDC_MODE
|
|
|
|
prompt "DC/DC mode"
|
|
|
|
depends on SOC_GECKO_EMU_DCDC
|
|
|
|
help
|
|
|
|
Select power configuration mode of the on chip DC/DC converter.
|
|
|
|
|
|
|
|
config SOC_GECKO_EMU_DCDC_MODE_UNCONFIGURED
|
|
|
|
bool "Initial / Unconfigured"
|
|
|
|
|
|
|
|
config SOC_GECKO_EMU_DCDC_MODE_ON
|
|
|
|
bool "DC/DC On"
|
|
|
|
|
|
|
|
config SOC_GECKO_EMU_DCDC_MODE_OFF
|
|
|
|
bool "DC/DC Off"
|
|
|
|
|
|
|
|
config SOC_GECKO_EMU_DCDC_MODE_BYPASS
|
|
|
|
bool "Bypass"
|
|
|
|
endchoice
|
2018-10-17 14:58:14 +08:00
|
|
|
|
2018-12-12 23:30:00 +08:00
|
|
|
config SOC_GECKO_CMU
|
2017-04-06 00:49:41 +08:00
|
|
|
bool
|
|
|
|
help
|
|
|
|
Set if the clock management unit (CMU) is present in the SoC.
|
|
|
|
|
2018-12-12 23:30:00 +08:00
|
|
|
if SOC_GECKO_CMU
|
2017-04-06 00:49:41 +08:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "High Frequency Clock Selection"
|
|
|
|
default CMU_HFCLK_HFXO
|
|
|
|
|
|
|
|
config CMU_HFCLK_HFXO
|
|
|
|
bool "External high frequency crystal oscillator"
|
|
|
|
help
|
|
|
|
Set this option to use the external high frequency crystal oscillator
|
|
|
|
as high frequency clock.
|
|
|
|
|
|
|
|
config CMU_HFCLK_LFXO
|
|
|
|
bool "External low frequency crystal oscillator"
|
|
|
|
help
|
|
|
|
Set this option to use the external low frequency crystal oscillator
|
|
|
|
as high frequency clock.
|
|
|
|
|
|
|
|
config CMU_HFCLK_HFRCO
|
|
|
|
bool "Internal high frequency RC oscillator"
|
|
|
|
help
|
|
|
|
Set this option to use the internal high frequency RC oscillator as high frequency clock.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config CMU_HFXO_FREQ
|
|
|
|
int "External high frequency oscillator frequency"
|
|
|
|
help
|
|
|
|
Set the external high frequency oscillator frequency in Hz. This should be set by the
|
|
|
|
board's defconfig.
|
|
|
|
|
|
|
|
config CMU_LFXO_FREQ
|
|
|
|
int "External low frequency oscillator frequency"
|
|
|
|
help
|
|
|
|
Set the external low frequency oscillator frequency in Hz. This should be set by the
|
|
|
|
board's defconfig.
|
|
|
|
|
2018-12-12 23:30:00 +08:00
|
|
|
endif # SOC_GECKO_CMU
|
2019-01-14 23:39:40 +08:00
|
|
|
|
|
|
|
config SOC_GECKO_HAS_INDIVIDUAL_PIN_LOCATION
|
|
|
|
bool
|
|
|
|
# omit prompt to signify a "hidden" option
|
|
|
|
help
|
|
|
|
If enabled, indicates that SoC allows to configure individual pin
|
|
|
|
locations. This is supported by e.g. efr32fg1p, efr32mg12p series.
|
|
|
|
If disabled, indicates that pin locations are configured in groups.
|
|
|
|
This is supported by e.g. efm32hg, efm32wg series.
|
|
|
|
|
2018-05-10 23:17:19 +08:00
|
|
|
endif # SOC_FAMILY_EXX32
|