diff --git a/boards/stm32l476g-disco/Kconfig b/boards/stm32l476g-disco/Kconfig index 86ca7a70ef..048705d526 100644 --- a/boards/stm32l476g-disco/Kconfig +++ b/boards/stm32l476g-disco/Kconfig @@ -18,6 +18,7 @@ config BOARD_STM32L476G_DISCO select HAS_PERIPH_RTT select HAS_PERIPH_TIMER select HAS_PERIPH_UART + select HAS_PERIPH_USBDEV # Put other features for this board (in alphabetical order) select HAS_RIOTBOOT diff --git a/boards/stm32l476g-disco/Makefile.features b/boards/stm32l476g-disco/Makefile.features index fb1d62afbd..78f0a21701 100644 --- a/boards/stm32l476g-disco/Makefile.features +++ b/boards/stm32l476g-disco/Makefile.features @@ -6,6 +6,7 @@ FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += riotboot diff --git a/boards/stm32l476g-disco/include/periph_conf.h b/boards/stm32l476g-disco/include/periph_conf.h index 2c78db5f8c..9b33c58add 100644 --- a/boards/stm32l476g-disco/include/periph_conf.h +++ b/boards/stm32l476g-disco/include/periph_conf.h @@ -27,6 +27,7 @@ #include "periph_cpu.h" #include "clk_conf.h" #include "cfg_rtt_default.h" +#include "cfg_usb_otg_fs.h" #ifdef __cplusplus extern "C" {