1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #17445 from gschorcht/boards/feather-m0/kconfig_base_board

boards/feather-m0*: base board definition in Kconfig
This commit is contained in:
Marian Buschsieweke 2021-12-24 13:19:26 +01:00 committed by GitHub
commit 39b159e83b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 45 deletions

View File

@ -10,19 +10,7 @@ config BOARD
config BOARD_FEATHER_M0_LORA
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_ARDUINO
select HAS_HIGHLEVEL_STDIO
select BOARD_FEATHER_M0_BASE
select HAVE_SX1276
select HAVE_SAUL_GPIO
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
source "$(RIOTBOARD)/feather-m0/Kconfig.feather-m0-base"

View File

@ -10,19 +10,7 @@ config BOARD
config BOARD_FEATHER_M0_WIFI
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_ARDUINO
select HAS_HIGHLEVEL_STDIO
select BOARD_FEATHER_M0_BASE
select HAVE_ATWINC15X0
select HAVE_SAUL_GPIO
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
source "$(RIOTBOARD)/feather-m0/Kconfig.feather-m0-base"

View File

@ -10,19 +10,6 @@ config BOARD
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_ARDUINO
select HAS_HIGHLEVEL_STDIO
select BOARD_FEATHER_M0_BASE
select HAVE_SAUL_GPIO
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
rsource "Kconfig.feather-m0-base"

View File

@ -0,0 +1,25 @@
# 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_FEATHER_M0_BASE
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_ARDUINO
select HAS_HIGHLEVEL_STDIO
select HAVE_SAUL_GPIO
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"