First I want to say many thanks for this fantastic tool. I use mpfshell for all my micropython projects for quite a while now and really like the simplicity and functionality of it.
I want to suggest a small but - in my opinion - very useful extension to make the workflow even more smooth. I often find myself starting and leaving mpfshell in the process of development. It would be great to have a command-line argument that opens the given port automatically on startup of mpfshell. Something as simple as:
$ mpfshell /dev/tty.wchusbserialfd120
This way one could skip the open myspecificport command at the beginning of a mpfshell session which otherwise has to be typed again and again on the beginning of each mpfshell session. With a port command-line argument the user will be able to make use of the reverse-search and autocomplete features of the shell or even use an alias to get mpfshell up and running on the right port at once.
I think this would be a great improvement to the general workflow and I would also be willing to implement it.
First I want to say many thanks for this fantastic tool. I use mpfshell for all my micropython projects for quite a while now and really like the simplicity and functionality of it.
I want to suggest a small but - in my opinion - very useful extension to make the workflow even more smooth. I often find myself starting and leaving mpfshell in the process of development. It would be great to have a command-line argument that opens the given port automatically on startup of mpfshell. Something as simple as:
$ mpfshell /dev/tty.wchusbserialfd120
This way one could skip the
open myspecificport
command at the beginning of a mpfshell session which otherwise has to be typed again and again on the beginning of each mpfshell session. With a port command-line argument the user will be able to make use of the reverse-search and autocomplete features of the shell or even use an alias to get mpfshell up and running on the right port at once.I think this would be a great improvement to the general workflow and I would also be willing to implement it.
Kind Regards Stefan