Tracking issue to reduce boilerplate
bugadani opened this issue · 2 comments
bugadani commented
The goal of this issue is to lower the amount of code the users need to write for no good reason.
- #1957
- #2012
- #1970
- #1999
- #2070
- #2133
- #2134
- #2136
- #2248
- #2260
- Type-erase peripheral instances where practical
- #2339
- Remove Full/HalfDuplex type param from SPI drivers
Feel free to share your pain point if you have any!
scottdalgliesh commented
Would it make sense to also initialize and return the io driver by default in esp_hal::init
? It seems like most use cases will require access to io, but I could certainly be overlooking/misunderstanding something.
Regardless, great work on these simplifications - love to see it.
bugadani commented
^ a good thing to keep in mind, although we deliberately don't initialize any peripherals at this point.