We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Today we have lots of places with code like this:
#[cfg(any( feature = "stm32g471", feature = "stm32g473", feature = "stm32g474", feature = "stm32g483", feature = "stm32g484", feature = "stm32g491", feature = "stm32g4a1", ))] use self::config::ExternalTrigger345;
What do you think about adding a set of internal device features so something like the above instead could be written like
#[cfg(feature = "has_adc345")] use self::config::ExternalTrigger345;
or similar?
Here is a list of device capabilities.
BTW is there any way to make these features internal/private since they are supposed to be selected as a direct consequence of selecting mcu feature?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Today we have lots of places with code like this:
What do you think about adding a set of internal device features so something like the above instead could be written like
or similar?
Here is a list of device capabilities.
BTW is there any way to make these features internal/private since they are supposed to be selected as a direct consequence of selecting mcu feature?
The text was updated successfully, but these errors were encountered: