-
Notifications
You must be signed in to change notification settings - Fork 48
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
Move to embedded-hal 1.0 #118
Comments
If you provide some implementation for it we are ready to use it. |
How do we want that to look like?
|
I'm not sure about remove 0.2 causing feature incomplete of 1.0, but we can split trait implementation (internal/external) and use feature based flags for it (follows f4 & other hals). |
I've been working on porting the SPI driver over to hal 1.0 with some optimizations using the FIFO and packed frames (and GPIO, which was mostly just copy-pasting code). The code has been tested with a driver I'm working on and seems to work fine. |
FWIW, my suggestion is to start a separate branch that is just using There seems to be a start made in branch
but that would be a beginning. |
I've gotten around to implementing all the new traits while keeping the old ones and fixing some examples, although i'm not quite satisfied with the delay, it could be much more high-res but the module needs a bit of rework (maybe something like the f4 hal with compile-time frequencies?). Next comes updating the prelude and fixing the examples |
When you are ready, could you remove or change the
Then I will add your fork of FYI, at the moment, with |
Done, examples all compile on g474 |
I have forked @techmccat 's
in Regarding testing my examples with this fork, I have made very good progress. So much so that I am wondering if anything special was done to accomodate using There seem to be two many things I need to take care about. One is if the sensor device crate needs to consume a Of 69 examples I had working with many hals prior to the change to The way I choose to write some of the examples can affect these numbers because of the above issues. In general I lean toward trying to do things the |
Now that 1.0 is released, is there a plan already to move the HAL to this version?
The text was updated successfully, but these errors were encountered: