diff --git a/boards/b-u585i-iot02a/Kconfig b/boards/b-u585i-iot02a/Kconfig index 96acff4eb3..c35f33cb1b 100644 --- a/boards/b-u585i-iot02a/Kconfig +++ b/boards/b-u585i-iot02a/Kconfig @@ -17,6 +17,10 @@ config BOARD_B_U585I_IOT02A select HAS_PERIPH_I2C select HAS_PERIPH_TIMER select HAS_PERIPH_UART + select HAS_PERIPH_USBDEV + + # Put other features for this board (in alphabetical order) + select HAS_TINYUSB_DEVICE # Clock configuration select BOARD_HAS_LSE diff --git a/boards/b-u585i-iot02a/Makefile.features b/boards/b-u585i-iot02a/Makefile.features index cbf9191987..5c699a7856 100644 --- a/boards/b-u585i-iot02a/Makefile.features +++ b/boards/b-u585i-iot02a/Makefile.features @@ -5,5 +5,7 @@ CPU_MODEL = stm32u585ai FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) +FEATURES_PROVIDED += tinyusb_device diff --git a/boards/b-u585i-iot02a/include/periph_conf.h b/boards/b-u585i-iot02a/include/periph_conf.h index 19a2795e81..f552c8535b 100644 --- a/boards/b-u585i-iot02a/include/periph_conf.h +++ b/boards/b-u585i-iot02a/include/periph_conf.h @@ -27,6 +27,7 @@ #include "periph_cpu.h" #include "clk_conf.h" #include "cfg_timer_tim5.h" +#include "cfg_usb_otg_fs_u5.h" #ifdef __cplusplus extern "C" {