feat support USB HOST for ok1052-c board

This commit is contained in:
Liu_Weichao
2022-02-17 15:18:27 +08:00
parent 2ecded6feb
commit 84b27692c0
62 changed files with 18092 additions and 28 deletions
+5 -2
View File
@@ -27,7 +27,7 @@
#include <stdlib.h>
#include <board.h>
#ifdef BSP_USING_USBH
#ifdef BSP_USING_USB
#include "connect_usb.h"
#endif
@@ -123,9 +123,12 @@ struct InitSequenceDesc env_init[] =
};
struct InitSequenceDesc communication_init[] =
{
#ifdef BSP_USING_USBH
#ifdef BSP_USING_STM32_USBH
{ "STM32USBHostRegister", STM32USBHostRegister },
{ "hw usb", Stm32HwUsbInit },
#endif
#ifdef BSP_USING_NXP_USBH
{ "nxp hw usb", Imrt1052HwUsbHostInit },
#endif
{ " NONE ", NONE },
};