diff --git a/boards/seeedstudio-gd32/Kconfig b/boards/seeedstudio-gd32/Kconfig index 70a111a02a..26a10dc796 100644 --- a/boards/seeedstudio-gd32/Kconfig +++ b/boards/seeedstudio-gd32/Kconfig @@ -24,4 +24,10 @@ config BOARD_SEEEDSTUDIO_GD32 select HAS_TINYUSB_DEVICE select HAVE_SAUL_GPIO + select PACKAGE_TINYUSB if TEST_KCONFIG + +choice STDIO_IMPLEMENTATION + default MODULE_STDIO_TINYUSB_CDC_ACM if PACKAGE_TINYUSB +endchoice + source "$(RIOTBOARD)/common/gd32v/Kconfig" diff --git a/boards/seeedstudio-gd32/Makefile.dep b/boards/seeedstudio-gd32/Makefile.dep index a7dc06f36c..0b715744ce 100644 --- a/boards/seeedstudio-gd32/Makefile.dep +++ b/boards/seeedstudio-gd32/Makefile.dep @@ -2,4 +2,5 @@ ifneq (,$(filter saul_default,$(USEMODULE))) USEMODULE += saul_gpio endif +include $(RIOTBOARD)/common/makefiles/stdio_tinyusb_cdc_acm.dep.mk include $(RIOTBOARD)/common/gd32v/Makefile.dep diff --git a/boards/seeedstudio-gd32/Makefile.include b/boards/seeedstudio-gd32/Makefile.include index 8df5985396..3f5d298382 100644 --- a/boards/seeedstudio-gd32/Makefile.include +++ b/boards/seeedstudio-gd32/Makefile.include @@ -1 +1,2 @@ +PORT_LINUX ?= /dev/ttyACM0 include $(RIOTBOARD)/common/gd32v/Makefile.include