diff --git a/boards/arduino-mkr1000/Kconfig b/boards/arduino-mkr1000/Kconfig new file mode 100644 index 0000000000..4fb4b38a4d --- /dev/null +++ b/boards/arduino-mkr1000/Kconfig @@ -0,0 +1,15 @@ +# 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 "arduino-mkr1000" if BOARD_ARDUINO_MKR1000 + +config BOARD_ARDUINO_MKR1000 + bool + default y + select BOARD_COMMON_ARDUINO_MKR + +source "$(RIOTBOARD)/common/arduino-mkr/Kconfig" diff --git a/boards/arduino-mkrfox1200/Kconfig b/boards/arduino-mkrfox1200/Kconfig new file mode 100644 index 0000000000..2c6d4af1dc --- /dev/null +++ b/boards/arduino-mkrfox1200/Kconfig @@ -0,0 +1,15 @@ +# 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 "arduino-mkrfox1200" if BOARD_ARDUINO_MKRFOX1200 + +config BOARD_ARDUINO_MKRFOX1200 + bool + default y + select BOARD_COMMON_ARDUINO_MKR + +source "$(RIOTBOARD)/common/arduino-mkr/Kconfig" diff --git a/boards/arduino-mkrwan1300/Kconfig b/boards/arduino-mkrwan1300/Kconfig new file mode 100644 index 0000000000..f9ea375ca8 --- /dev/null +++ b/boards/arduino-mkrwan1300/Kconfig @@ -0,0 +1,15 @@ +# 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 "arduino-mkrwan1300" if BOARD_ARDUINO_MKRWAN1300 + +config BOARD_ARDUINO_MKRWAN1300 + bool + default y + select BOARD_COMMON_ARDUINO_MKR + +source "$(RIOTBOARD)/common/arduino-mkr/Kconfig" diff --git a/boards/arduino-mkrzero/Kconfig b/boards/arduino-mkrzero/Kconfig new file mode 100644 index 0000000000..9b8abe36c0 --- /dev/null +++ b/boards/arduino-mkrzero/Kconfig @@ -0,0 +1,15 @@ +# 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 "arduino-mkrzero" if BOARD_ARDUINO_MKRZERO + +config BOARD_ARDUINO_MKRZERO + bool + default y + select BOARD_COMMON_ARDUINO_MKR + +source "$(RIOTBOARD)/common/arduino-mkr/Kconfig" diff --git a/boards/arduino-zero/Kconfig b/boards/arduino-zero/Kconfig new file mode 100644 index 0000000000..bb1932fa02 --- /dev/null +++ b/boards/arduino-zero/Kconfig @@ -0,0 +1,16 @@ +# 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 "arduino-zero" if BOARD_ARDUINO_ZERO + +config BOARD_ARDUINO_ZERO + bool + default y + select BOARD_COMMON_ARDUINO_ZERO + +source "$(RIOTBOARD)/common/arduino-zero/Kconfig" diff --git a/boards/common/arduino-mkr/Kconfig b/boards/common/arduino-mkr/Kconfig new file mode 100644 index 0000000000..7ba19c6de8 --- /dev/null +++ b/boards/common/arduino-mkr/Kconfig @@ -0,0 +1,21 @@ +# 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_COMMON_ARDUINO_MKR + bool + select CPU_MODEL_SAMD21G18A + select HAS_PERIPH_ADC + 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 + select HAS_PERIPH_USBDEV + select HAS_ARDUINO + select HAS_ARDUINO_PWM + select HAS_BOOTLOADER_ARDUINO diff --git a/boards/common/arduino-zero/Kconfig b/boards/common/arduino-zero/Kconfig new file mode 100644 index 0000000000..18e871bf7c --- /dev/null +++ b/boards/common/arduino-zero/Kconfig @@ -0,0 +1,20 @@ +# 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_COMMON_ARDUINO_ZERO + bool + select CPU_MODEL_SAMD21G18A + select HAS_PERIPH_ADC + 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 + select HAS_PERIPH_USBDEV + select HAS_ARDUINO + select HAS_ARDUINO_PWM diff --git a/boards/common/sodaq/Kconfig b/boards/common/sodaq/Kconfig new file mode 100644 index 0000000000..20e893ce21 --- /dev/null +++ b/boards/common/sodaq/Kconfig @@ -0,0 +1,18 @@ +# 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_COMMON_SODAQ + bool + select HAS_PERIPH_ADC + select HAS_PERIPH_I2C + select HAS_PERIPH_RTC + select HAS_PERIPH_RTT + select HAS_PERIPH_SPI + select HAS_PERIPH_TIMER + select HAS_PERIPH_UART + select HAS_PERIPH_USBDEV + select HAS_ARDUINO + select HAS_BOOTLOADER_ARDUINO diff --git a/boards/feather-m0/Kconfig b/boards/feather-m0/Kconfig new file mode 100644 index 0000000000..73190a0167 --- /dev/null +++ b/boards/feather-m0/Kconfig @@ -0,0 +1,23 @@ +# 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 "feather-m0" if BOARD_FEATHER_M0 + +config BOARD_FEATHER_M0 + bool + default y + select CPU_MODEL_SAMD21G18A + select HAS_PERIPH_ADC + 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 + select HAS_PERIPH_USBDEV + select HAS_BOOTLOADER_ARDUINO diff --git a/boards/hamilton/Kconfig b/boards/hamilton/Kconfig new file mode 100644 index 0000000000..23cfa3c2cf --- /dev/null +++ b/boards/hamilton/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 "hamilton" if BOARD_HAMILTON + +config BOARD_HAMILTON + bool + default y + select CPU_MODEL_SAMR21E18A + select HAS_PERIPH_ADC + select HAS_PERIPH_GPIO + select HAS_PERIPH_GPIO_IRQ + select HAS_PERIPH_I2C + select HAS_PERIPH_PWM + select HAS_PERIPH_RTC + select HAS_PERIPH_RTT + select HAS_PERIPH_SPI + select HAS_PERIPH_TIMER 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 diff --git a/boards/sensebox_samd21/Kconfig b/boards/sensebox_samd21/Kconfig new file mode 100644 index 0000000000..df42e1051c --- /dev/null +++ b/boards/sensebox_samd21/Kconfig @@ -0,0 +1,21 @@ +# 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 "sensebox_samd21" if BOARD_SENSEBOX_SAMD21 + +config BOARD_SENSEBOX_SAMD21 + bool + default y + select CPU_MODEL_SAMD21G18A + select HAS_PERIPH_ADC + select HAS_PERIPH_I2C + select HAS_PERIPH_RTC + select HAS_PERIPH_RTT + select HAS_PERIPH_SPI + select HAS_PERIPH_TIMER + select HAS_PERIPH_UART + select HAS_PERIPH_USBDEV diff --git a/boards/serpente/Kconfig b/boards/serpente/Kconfig new file mode 100644 index 0000000000..01af3e2cad --- /dev/null +++ b/boards/serpente/Kconfig @@ -0,0 +1,23 @@ +# 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 "serpente" if BOARD_SERPENTE + +config BOARD_SERPENTE + bool + default y + select CPU_MODEL_SAMD21E18A + select HAS_BOOTLOADER_ARDUINO + select HAS_PERIPH_ADC + 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 + select HAS_PERIPH_USBDEV diff --git a/boards/sodaq-autonomo/Kconfig b/boards/sodaq-autonomo/Kconfig new file mode 100644 index 0000000000..cd5b660d74 --- /dev/null +++ b/boards/sodaq-autonomo/Kconfig @@ -0,0 +1,18 @@ +# 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 "sodaq-autonomo" if BOARD_SODAQ_AUTONOMO + +config BOARD_SODAQ_AUTONOMO + bool + default y + select BOARD_COMMON_SODAQ + select CPU_MODEL_SAMD21J18A + select HAS_PERIPH_PWM + select HAS_ARDUINO_PWM + +source "$(RIOTBOARD)/common/sodaq/Kconfig" diff --git a/boards/sodaq-explorer/Kconfig b/boards/sodaq-explorer/Kconfig new file mode 100644 index 0000000000..c84861b62d --- /dev/null +++ b/boards/sodaq-explorer/Kconfig @@ -0,0 +1,16 @@ +# 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 "sodaq-explorer" if BOARD_SODAQ_EXPLORER + +config BOARD_SODAQ_EXPLORER + bool + default y + select BOARD_COMMON_SODAQ + select CPU_MODEL_SAMD21J18A + +source "$(RIOTBOARD)/common/sodaq/Kconfig" diff --git a/boards/sodaq-one/Kconfig b/boards/sodaq-one/Kconfig new file mode 100644 index 0000000000..50033d9ac2 --- /dev/null +++ b/boards/sodaq-one/Kconfig @@ -0,0 +1,16 @@ +# 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 "sodaq-one" if BOARD_SODAQ_ONE + +config BOARD_SODAQ_ONE + bool + default y + select BOARD_COMMON_SODAQ + select CPU_MODEL_SAMD21G18A + +source "$(RIOTBOARD)/common/sodaq/Kconfig" diff --git a/boards/sodaq-sara-aff/Kconfig b/boards/sodaq-sara-aff/Kconfig new file mode 100644 index 0000000000..e78b3552e7 --- /dev/null +++ b/boards/sodaq-sara-aff/Kconfig @@ -0,0 +1,16 @@ +# 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 "sodaq-sara-aff" if BOARD_SODAQ_SARA_AFF + +config BOARD_SODAQ_SARA_AFF + bool + default y + select BOARD_COMMON_SODAQ + select CPU_MODEL_SAMD21J18A + +source "$(RIOTBOARD)/common/sodaq/Kconfig" diff --git a/boards/sodaq-sara-sff/Kconfig b/boards/sodaq-sara-sff/Kconfig new file mode 100644 index 0000000000..0e6cc9d8b8 --- /dev/null +++ b/boards/sodaq-sara-sff/Kconfig @@ -0,0 +1,16 @@ +# 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 "sodaq-sara-sff" if BOARD_SODAQ_SARA_SFF + +config BOARD_SODAQ_SARA_SFF + bool + default y + select BOARD_COMMON_SODAQ + select CPU_MODEL_SAMD21G18A + +source "$(RIOTBOARD)/common/sodaq/Kconfig" diff --git a/boards/wemos-zero/Kconfig b/boards/wemos-zero/Kconfig new file mode 100644 index 0000000000..bd6e7e4455 --- /dev/null +++ b/boards/wemos-zero/Kconfig @@ -0,0 +1,17 @@ +# 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 "wemos-zero" if BOARD_WEMOS_ZERO + +config BOARD_WEMOS_ZERO + bool + default y + select BOARD_COMMON_ARDUINO_ZERO + select HAS_BOOTLOADER_ARDUINO + +source "$(RIOTBOARD)/common/arduino-zero/Kconfig" diff --git a/tests/kconfig_features/Makefile b/tests/kconfig_features/Makefile index 586334996b..9f4789864f 100644 --- a/tests/kconfig_features/Makefile +++ b/tests/kconfig_features/Makefile @@ -8,9 +8,14 @@ BOARD_WHITELIST += 6lowpan-clicker \ arduino-duemilanove \ arduino-leonardo \ arduino-mega2560 \ + arduino-mkr1000 \ + arduino-mkrfox1200 \ + arduino-mkrwan1300 \ + arduino-mkrzero \ arduino-nano \ arduino-nano-33-ble \ arduino-uno \ + arduino-zero \ atmega1284p \ atmega256rfr2-xpro \ atmega328p \ @@ -45,11 +50,13 @@ BOARD_WHITELIST += 6lowpan-clicker \ esp8266-olimex-mod \ esp8266-sparkfun-thing \ f4vi1 \ + feather-m0 \ feather-nrf52840 \ firefly \ fox \ frdm-k22f \ frdm-k64f \ + hamilton \ hifive1 \ hifive1b \ ikea-tradfri \ @@ -138,6 +145,7 @@ BOARD_WHITELIST += 6lowpan-clicker \ remote-reva \ remote-revb \ ruuvitag \ + samd21-xpro \ same54-xpro \ saml10-xpro \ saml11-xpro \ @@ -146,12 +154,19 @@ BOARD_WHITELIST += 6lowpan-clicker \ samr30-xpro \ samr34-xpro \ seeeduino_arch-pro \ + sensebox_samd21 \ + serpente \ slstk3401a \ slstk3402a \ sltb001a \ slwstk6000b-slwrb4150a \ slwstk6000b-slwrb4162a \ slwstk6220a \ + sodaq-autonomo \ + sodaq-explorer \ + sodaq-one \ + sodaq-sara-aff \ + sodaq-sara-sff \ spark-core \ stk3600 \ stk3700 \ @@ -173,6 +188,7 @@ BOARD_WHITELIST += 6lowpan-clicker \ usb-kw41z \ waspmote-pro \ weact-f411ce \ + wemos-zero \ yunjia-nrf51822 \ z1 #