Closed fstengel closed 7 years ago
See relevant pull request (#35)...
Why don't you just do: mpfshell -c "open tty.SLAB_USBtoUART"
Indeed. However, being lazy, mpfshell -c "open ..."
seems a bit less efficient than mpfshell ...
Furthermore, I don't quite see the point in not opening the connection to the board as soon as one interactively uses mpfshell.
+1 for using open anyway always as first command -> maybe specifying only one parameter should directly connect to that
Though, maybe this becomes strange when you deal with several boards in one mpfshell script.
Very good point. Up until now, I would have thought that to access more than one board one would have to open them using one instance of mpfshell
per board.
Feature was added by push request.
Being a lazy person :sweat_smile: I wonder if it would not be possible to use
mpfshell
as follows:or (even quicker)
instead of:
That way, one could use the shell's history to connect to the board: I tend to forget what
tty.*
my board is connected to... :flushed: