The Silicon Labs EFM32 Pearl Gecko MCU includes: * Cortex-M4F core at 40MHz * up to 1024KB of flash and 256KB of RAM * multiple low power peripherals Ported from EFM32WG: https://www.silabs.com/documents/public/application-notes/an0918.0-efm32_to_efm32jgpg_migration_guide.pdf Signed-off-by: Gil Benkö <gil.benkoe@pm.me> Signed-off-by: Christian Taedcke <hacking@taedcke.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
80 lines
2.1 KiB
Text
80 lines
2.1 KiB
Text
#
|
|
# Copyright (c) 2017 Christian Taedcke
|
|
# Copyright (c) 2018 Gil Benkoe
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
config SOC_FAMILY_EXX32
|
|
bool
|
|
# omit prompt to signify a "hidden" option
|
|
select HAS_SEGGER_RTT
|
|
|
|
if SOC_FAMILY_EXX32
|
|
config SOC_FAMILY
|
|
string
|
|
default "silabs_exx32"
|
|
|
|
source "soc/arm/silabs_exx32/*/Kconfig.soc"
|
|
|
|
config SOC_PART_NUMBER
|
|
string
|
|
default SOC_PART_NUMBER_EXX32_EFM32WG if SOC_SERIES_EFM32WG
|
|
default SOC_PART_NUMBER_EXX32_EFR32FG1P if SOC_SERIES_EFR32FG1P
|
|
default SOC_PART_NUMBER_EXX32_EFM32HG if SOC_SERIES_EFM32HG
|
|
default SOC_PART_NUMBER_EXX32_EFR32MG12P if SOC_SERIES_EFR32MG12P
|
|
default SOC_PART_NUMBER_EXX32_EFM32PG12B if SOC_SERIES_EFM32PG12B
|
|
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.
|
|
|
|
config HAS_EMU
|
|
bool
|
|
help
|
|
Set if the energy management unit (EMU) is present in the SoC.
|
|
|
|
config HAS_CMU
|
|
bool
|
|
help
|
|
Set if the clock management unit (CMU) is present in the SoC.
|
|
|
|
if HAS_CMU
|
|
|
|
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.
|
|
|
|
endif # HAS_CMU
|
|
endif # SOC_FAMILY_EXX32
|