boards/msba2: Do not set PORT.#10454
Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom Nov 28, 2018
Merged
Conversation
Contributor
Author
Member
How? There are no |
Member
|
@emmanuelsearch has some |
Contributor
Author
d'oh. I'm editing the description. |
Member
Correction: He knows where the |
miri64
reviewed
Nov 27, 2018
Member
miri64
left a comment
There was a problem hiding this comment.
Tested by flashing and term on msba2.
0577123 to
c4ccaec
Compare
Contributor
Author
|
Done. |
Boards should not set PORT and should not have code conditional on PORT as that causes PORT to be evaluated and the build to fail even if this varible is not needed. Exporting has the same effect. This fixes the MSBA2 board by declaring PORT_LINUX and PORT_DARWIN instead.
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
Boards should not set PORT and should not have code conditional on PORT as that causes PORT to be evaluated and the build to fail even if this varible is not needed.
Exporting has the same effect.
This fixes the MSBA2 board by declaring PORT_LINUX and PORT_DARWIN instead. PORT_DARWIN is obviously wrong, but it is broken with or without this PR.
Testing procedure
CI should test that this builds.
I tested
make termin a MSBA2.make flashwas not tested (I don't have the program).Issues/PRs references
Needed by #10342 so it does not fail.
See also #10440 .