add lpc43 family

This commit is contained in:
hathach
2023-08-03 17:19:47 +07:00
parent a5768f52b4
commit a160da1f2b
16 changed files with 393 additions and 54 deletions

View File

@@ -112,10 +112,14 @@ static inline void board_led_off(void) {
static inline void board_delay(uint32_t ms) {
uint32_t start_ms = board_millis();
while ( board_millis() - start_ms < ms ) {
#if CFG_TUD_ENABLED
// take chance to run usb background
#if CFG_TUD_ENABLED
tud_task();
#endif
#if CFG_TUH_ENABLED
tuh_task();
#endif
}
}