boards: stm32f4discovery: Call usbdev_adb_initialize() in stm32_bringup.c

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-12-17 15:55:29 +09:00 committed by Xiang Xiao
parent 0edb162ba7
commit 9f586a6042

View File

@ -122,6 +122,10 @@
#include "stm32_xen1210.h"
#endif
#ifdef CONFIG_USBADB
# include <nuttx/usb/adb.h>
#endif
/****************************************************************************
* Public Functions
****************************************************************************/
@ -526,5 +530,9 @@ int stm32_bringup(void)
}
#endif /* CONFIG_LPWAN_SX127X */
#ifdef CONFIG_USBADB
usbdev_adb_initialize();
#endif
return ret;
}