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:
parent
dc7abdf723
commit
4540f96332
@ -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
|
||||
|
@ -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
|
||||
|
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user