-
Notifications
You must be signed in to change notification settings - Fork 28
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
Peripheral instances with different feature sets not supported #7
Comments
The merging happens on per-node basis, it has no semantic understanding of its content. The issue here is that the Then you'd add common features as children to the driver node and the instance specific features to the instance. |
@salkinium Are you planning to implement that? As a short-term solution I'll remove the features for the stm32-extended IP. We don't support fast mode plus or SMBus right now. |
No, not in the short term. I think that would be like modm-devices v2.0, since this would most likely break the modm .lb usage. But yeah, there are a couple of things I want to add to modm-devices like BSP data (e.g. Nucleo pinouts) and common algorithms for accessing this data (like GPIO alternate function mappings). But that's future stuff.
No, leave them in. The raw information is good, just the "passing" on currently lacks. The |
I'm currently updating the I2C peripheral information. On some controllers (F0, L0) the features of the
stm32-extended
IP depend on the peripheral instance. I would have expected the DFG to generate multiple<driver>
tags for the different instances.Output:
Expected:
The text was updated successfully, but these errors were encountered: