2020-07-16 18:28:35 +02:00
|
|
|
# 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
|
2023-06-23 15:42:08 +02:00
|
|
|
select HAS_ARDUINO_ANALOG
|
|
|
|
select HAS_ARDUINO_I2C
|
|
|
|
select HAS_ARDUINO_PINS
|
2020-07-16 18:28:35 +02:00
|
|
|
select HAS_ARDUINO_PWM
|
2023-06-23 15:42:08 +02:00
|
|
|
select HAS_ARDUINO_SHIELD_ISP
|
|
|
|
select HAS_ARDUINO_SHIELD_UNO
|
|
|
|
select HAS_ARDUINO_SPI
|
|
|
|
select HAS_ARDUINO_UART
|
2021-12-08 11:42:02 +01:00
|
|
|
|
|
|
|
select HAVE_SAUL_GPIO
|
|
|
|
|
|
|
|
config MODULE_BOARDS_COMMON_ARDUINO_ZERO
|
|
|
|
bool
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Common code for arduino-zero type of boards.
|