makefiles/tools/jlink.inc.mk: DEBUG_ADAPTER_ID as JLINK_SERIAL#12733
Merged
aabadie merged 2 commits intoRIOT-OS:masterfrom Nov 18, 2019
Merged
makefiles/tools/jlink.inc.mk: DEBUG_ADAPTER_ID as JLINK_SERIAL#12733aabadie merged 2 commits intoRIOT-OS:masterfrom
aabadie merged 2 commits intoRIOT-OS:masterfrom
Conversation
benpicco
approved these changes
Nov 17, 2019
Contributor
benpicco
left a comment
There was a problem hiding this comment.
Change makes sense for consistency.
aabadie
requested changes
Nov 18, 2019
Contributor
aabadie
left a comment
There was a problem hiding this comment.
I think there's something missing.
| DEBUGSERVER_FLAGS ?= debug-server | ||
| RESET_FLAGS ?= reset | ||
|
|
||
| JLINK_SERIAL ?= $(DEBUG_ADAPTER_ID) |
Contributor
There was a problem hiding this comment.
This should be exported if it's used in jlink.sh
Contributor
Author
There was a problem hiding this comment.
Thanks for spotting this @aabadie, you are right. I'm thinkking of the best place to export. Will adddress and fix the test procedure.
a4cb297 to
83b800a
Compare
Contributor
Author
|
@aabadie I updated the PR description and fixed the testing procedure. |
aabadie
reviewed
Nov 18, 2019
aabadie
reviewed
Nov 18, 2019
- export JLINK_SERIAL for required targets
83b800a to
05782d1
Compare
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
This PR uses DEBUG_ADAPTER_ID as the default value for JLINK_SERIAL. This way all
programmers use the same variable.
It also cleans-up the documentation for
jlink.sh:term_rtttoterm-rtt(common target namestyle)term-rttdocumentationTesting procedure
BOARD, this fails in master:I have 3 jlink devices connected
nrf52dk,nrf52840dk,slstk3402aBOARD=slstk3402a make -C examples/hello-world/ reset
BOARD=nrf52840dk make -C examples/hello-world/ reset
BOARD=nrf52dk make -C examples/hello-world/ reset