Skip to content
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

Migration to embedded-hal v1.0.0 #15

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jack-weilage
Copy link

@jack-weilage jack-weilage commented Dec 22, 2024

This crate uses an out-of-date version of embedded-hal, which means that extremely useful features (like the bus sharing from embedded-hal-bus) cannot be used with this crate. This PR mogrates bma400 to embedded-hal v1.0.0.

The main migration currently seems complete, but the test suite will be a bit of a pain, as embedded-hal-mock now requires tests to call .done() on each mock (dbrgn/embedded-hal-mock#34).

PS: Thanks for the great crate!

The BMA400 implements a CS pin, so it is sound to allow other devices to
co-exist on the same SPI bus.
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.

1 participant