- add esp32 c3, c6 mcu option

- skip breakpoint for espressif riscv
This commit is contained in:
hathach
2024-04-26 00:10:57 +07:00
parent 03ccc8d8df
commit 223ce56625
5 changed files with 11 additions and 4 deletions

View File

@@ -126,7 +126,10 @@ static void usb_host_task(void *param) {
(void) param;
// init host stack on configured roothub port
tuh_init(BOARD_TUH_RHPORT);
if (!tuh_init(BOARD_TUH_RHPORT)) {
printf("Failed to init USB Host Stack\r\n");
vTaskSuspend(NULL);
}
if (board_init_after_tusb) {
board_init_after_tusb();