mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-09 06:18:52 +00:00
* 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
19 lines
300 B
C
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) {
|
|
}
|
|
}
|