Reintroduce the `--input-file` flag for the `upload` command #777
+352
−97
Conversation
Added some inline requests. The business logic is OK. |
25aab3a
to
c8b36e5
There is no point in overriding the sketch name if the user explicitly give it via command line.
fixes EquivalentTo when used with abs paths
Ok, this one looked easy at a first glance but ended up being very complicated.
|
auto-approving my changes :-) |
tested both with programmer and bootloader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Please check if the PR fulfills these requirements
This PR reintroduces the
-i
--input-file
flag for theupload
command, allowing to upload a single binary, according to the core recipeYou cannot specify a single binary file for the upload
This command allows the user to upload a specific pre-built binary
Reintroduces the flag that was deprecated in the last release (0.11.0)
Please note that the sketch binary extension (
.bin
in my example above) passed as the--input-file
value will be ignored, because the file extension for the binary files is explicity set at the core recipe level for each board.See for example here for the arduino:samd:mkrwifi1010 board upload recipe, that the
.bin
file is set explicitly:See how to contribute