Rahix / avr-hal

embedded-hal abstractions for AVR microcontrollers
Apache License 2.0
1.23k stars 216 forks source link

`embedded-hal@1.0.0` roadmap? #468

Open onkoe opened 6 months ago

onkoe commented 6 months ago

Hey there! I recently went to port one of my driver crates to the new embedded-hal@1.0.0-rc.3, with its (honestly much nicer) APIs. However, I also wanted to check if my port worked on real hardware, so I grabbed an Arduino and searched for a matching alpha/rc/etc for this set of crates.

To my surprise, there wasn't anything new that I could see, and checking for updates in the various embedded channels didn't get me very far. 🥹

Is there any plan to begin porting avr-hal to embedded-hal@1.0.0? The API is pretty stable now, and it's a good idea to get started before the release on December 28th.

If so, could you please link it to me? Otherwise, is this issue a good spot to start sticking down checkboxes? I'd at least like to progress on SPI, I2C, and other higher-level parts of the interface - though some other parts of avr-hal-generic are a bit beyond me. (I'm looking at you, delay.rs!) 😄

Rahix commented 6 months ago

Initial trait implementations were done by @rursprung in #470!

If anyone is interested in picking up the SPI and I2C drivers, please feel free to do so :)