add nuttx osal

This commit is contained in:
sakumisu
2024-05-09 10:45:27 +08:00
parent cd8b103a71
commit 18c4454228
2 changed files with 361 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ typedef void (*usb_timer_handler_t)(void *argument);
struct usb_osal_timer {
usb_timer_handler_t handler;
void *argument;
bool is_period;
uint32_t ticks;
void *timer;
};