mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-12 03:40:15 +00:00
reduce s3 baudrate to prevent usb isssue, reset rp2040 usb for board test example
This commit is contained in:
parent
37158eddcb
commit
ea885d5c83
@ -166,6 +166,12 @@ void board_init(void)
|
||||
#if CFG_TUH_ENABLED
|
||||
// set portfunc to host !!!
|
||||
#endif
|
||||
|
||||
#if !CFG_TUD_ENABLED && !CFG_TUH_ENABLED
|
||||
// board test exxample, reset usb controller
|
||||
reset_block(RESETS_RESET_USBCTRL_BITS);
|
||||
unreset_block_wait(RESETS_RESET_USBCTRL_BITS);
|
||||
#endif
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
@ -15,7 +15,7 @@
|
||||
],
|
||||
"flasher": "esptool",
|
||||
"flasher_sn": "461cb8d7decdeb119be9b506e93fd3f1",
|
||||
"flasher_args": "-b 1500000"
|
||||
"flasher_args": "-b 921600"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user