-
Notifications
You must be signed in to change notification settings - Fork 221
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
Spi master: remove public hidden APIs, add Config/apply_config #2448
Conversation
What should we do with interrupts? We only expose GDMA DMA interrupt flags, not SPI peripheral interrupt flags (meaning none for PDMA devices). IMHO since |
This is part of why I want to split them out into a separate object. |
Yeah a separate |
This is probably best imo. At least for the PDMA case where the interrupt registers are shared between the DMA and peripheral. I definitely don't see this being a chip-agnostic API. |
9efa3d8
to
7ff8039
Compare
f24670b
to
7f8e7de
Compare
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.
LGTM
mmm I removed |
at least |
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.
LGTM, lets address my other review comments seperately.
I have elected to pick a random option and resolve the CI warnings. We'll have to touch the code anyway if we figure out what to do about #2416 so I'll take the tech debt and move on. |
Not the nicest PR, I didn't take the concept to its extremes yet. But the
doc(hidden)
APIs are gone so that might be a valid first step.cc #2416 and #1919
There are a few bugfixes included as well.