diff --git a/boards/stm32f746g-disco/Kconfig b/boards/stm32f746g-disco/Kconfig index 3ea0d2835c..b46ae34f01 100644 --- a/boards/stm32f746g-disco/Kconfig +++ b/boards/stm32f746g-disco/Kconfig @@ -21,6 +21,7 @@ config BOARD_STM32F746G_DISCO select HAS_PERIPH_SPI select HAS_PERIPH_TIMER select HAS_PERIPH_UART + select HAS_PERIPH_USBDEV # Clock configuration select BOARD_HAS_HSE diff --git a/boards/stm32f746g-disco/Makefile.features b/boards/stm32f746g-disco/Makefile.features index e7596f54f6..7e95717f28 100644 --- a/boards/stm32f746g-disco/Makefile.features +++ b/boards/stm32f746g-disco/Makefile.features @@ -10,6 +10,7 @@ FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +FEATURES_PROVIDED += periph_usbdev # stm32f746g-disco provides a custom default Kconfig clock configuration KCONFIG_ADD_CONFIG += $(RIOTBOARD)/stm32f746g-disco/clock.config diff --git a/boards/stm32f746g-disco/include/periph_conf.h b/boards/stm32f746g-disco/include/periph_conf.h index aed44ad9ea..026f06dbfd 100644 --- a/boards/stm32f746g-disco/include/periph_conf.h +++ b/boards/stm32f746g-disco/include/periph_conf.h @@ -39,6 +39,7 @@ #include "cfg_i2c1_pb8_pb9.h" #include "cfg_rtt_default.h" #include "cfg_timer_tim2.h" +#include "cfg_usb_otg_fs.h" #include "mii.h" #ifdef __cplusplus