There was an error while loading. Please reload this page.
1 parent 31d630b commit 8df56dfCopy full SHA for 8df56df
platformio/device/finder.py
@@ -133,6 +133,10 @@ def match_device_hwid(patterns):
133
134
def find(self, initial_port=None):
135
if initial_port:
136
+ # Treat any URL (contains '://') as a literal port
137
+ if "://" in initial_port:
138
+ return initial_port
139
+ # Otherwise fall back to existing wildcard logic
140
if not is_pattern_port(initial_port):
141
return initial_port
142
return self.match_serial_port(initial_port)
0 commit comments