-
Notifications
You must be signed in to change notification settings - Fork 883
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
NonInvertingPin not implemented for OPAMP pins #3818
Comments
The issue comes from stm32-data. See H7 has the pins with the VINP/VINM naming https://github.com/embassy-rs/stm32-data-generated/blob/main/data/chips/STM32H743VI.json#L4910 while G4 (where opamp pin impls do work) has VP0, VP1, .. https://github.com/embassy-rs/stm32-data-generated/blob/main/data/chips/STM32G491VE.json#L2611 . it also has the pins with the bad naming, and multiple times. The fix should be:
About which naming to pick, i'm not sure. I think the naming ST uses most commonly is VINPx/VINMx/VOUT ? |
I'm not sure about the common naming as I'm new to this. VINP/VINM/VOUT feels right to me for some reason. |
for inverting pins you'd have to duplicate this to make the impls embassy/embassy-stm32/build.rs Lines 1231 to 1239 in f6532e8
and add new constructors to |
The
NonInvertingPin
impls seem to be generated based on metapac here for pins withVP*
signals, however, those seem to beVINM
signals according to manual (stm32h743vi) and also according to the metapac. Is there anything I can do about it?The text was updated successfully, but these errors were encountered: