modify usb init position into board.c from init.c
This commit is contained in:
@@ -50,6 +50,8 @@ extern int Stm32HwRtcInit();
|
||||
extern int HwSdioInit();
|
||||
extern int Stm32HwAdcInit(void);
|
||||
extern int Stm32HwDacInit(void);
|
||||
extern int STM32USBHostRegister(void);
|
||||
extern int Stm32HwUsbInit(void);
|
||||
#ifdef BSP_USING_LWIP
|
||||
extern int ETH_BSP_Config();
|
||||
#endif
|
||||
@@ -139,6 +141,12 @@ struct InitSequenceDesc _board_init[] =
|
||||
#ifdef BSP_USING_SDIO
|
||||
{"hw sdcard init", HwSdioInit},
|
||||
#endif
|
||||
#ifdef BSP_USING_USB
|
||||
#ifdef BSP_USING_STM32_USBH
|
||||
{ "STM32USBHostRegister", STM32USBHostRegister },
|
||||
{ "hw usb", Stm32HwUsbInit },
|
||||
#endif
|
||||
#endif
|
||||
#ifdef BSP_USING_ADC
|
||||
{"hw adc init", Stm32HwAdcInit},
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user