From 105f18fa171a0c84de9db2d40ee76d7d1736d346 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Sat, 6 Jul 2024 08:54:16 -0700 Subject: [PATCH] Added a couple more USB VIDs/PIDs This adds support for ESP32_GENERIC_S3 and UM_TINY_S3 --- rshell/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rshell/main.py b/rshell/main.py index 158ef33..40071f5 100755 --- a/rshell/main.py +++ b/rshell/main.py @@ -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 @@ -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