add tusb_time_millis(), able to reset and enable dwc2 port and get SOF active

This commit is contained in:
hathach
2024-10-21 17:45:40 +07:00
parent f5978876d2
commit 8461525d48
8 changed files with 123 additions and 30 deletions

View File

@@ -134,3 +134,8 @@ int board_getchar(void) {
char c;
return (sys_read(0, &c, 1) > 0) ? (int) c : (-1);
}
uint32_t tusb_time_millis(void) {
return board_millis();
}