-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Python interface in addition to command line interface: Return the firmware file #18
Comments
I'd been considering a similar request for mpbuild to be called from mpflash |
I now started using the code in The interface is not self-explanatory. There are python dicts and no code completion on these dicts. So my proposal would be to just rewrite this file using dataclasses. If you are interested, I could make a proposal in form of a PR. |
It makes sense for mpbuild to be a callable module as well as cli tool; that was my intention though I've mostly been trying to get the cli side done. @hmaerki please feel free to raise a PR but this is very early days in mpbuild's life, I've shown it as early as I could, I still intend to overhaul it quite a lot. Updating |
mpbuild
could be used in octoprobe.The python interface just behind the command line interface is:
This is find as it is easy to use.
However it would be helpful when
build_board
would return the path to the firmware which just was built.The text was updated successfully, but these errors were encountered: