makefiles/sam0: only fail on missing device with explicit targets#14431
Merged
aabadie merged 1 commit intoRIOT-OS:masterfrom Jul 3, 2020
Merged
makefiles/sam0: only fail on missing device with explicit targets#14431aabadie merged 1 commit intoRIOT-OS:masterfrom
aabadie merged 1 commit intoRIOT-OS:masterfrom
Conversation
fjmolinas
reviewed
Jul 3, 2020
fjmolinas
reviewed
Jul 3, 2020
fjmolinas
approved these changes
Jul 3, 2020
Contributor
fjmolinas
left a comment
There was a problem hiding this comment.
Looks good, please squash:
make -C examples/hello-world BOARD=samr21-xpro SERIAL=ATML211234567 debug --no-print-directory
/home/francisco/workspace/RIOT2/makefiles/boards/sam0.inc.mk:14: *** Did not find a device with serial ATML211234567. Stop.
make -C examples/hello-world BOARD=samr21-xpro SERIAL=ATML211234567 term --no-print-directory
/home/francisco/workspace/RIOT2/makefiles/boards/sam0.inc.mk:14: *** Did not find a device with serial ATML211234567. Stop.
make -C examples/hello-world BOARD=samr21-xpro SERIAL=ATML211234567 all --no-print-directory
Building application "hello-world" for "samr21-xpro" with MCU "samd21".
"make" -C /home/francisco/workspace/RIOT2/boards/samr21-xpro
"make" -C /home/francisco/workspace/RIOT2/core
80f5d18 to
c7189cf
Compare
Contributor
Author
|
Squashed! |
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 fixes #10367 by simply using make code to only auto compute
SERIAL_TTYwhen an explicit make target is given (term, flash, etc). For a bare make command, this is skipped so there's no more unrelated failure.Testing procedure
make -C examples/hello-world BOARD=samr21-xpro SERIAL=ATML211234567:this PR:
master:
Details
Issues/PRs references
fixes #10367