-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Makefile.dep: make stdio_uart
a feature required by ethos
#12739
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO, this is worse than the initial proposal in #12724
@@ -404,7 +404,7 @@ ifneq (,$(filter newlib,$(USEMODULE))) | |||
USEMODULE += newlib_syscalls_default | |||
endif | |||
ifeq (,$(filter stdio_rtt stdio_cdc_acm,$(USEMODULE))) | |||
USEMODULE += stdio_uart | |||
FEATURES_PROVIDED += stdio_uart |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is forbidden.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where and why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Features should only be provided in Makefile.features files. Makefile.dep files are here to do the resolution of dependencies given the provided features. If we start mixing the concepts we will end up in more mess.
This PR doesn't work with make info-boards-supported
, so Murdock will fail in any case:
make -C tests/gnrc_ipv6_ext_frag info-boards-supported --no-print-directory | tr " " "\n" | grep thingy52
thingy52
Normally the result should be empty if the board is excluded.
BTW, with this proposal:
With #12724 it passes (and pulls in 2 stdio implementations... not sure how and why this works). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with you. This PR is not much better than #12473, so I'm closing it. |
Contribution description
An alternative proposal to #12724. Without touching any boards, with
stdio_uart
being the deciding factor if the application builds or not.Testing procedure
Take any of the applications changed in this PR and try to build them for one of the boards previously blacklisted. It still fails:
Issues/PRs references
Alternative to #12724