modify usb init position into board.c from init.c

This commit is contained in:
Liu_Weichao
2022-11-08 11:27:06 +08:00
parent 5f4922866e
commit 636f803b7b
9 changed files with 46 additions and 10 deletions
@@ -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