boards/flash.sh: rename HEXFILE to BINFILE#10471
Conversation
Flasher are doing 'loadbin' so use BINFILE name.
|
I just noticed that instead of updating these scripts, the boards could just be updated to use the common |
|
But as I do not have the boards and even JlinkExe (when installing from https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack it was called |
jcarrano
left a comment
There was a problem hiding this comment.
Tested (no JLinkExe, but it should not matter.)
|
As a side comment, that command line argument handling in |
|
It is used as an internal script only, so I think it is not needed to not do an extensive testing on arguments. |
Contribution description
Flasher are doing 'loadbin' so use BINFILE name.
In
Makefile.includeit is already setting HEXFILE to BINFILERIOT/boards/cc2538dk/Makefile.include
Line 34 in ce8815f
RIOT/boards/common/remote/Makefile.include
Line 28 in ce8815f
Testing procedure
Try flashing for
cc2538dkor boards depending onremote/common:You should get the same output for
masterand this PR with:WARNING: by testing this, I noticed boards depending on
remote/commoncannot flash usingPROGRAMMER==jlinksince4bcb353#diff-5143693651d6b10f67f159d2f8f11d47EDIT issue was even older it was already broken by 8d07c01#diff-9f122f733b5127db6637053c7f2bbd4fI should do a PR to fix this before this one…
PR in #10472
Issues/PRs references
Split from these PRs that try to declare
BINFILEandFLASHFILEvariables.hexand.binfile and add FLASHFILE variable #8838