modify usb init position into board.c from init.c
This commit is contained in:
@@ -56,6 +56,10 @@ Modification:
|
||||
#include <connect_sdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_USB
|
||||
#include <connect_usb.h>
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_WDT
|
||||
#include <connect_wdt.h>
|
||||
#endif
|
||||
@@ -303,6 +307,12 @@ struct InitSequenceDesc _board_init[] =
|
||||
{ "sdio", Imxrt1052HwSdioInit },
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_USB
|
||||
#ifdef BSP_USING_NXP_USBH
|
||||
{ "nxp hw usb", Imxrt1052HwUsbHostInit },
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_I2C
|
||||
{ "hw_i2c", Imxrt1052HwI2cInit },
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user