1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/sipeed-longan-nano: enable stdio_tinyusb_cdc_acm as default

This commit is contained in:
Gunar Schorcht 2023-02-07 01:07:28 +01:00
parent 80c2008bb1
commit fae506697f
3 changed files with 7 additions and 0 deletions

View File

@ -26,10 +26,15 @@ config BOARD_SIPEED_LONGAN_NANO
select HAVE_MTD_SDCARD_DEFAULT
select MODULE_FATFS_VFS if MODULE_VFS_DEFAULT
select PACKAGE_TINYUSB if TEST_KCONFIG
config SIPEED_LONGAN_NANO_WITH_TFT
bool "Board with TFT display"
help
Indicates that a Sipeed Longan Nano board with TFT display is used.
choice STDIO_IMPLEMENTATION
default MODULE_STDIO_TINYUSB_CDC_ACM if PACKAGE_TINYUSB
endchoice
source "$(RIOTBOARD)/common/gd32v/Kconfig"

View File

@ -12,4 +12,5 @@ ifneq (,$(filter vfs_default,$(USEMODULE)))
USEMODULE += mtd
endif
include $(RIOTBOARD)/common/makefiles/stdio_tinyusb_cdc_acm.dep.mk
include $(RIOTBOARD)/common/gd32v/Makefile.dep

View File

@ -1,2 +1,3 @@
PORT_LINUX ?= /dev/ttyACM0
PROGRAMMER ?= dfu-util
include $(RIOTBOARD)/common/gd32v/Makefile.include