Skip to content

Commit

Permalink
Merge pull request #1 from smlight-tech/ttyS
Browse files Browse the repository at this point in the history
match also ttyS4 on linux
  • Loading branch information
tl-sl authored Nov 13, 2024
2 parents 731538d + 3d34629 commit acd5dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smlight_cc_flasher/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def config_logging(self, log_level):

def validate_device(self, value):
windows_pattern = r"^COM\d+$"
linux_pattern = r"^/dev/tty(USB|ACM)\d+$"
linux_pattern = r"^/dev/tty(USB|ACM|S)\d+$"
macos_pattern = r"^/dev/tty\.(usbserial|usbmodem)[A-Za-z0-9.-]+$"
socket_pattern = r"^socket://[A-Za-z0-9.-]+:\d+$"

Expand Down

0 comments on commit acd5dfa

Please sign in to comment.