makefiles/tools/jlink.inc.mk: use FLASHFILE#11130
Merged
kYc0o merged 2 commits intoRIOT-OS:masterfrom Mar 14, 2019
Merged
Conversation
Contributor
Author
|
Updated the testing procedure, with and without board. |
Update to use FLASHFILE as file to be flashed on the board.
JLink flasher used by the only supported board `nrf52dk` has been updated. FLASHFILE must now be defined by the board to use this in case a new one wants to be supported.
55b4c31 to
4c860f3
Compare
Contributor
Author
|
Rebased now that #11112 was merged |
49 tasks
Contributor
Author
|
@smlng Do you want any other boards tested before merging this ? |
Contributor
|
I see no issue with this PR. The boards I have are already tested so I can't do more testing. |
Contributor
|
@cladmi can you test in a remote? |
Contributor
Author
|
@kYc0o I just checked and the remote boards are using a different JLink script for the moment. I can add to the FLASHFILE todolist to migrate them to the common Jlink file.EDIT: and it is the same for |
Contributor
Contributor
|
Works on STK3700, I'd say everything is fine. Merge when Murdock succeeds. |
Contributor
Author
|
Thank you for the review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
Update to use FLASHFILE as file to be flashed on the board.
Testing procedure
We need to test that boards using
Jlinkwould still work with this.I will come up with a testing procedure without board.
Boards using JLink:
I listed all the boards using Jlink by using
git grep jlink.inc.mkand checking also the boards usingcommon.Test flashing normal examples with the board:
Test without board
I replaced FLASHER by 'true' to only show the FFLAGS and get the same output with master and this pull request:
mcuboot test
Test flashing
tests/mcubootfornrf52dk(only one supported):One
make termand runmake -C tests/mcuboot/ clean mcuboot-flash.You should get:
Issues/PRs references
Split out of #8838
Depends on
#11112It would be useful to prevent extend the hack to Jlink for #11126