2021-01-21 11:14:26 +01:00
|
|
|
# Copyright (c) 2021 ML!PA Consulting GmbH
|
|
|
|
#
|
|
|
|
# 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 "adafruit-itsybitsy-m4" if BOARD_ADAFRUIT_ITSYBITSY_M4
|
|
|
|
|
|
|
|
config BOARD_ADAFRUIT_ITSYBITSY_M4
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select CPU_MODEL_SAMD51G19A
|
|
|
|
select HAS_HIGHLEVEL_STDIO
|
|
|
|
select HAS_PERIPH_DAC
|
|
|
|
select HAS_PERIPH_ADC
|
|
|
|
select HAS_PERIPH_I2C
|
|
|
|
select HAS_PERIPH_RTC
|
|
|
|
select HAS_PERIPH_RTT
|
|
|
|
select HAS_PERIPH_PWM
|
|
|
|
select HAS_PERIPH_SPI
|
|
|
|
select HAS_PERIPH_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
|
|
|
select HAS_PERIPH_USBDEV
|
2021-12-06 09:06:12 +01:00
|
|
|
select HAVE_SAUL_GPIO
|
2021-11-26 09:22:47 +01:00
|
|
|
|
|
|
|
select HAVE_MTD_SPI_NOR
|
|
|
|
# This specific board requires SPI_ON_QSPI for the MTD_SPI_NOR
|
|
|
|
select MODULE_PERIPH_SPI_ON_QSPI if MODULE_MTD_SPI_NOR
|
2021-12-06 09:06:12 +01:00
|
|
|
|
|
|
|
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
|