2023-05-11 18:12:14 +02:00
|
|
|
# Copyright (C) 2023 Gunar Schorcht
|
|
|
|
#
|
|
|
|
# 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-grand-central-m4-express" if BOARD_ADAFRUIT_GRAND_CENTRAL_M4_EXPRESS
|
|
|
|
|
|
|
|
config BOARD_ADAFRUIT_GRAND_CENTRAL_M4_EXPRESS
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select CPU_MODEL_SAMD51P20A
|
2023-06-23 15:42:08 +02:00
|
|
|
select HAS_ARDUINO_ANALOG
|
|
|
|
select HAS_ARDUINO_PINS
|
2023-05-11 18:12:14 +02:00
|
|
|
select HAS_HIGHLEVEL_STDIO
|
|
|
|
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
|
|
|
|
select HAS_PERIPH_USBDEV
|
|
|
|
select HAVE_SAUL_GPIO
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
select HAVE_MTD_SDCARD_DEFAULT
|
|
|
|
select MODULE_FATFS_VFS if MODULE_VFS_DEFAULT
|
|
|
|
|
|
|
|
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
|