50 lines
513 B
Plaintext
50 lines
513 B
Plaintext
# Kconfig - Silicon Labs EFR32MG12P platform configuration options
|
|
|
|
#
|
|
# Copyright (c) 2018 Diego Sueiro
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_EFR32MG12P
|
|
|
|
config SOC
|
|
string
|
|
default "efr32mg12p"
|
|
|
|
config GPIO
|
|
def_bool y
|
|
|
|
if GPIO
|
|
|
|
config GPIO_GECKO
|
|
def_bool y
|
|
|
|
endif # GPIO
|
|
|
|
if SERIAL
|
|
|
|
config UART_GECKO
|
|
def_bool y
|
|
|
|
config LEUART_GECKO
|
|
def_bool y
|
|
|
|
endif # SERIAL
|
|
|
|
if I2C
|
|
|
|
config I2C_GECKO
|
|
def_bool y
|
|
|
|
endif # I2C
|
|
|
|
if FLASH
|
|
|
|
config SOC_FLASH_GECKO
|
|
def_bool y
|
|
|
|
endif # FLASH
|
|
|
|
endif # SOC_EFR32MG12P
|