Skip to content

Commit

Permalink
Added a couple more USB VIDs/PIDs
Browse files Browse the repository at this point in the history
This adds support for ESP32_GENERIC_S3 and UM_TINY_S3
  • Loading branch information
dhylands committed Jul 6, 2024
1 parent 70288d8 commit 105f18f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rshell/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ def is_micropython_usb_device(port):
# values.
if usb_id.startswith('usb vid:pid=f055:980'):
return True
# EPS32_GENERIC_S3
if usb_id.startswith('usb vid:pid=1a86:55d3'):
return True
# Check Raspberry Pi Pico
if usb_id.startswith('usb vid:pid=2e8a:0005'):
USB_BUFFER_SIZE = RPI_PICO_USB_BUFFER_SIZE
Expand All @@ -253,6 +256,10 @@ def is_micropython_usb_device(port):
if usb_id.startswith('usb vid:pid=303a:4001'):
USB_BUFFER_SIZE = 256
return True
# Check for UM_TINYS3 firmware
if usb_id.startswith('usb vid:pid=303a:80d1'):
USB_BUFFER_SIZE = 256
return True
# Check for Teensy VID:PID
if usb_id.startswith('usb vid:pid=16c0:0483'):
return True
Expand Down

0 comments on commit 105f18f

Please sign in to comment.