-
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
Allow custom FEATURE to be defined from an external source #20743
Comments
That is indeed true. It would be possible to also Could you elaborate a bit more your use case? To me, it is not obvious how a custom feature provided in a board would be useful. After all, only that board would know about that custom feature. And usually the value of features is that code in RIOT can depend on features or unlock extra functionality (via (Just to rule out this is that this is not an XY problem. If there is indeed value in allowing external boards to add custom features, we should implement this.) |
My use case is to allow a common API function that boards can optionally provide via the Theoretically one could do it as described here, but that's not very clean. As a workaround the |
Description
We are using the RIOT repository as a base for our apps and custom boards. While it is possible to add external
MODULE
s andBOARD
s, as far as I understand it's not possible to add customFEATURE
s. In case some of my boards provide a custom feature I'd like to be able to add it to the list of available features, because otherwise the build would fail as the buildsystem does not recognize the given feature. But since this list (RIOT/makefiles/features_existing.inc.mk
) is hardcoded and auto-generated there is currently no way to do that as far as I can see.The text was updated successfully, but these errors were encountered: