diff --git a/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c b/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c index fedd8ecec00..0992baab0ed 100644 --- a/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c +++ b/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c @@ -122,6 +122,10 @@ #include "stm32_xen1210.h" #endif +#ifdef CONFIG_USBADB +# include +#endif + /**************************************************************************** * Public Functions ****************************************************************************/ @@ -526,5 +530,9 @@ int stm32_bringup(void) } #endif /* CONFIG_LPWAN_SX127X */ +#ifdef CONFIG_USBADB + usbdev_adb_initialize(); +#endif + return ret; }