From b475d374ba27cae686727ad465bf787208ee733c Mon Sep 17 00:00:00 2001 From: Jose Alamos Date: Tue, 2 Jun 2020 14:29:51 +0200 Subject: [PATCH] boards/samd21-xpro: Add board specific Kconfig symbols --- boards/samd21-xpro/Kconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 boards/samd21-xpro/Kconfig diff --git a/boards/samd21-xpro/Kconfig b/boards/samd21-xpro/Kconfig new file mode 100644 index 0000000000..32c18ccf08 --- /dev/null +++ b/boards/samd21-xpro/Kconfig @@ -0,0 +1,22 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. + +config BOARD + default "samd21-xpro" if BOARD_SAMD21_XPRO + +config BOARD_SAMD21_XPRO + bool + default y + select CPU_MODEL_SAMD21J18A + select HAS_PERIPH_ADC + select HAS_PERIPH_DAC + select HAS_PERIPH_I2C + select HAS_PERIPH_PWM + select HAS_PERIPH_RTC + select HAS_PERIPH_RTT + select HAS_PERIPH_SPI + select HAS_PERIPH_TIMER + select HAS_PERIPH_UART