Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions rshell/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,15 @@ 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 CH340-based devices (ESP8266 boards)
if usb_id.startswith('usb vid:pid=1a86:7523'):
return True
# Check for CH340-based devices (some ESP32 boards)
if usb_id.startswith('usb vid:pid=1a86:7522'):
return True
# Check for CP210x-based devices (ESP32 boards)
if usb_id.startswith('usb vid:pid=10c4:ea60'):
return True
return False


Expand Down