Skip to content

Commit

Permalink
Merge pull request #964 from niw/increase_macos_ttyusbmodem_delay
Browse files Browse the repository at this point in the history
Increase delay for `tty.usbmodem` on macOS.
  • Loading branch information
enjoy-digital authored Jul 6, 2021
2 parents f9f1b8e + 0953c52 commit dd5413b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions litex/tools/litex_term.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ def open(self, port, baudrate):
if "ttyACM" in port:
self.payload_length = sfl_payload_length
self.delay = 1e-4
elif "tty.usbmodem" in port:
self.payload_length = sfl_payload_length
self.delay = 1e-3
else:
self.payload_length = 64
self.delay = 1e-5
Expand Down

0 comments on commit dd5413b

Please sign in to comment.