-
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
sys/usbus: Expose configurations to Kconfig #13374
sys/usbus: Expose configurations to Kconfig #13374
Conversation
@cgundogan @bergzand what about this: can we push for the release? |
The config options look good to me. I've played around with the configuration options and things look fine. I've asked @cgundogan to give this a final test. |
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 verify that the changes I do in the kconfig menu end up correctly in the configuration file and that they are picked up correctly when compiling. I can also see the newly introduced "choice" feature for USBUS_EP0_SIZE
. ACK!
In code now 'IS_ACTIVE' is used to check for this configuration.
ce38414
to
06920a1
Compare
Thanks everyone for reviewing and testing! |
Contribution description
This moves
USBUS_AUTO_ATTACH
andUSBUS_EP0_SIZE
configuration options to theCONFIG_
namespace, and exposes them to Kconfig.Testing procedure
Test with
examples/usbus_minimal
: Should work normally and you should be able to change options via Kconfig.Issues/PRs references
Part of #12888