-
-
Couldn't load subscription status.
- Fork 431
Added external programmer support #720
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
Conversation
|
I would advice to keep the example:
|
Agreed, I'll fix this out. |
This will turn out useful for burn-bootloader that requires to run
two actions in a row ("erase" and "bootloader").
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent!
* Added scaffolding for external programmer support
* Added programmers extraction in arduino/cores module
* Implemented programmers list command
* Print upload command line in verbose mode
* Added programmer option to compile command
* External programmer implementation
* Factored function runTool in upload
This will turn out useful for burn-bootloader that requires to run
two actions in a row ("erase" and "bootloader").
* Implemented burn-bootloader
* Increased tracing log
* Test fix
* Added BurnBootloder action
* Make the upload port parameter mandatory only when really needed
* Fixed nil pointer exception when burning-bootloader
* Added sanity check on upload parameters
This PR add support for
upload with external programmer using the command line:
arduino-cli upload .... -P programmer-idburn bootlader:
(changed as per @ubidefeo suggestion)arduino-cli upload --fqbn ... --burn-bootloaderarduino-cli burn-bootloader --fqbn ....Another improvement of this PR is that it makes the
--portparameter mandatory only when really needed in upload patterns.Missing: