diff --git a/rshell/main.py b/rshell/main.py index 7a810d9..6b868b4 100755 --- a/rshell/main.py +++ b/rshell/main.py @@ -251,6 +251,12 @@ def is_micropython_usb_device(port): # Check for LEGO Technic Large Hub if usb_id.startswith('usb vid:pid=0694:0010'): return True + # Check for CH340x-based devices (ESP8266 boards) + if usb_id.startswith('usb vid:pid=1a86:7523'): + return True + # Check for CP210x-based devices (ESP32 boards) + if usb_id.startswith('usb vid:pid=10c4:ea60'): + return True return False