[Bug Fix Tracking] Remove workaround for USB connection issue when possible
roryjamesallen opened this issue · comments
This is an issue solely to track the workaround to fix the USB connection issue, as it will hopefully be fixed 'properly' by a MicroPython version in the future, at which point the workaround should be removed and the previous MicroPython versions marked as incompatible with the module.
Specific removal condition
For the workaround in menu.py implemented in #183 to be removed, the following sequence of events must be able to be carried out without error from the Shell in Thonny:
- Have the Pico installed in the module
- Have rack power turned entirely off, and no USB connected
- Connect the Pico/module to a computer running Thonny using a USB cable
- Choose the port in Thonny to select 'MicroPython (Raspberry Pi Pico)
- Wait for
>>>
to be shown in the Shell window
Using MicroPython 1.20.0, this appears to be fixed, i.e. the delay added when connected over USB isn't required for a consistent connection to be made without error
Fixed in #333