bl_mcu_sdk/examples/peripherals/usbhost/main.c
jzlv 356f258e83 [sync] sync from internal repo
* use nuttx libc, disable system libc
* use tlsf as default
* update lhal flash driver
* add example readme
* add flash ini for new flash tool
* add fw header for new flash tool
2023-01-17 21:04:07 +08:00

19 lines
300 B
C

#include <FreeRTOS.h>
#include "semphr.h"
#include "usbh_core.h"
#include "board.h"
extern void usbh_class_test(void);
int main(void)
{
board_init();
printf("Starting usb host task...\r\n");
usbh_initialize();
usbh_class_test();
vTaskStartScheduler();
while (1) {
}
}