1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

boards/sipeed-longan-nano: add tinyUSB support

This commit is contained in:
Gunar Schorcht 2023-02-07 00:52:03 +01:00
parent dc7abdf723
commit 4540f96332
3 changed files with 7 additions and 0 deletions

View File

@ -14,12 +14,14 @@ config BOARD_SIPEED_LONGAN_NANO
select CPU_MODEL_GD32VF103CBT6
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
select HAVE_MTD_SDCARD_DEFAULT

View File

@ -9,4 +9,8 @@ FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += sdcard_spi
# Other features provided by the board (in alphabetical order)
FEATURES_PROVIDED += highlevel_stdio
FEATURES_PROVIDED += tinyusb_device
include $(RIOTBOARD)/common/gd32v/Makefile.features

View File

@ -40,6 +40,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" {