Closed dylanmckay closed 5 years ago
There's some great stuff in this PR. Is there any help needed to get it across the finish line? I'd like to use some of the features in https://github.com/pusherofbrooms/rust-arduino-examples without using the extra special branch. I like that this PR eliminates the std boiler plate.
Is there any help needed to get it across the finish line?
At the moment, it adds autogenerated core functionality side-by-side with the current arduino master. It's a bit strange having two different implementations of the library, and so I think that if we can get feature parity with current master with the new implementation, that should be good.
IIRC, I did most of the work to get it feature complete - I think the SPI stuff is still to be done?
Alright, this is now feature complete with the current master branch as far as I can tell.
Still need to do some cleanups, and the whole serial
module is still using the old atmega328-specific constant tables (rather than the autogenerated core stuff). The serial module can stay that way for now though
This is ready for some more eyes again @shepmaster @pusherofbrooms @Restioson
I'm going to merge this now to stop faffing about. It's much easier for people to build utop what is here when it is in master, rather than my private fork. I've looked over it locally, cleaned it up a lot. It should work on https://docs.rs too, automatically assuming atmega328p.
Docs on docs.rs.
It should be possible to do something like this
This would allow users to easily mix-and-match supported microcontrollers, provided the microcontroller has enough GPIOs, etc.