Skip to content

Demacrofy I2C #219

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Demacrofy I2C #219

wants to merge 5 commits into from

Conversation

techmccat
Copy link
Contributor

Sister PR to #218 , thought it was a good idea to split them
This one doesn't have any change to the driver other than moving stuff out of the macro.

Also, I think I2C is missing the DMA TargetAddress impl, I could put it in this PR if needed

@techmccat
Copy link
Contributor Author

techmccat commented Jul 17, 2025

CI is failing because clippy warns about the I2C::i2c constructor, but removing it (and having the costructor only in I2cExt like it's done in the SPI module) would be a breaking change removing the $i2cx constructors is breaking anyway so I'll do that and put a ::new() in its place

@usbalbin
Copy link
Member

Have you had the opportunity to test this?

@techmccat
Copy link
Contributor Author

Have you had the opportunity to test this?

It can draw to a sh1106 display just fine, however I don't have any device that supports reads at hand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants