2018-10-31 04:56:31 +08:00
|
|
|
# Kconfig - EFR32MG SLTB004A board
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018, Diego Sueiro
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if BOARD_EFR32MG_SLTB004A
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "efr32mg_sltb004a"
|
|
|
|
|
|
|
|
config CMU_HFXO_FREQ
|
|
|
|
default 40000000
|
|
|
|
|
|
|
|
config CMU_LFXO_FREQ
|
|
|
|
default 32768
|
|
|
|
|
|
|
|
if GPIO_GECKO
|
|
|
|
|
|
|
|
config GPIO_GECKO_PORTA
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-31 04:56:31 +08:00
|
|
|
|
|
|
|
config GPIO_GECKO_PORTD
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-31 04:56:31 +08:00
|
|
|
|
|
|
|
config GPIO_GECKO_PORTF
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-31 04:56:31 +08:00
|
|
|
|
|
|
|
endif # GPIO_GECKO
|
|
|
|
|
|
|
|
if UART_GECKO
|
|
|
|
|
|
|
|
config USART_GECKO_0
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-31 04:56:31 +08:00
|
|
|
|
|
|
|
endif # UART_GECKO
|
|
|
|
|
|
|
|
if LEUART_GECKO
|
|
|
|
|
|
|
|
config LEUART_GECKO_0
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-31 04:56:31 +08:00
|
|
|
|
|
|
|
endif # LEUART_GECKO
|
|
|
|
|
|
|
|
if I2C_GECKO
|
|
|
|
|
|
|
|
config I2C_0
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-31 04:56:31 +08:00
|
|
|
|
|
|
|
config I2C_1
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-31 04:56:31 +08:00
|
|
|
|
|
|
|
endif # I2C_GECKO
|
|
|
|
|
|
|
|
endif # BOARD_EFR32MG_SLTB004A
|