add board_test example for testing new board

This commit is contained in:
hathach
2019-08-24 23:30:35 +07:00
parent b3acce17cc
commit d4895c4af6
6 changed files with 180 additions and 0 deletions
+2
View File
@@ -100,8 +100,10 @@ static inline void board_delay(uint32_t ms)
uint32_t start_ms = board_millis();
while (board_millis() - start_ms < ms)
{
#if TUSB_OPT_DEVICE_ENABLED
// take chance to run usb background
tud_task();
#endif
}
}