mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/seeedstudio-gd32: add tinyUSB support
This commit is contained in:
parent
4540f96332
commit
80c2008bb1
@ -14,12 +14,14 @@ config BOARD_SEEEDSTUDIO_GD32
|
||||
select CPU_MODEL_GD32VF103VBT6
|
||||
select BOARD_HAS_HXTAL
|
||||
select BOARD_HAS_LXTAL
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_TINYUSB_DEVICE
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
source "$(RIOTBOARD)/common/gd32v/Kconfig"
|
||||
|
@ -8,4 +8,8 @@ FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
|
||||
include $(RIOTBOARD)/common/gd32v/Makefile.features
|
||||
# Other features provided by the board (in alphabetical order)
|
||||
FEATURES_PROVIDED += highlevel_stdio
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
||||
include $(RIOTBOARD)/common/gd32v/Makefile.features
|
@ -42,6 +42,7 @@
|
||||
#include "cfg_spi_default.h"
|
||||
#include "cfg_timer_default.h"
|
||||
#include "cfg_uart_default.h"
|
||||
#include "cfg_usbdev_default.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
Reference in New Issue
Block a user