From a9afc97bb244d7d90e0f47e3e58e702cdd9abc18 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Mon, 17 Oct 2022 02:45:38 +0200 Subject: [PATCH] board/stk3700: enable feature periph_usbdev --- boards/stk3700/Kconfig | 1 + boards/stk3700/Makefile.features | 1 + boards/stk3700/include/periph_conf.h | 1 + 3 files changed, 3 insertions(+) diff --git a/boards/stk3700/Kconfig b/boards/stk3700/Kconfig index e2dd2a46a5..d8b6e685b8 100644 --- a/boards/stk3700/Kconfig +++ b/boards/stk3700/Kconfig @@ -21,6 +21,7 @@ config BOARD_STK3700 select HAS_PERIPH_SPI select HAS_PERIPH_TIMER select HAS_PERIPH_UART + select HAS_PERIPH_USBDEV select HAVE_SAUL_GPIO select MODULE_SILABS_AEM if TEST_KCONFIG diff --git a/boards/stk3700/Makefile.features b/boards/stk3700/Makefile.features index 4d06682b39..4794179b5d 100644 --- a/boards/stk3700/Makefile.features +++ b/boards/stk3700/Makefile.features @@ -11,5 +11,6 @@ FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +FEATURES_PROVIDED += periph_usbdev include $(RIOTBOARD)/common/silabs/Makefile.features diff --git a/boards/stk3700/include/periph_conf.h b/boards/stk3700/include/periph_conf.h index c66959c2dd..9df1df3965 100644 --- a/boards/stk3700/include/periph_conf.h +++ b/boards/stk3700/include/periph_conf.h @@ -23,6 +23,7 @@ #include "cpu.h" #include "periph_cpu.h" #include "em_cmu.h" +#include "usbdev_cfg_otg_fs.h" #ifdef __cplusplus extern "C" {