This commit adds initial support for the Silicon Labs EFM32 Giant Gecko GG11 StarterKit. Features supported for now are NVIC, SysTick, GPIO, Flash, Counter, I2C, UART and Ethernet. Support for Watchdog and ADC will follow as soon as their respective PRs are merged. Signed-off-by: Oane Kingma <o.kingma@interay.com>
66 lines
892 B
Text
66 lines
892 B
Text
# EFM32GG STK3701A default board configuration
|
|
# Copyright (c) 2019 Interay Solutions B.V.
|
|
# Copyright (c) 2019 Oane Kingma
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_EFM32GG_STK3701A
|
|
|
|
config BOARD
|
|
string
|
|
default "efm32gg_stk3701a"
|
|
|
|
config CMU_HFXO_FREQ
|
|
default 50000000
|
|
|
|
config CMU_LFXO_FREQ
|
|
default 32768
|
|
|
|
if GPIO_GECKO
|
|
|
|
config GPIO_GECKO_PORTA
|
|
default y
|
|
|
|
config GPIO_GECKO_PORTB
|
|
default y
|
|
|
|
config GPIO_GECKO_PORTC
|
|
default y
|
|
|
|
config GPIO_GECKO_PORTD
|
|
default y
|
|
|
|
config GPIO_GECKO_PORTE
|
|
default y
|
|
|
|
config GPIO_GECKO_PORTF
|
|
default y
|
|
|
|
config GPIO_GECKO_PORTG
|
|
default y
|
|
|
|
config GPIO_GECKO_PORTH
|
|
default y
|
|
|
|
config GPIO_GECKO_PORTI
|
|
default y
|
|
|
|
endif # GPIO_GECKO
|
|
|
|
if COUNTER
|
|
|
|
config COUNTER_GECKO_RTCC
|
|
default y
|
|
|
|
endif # COUNTER
|
|
|
|
if NETWORKING
|
|
|
|
config NET_L2_ETHERNET
|
|
default y
|
|
|
|
config ETH_GECKO
|
|
default y if NET_L2_ETHERNET
|
|
|
|
endif # NETWORKING
|
|
|
|
endif # BOARD_EFM32GG_STK3701A
|