Skip to content

Commit 49783d9

Browse files
committed
Add T-Deck device support to Meshtastic CLI
- Add T-Deck device definition with verified USB IDs (303a:1001) - Add T-Deck to supported_devices list - Uses t-deck firmware identifier and ESP32 device class - Supports Linux (ttyACM), macOS (cu.usbmodem), and Windows (COM) ports - Update .gitignore to exclude virtual environment files T-Deck is now fully supported and automatically detected by the CLI.
1 parent 3615135 commit 49783d9

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ examples/__pycache__
1717
meshtastic.spec
1818
.hypothesis/
1919
coverage.xml
20-
.ipynb_checkpoints
20+
.ipynb_checkpoints
21+
.cursor/

meshtastic/supported_device.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,18 @@ def __init__(
217217
usb_product_id_in_hex="0059",
218218
)
219219

220+
tdeck = SupportedDevice(
221+
name="T-Deck",
222+
version="",
223+
for_firmware="t-deck", # Confirmed firmware identifier
224+
device_class="esp32",
225+
baseport_on_linux="ttyACM",
226+
baseport_on_mac="cu.usbmodem",
227+
baseport_on_windows="COM",
228+
usb_vendor_id_in_hex="303a", # Espressif Systems (VERIFIED)
229+
usb_product_id_in_hex="1001", # VERIFIED from actual device
230+
)
231+
220232

221233

222234
supported_devices = [
@@ -239,4 +251,5 @@ def __init__(
239251
rak11200,
240252
nano_g1,
241253
seeed_xiao_s3,
254+
tdeck, # T-Deck support added
242255
]

0 commit comments

Comments
 (0)