reduce s3 baudrate to prevent usb isssue, reset rp2040 usb for board test example
This commit is contained in:
@@ -166,6 +166,12 @@ void board_init(void)
|
|||||||
#if CFG_TUH_ENABLED
|
#if CFG_TUH_ENABLED
|
||||||
// set portfunc to host !!!
|
// set portfunc to host !!!
|
||||||
#endif
|
#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": "esptool",
|
||||||
"flasher_sn": "461cb8d7decdeb119be9b506e93fd3f1",
|
"flasher_sn": "461cb8d7decdeb119be9b506e93fd3f1",
|
||||||
"flasher_args": "-b 1500000"
|
"flasher_args": "-b 921600"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user