-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid west cmake diagnostics when using board alias #33138
Labels
area: Build System
area: West
West utility
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Comments
tejlmand
added a commit
to tejlmand/zephyr
that referenced
this issue
Mar 17, 2021
Fixes: zephyrproject-rtos#33138 Board alias and deprecated board handling is setting the BOARD variable after zephyr_boilerplate_watch(BOARD) has been executed. This results in the board changed warning. This commit moves the zephyr_boilerplate_watch(BOARD) code below the board alias and deprecation handling. Signed-off-by: Torsten Rasmussen <[email protected]>
Fixed: #33436 |
carlescufi
pushed a commit
that referenced
this issue
Mar 18, 2021
Fixes: #33138 Board alias and deprecated board handling is setting the BOARD variable after zephyr_boilerplate_watch(BOARD) has been executed. This results in the board changed warning. This commit moves the zephyr_boilerplate_watch(BOARD) code below the board alias and deprecation handling. Signed-off-by: Torsten Rasmussen <[email protected]>
jeremybettis
pushed a commit
to jeremybettis/zephyr
that referenced
this issue
Mar 18, 2021
Fixes: zephyrproject-rtos#33138 Board alias and deprecated board handling is setting the BOARD variable after zephyr_boilerplate_watch(BOARD) has been executed. This results in the board changed warning. This commit moves the zephyr_boilerplate_watch(BOARD) code below the board alias and deprecation handling. Signed-off-by: Torsten Rasmussen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Build System
area: West
West utility
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Zephyr supports board aliases which allow more natural names to be used for boards at the command line.
Sometime in the past couple weeks use of this feature has started to produce verbose gratuitous warnings. E.g.:
with
in a file identified by the
ZEPHYR_BOARD_ALIASES
environment variable now produces:The warning is clearly wrong, as the board is being set correctly, and is inappropriate, as the alias was correct.
The text was updated successfully, but these errors were encountered: