forked from xuos/xiuos
modify usb init position into board.c from init.c
This commit is contained in:
@@ -59,6 +59,10 @@ extern int ExtSramInit(void);
|
||||
#include <connect_uart.h>
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_USB
|
||||
#include <connect_usb.h>
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_ADC
|
||||
#include <connect_adc.h>
|
||||
#endif
|
||||
@@ -693,5 +697,11 @@ void InitBoardHardware()
|
||||
Imxrt1052HwSdioInit();
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_USB
|
||||
#ifdef BSP_USING_NXP_USBH
|
||||
Imxrt1052HwUsbHostInit();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ Modification:
|
||||
#include <board.h>
|
||||
#include <connect_usb.h>
|
||||
|
||||
#define BSP_USING_NXP_USBH
|
||||
#ifdef BSP_USING_NXP_USBH
|
||||
|
||||
/*! @brief USB host msd command instance global variable */
|
||||
|
||||
Reference in New Issue
Block a user