Closed arjanmels closed 4 years ago
Changed this to WIP so I can include more changes in one go.
@MabezDev and @chocol4te I think this is in pretty good shape now. Your review and feedback is most welcome. (Todo's are intterrupt handling and perhaps some more functionality on the RTC_MUX.)
(I also updated the i2c to teh latest version: https://github.com/arjanmels/esp32-hal/tree/feature-i2c-am
Just some really small comment/formatting changes suggested, looks really solid and can't think of anything to change in the implementation!
Thanks, always nice to put the dots on the i's and cross the t's. :-)
In principle, I think this is ready for merge: https://github.com/esp-rs/esp32/pull/34 has been merged as well as #34. Also the problems @chocol4te was having are solved (https://github.com/esp-rs/esp32-hal/pull/26#issuecomment-648833861).
However, I could still add interrupt support and more extensive support for the RTC IO mux. I will be working on this over the next day/weekend; I can merge it in this PR or can make a new one.
@arjanmels imho it might be slightly easier to merge this and have separate PRs for the additional functionality, but I’m also happy to just rebase against this branch when I finish up the I2C work :)
TODO:
This depends on https://github.com/esp-rs/esp32/pull/34 and it builds on #34.
Addresses issue #35 and #19