2021-02-17 13:53:00 +01:00
|
|
|
# Copyright (c) 2020 Inria
|
|
|
|
#
|
|
|
|
# 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 "seeedstudio-gd32" if BOARD_SEEEDSTUDIO_GD32
|
|
|
|
|
|
|
|
config BOARD_SEEEDSTUDIO_GD32
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select CPU_MODEL_GD32VF103VBT6
|
2023-01-09 21:51:28 +01:00
|
|
|
select BOARD_HAS_HXTAL
|
|
|
|
select BOARD_HAS_LXTAL
|
2023-02-07 00:54:41 +01:00
|
|
|
select HAS_HIGHLEVEL_STDIO
|
2023-01-19 16:51:40 +01:00
|
|
|
select HAS_PERIPH_ADC
|
2023-01-29 18:17:39 +01:00
|
|
|
select HAS_PERIPH_I2C
|
2023-01-28 18:00:46 +01:00
|
|
|
select HAS_PERIPH_PWM
|
2023-01-30 08:08:05 +01:00
|
|
|
select HAS_PERIPH_SPI
|
2023-01-19 07:58:28 +01:00
|
|
|
select HAS_PERIPH_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
2023-03-07 23:41:09 +01:00
|
|
|
select HAS_PERIPH_USBDEV
|
2023-04-18 06:05:05 +02:00
|
|
|
select HAS_RIOTBOOT
|
2023-02-07 00:54:41 +01:00
|
|
|
select HAS_TINYUSB_DEVICE
|
2023-01-18 10:01:22 +01:00
|
|
|
select HAVE_SAUL_GPIO
|
2023-01-09 21:51:28 +01:00
|
|
|
|
2023-02-21 16:12:30 +01:00
|
|
|
select HAVE_MTD_SDCARD_DEFAULT
|
|
|
|
select MODULE_FATFS_VFS if MODULE_VFS_DEFAULT
|
2023-02-07 01:07:13 +01:00
|
|
|
|
2023-04-06 09:24:07 +02:00
|
|
|
select MODULE_USB_BOARD_RESET if KCONFIG_USB && TEST_KCONFIG
|
|
|
|
|
|
|
|
|
|
|
|
config FORCE_USB_STDIO
|
|
|
|
default y
|
2023-02-07 01:07:13 +01:00
|
|
|
|
2023-01-19 07:58:28 +01:00
|
|
|
source "$(RIOTBOARD)/common/gd32v/Kconfig"
|