Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] UART + SPI HIL generic lifetimes #1107
Pull Request Overview
Implements RFC #1074 for UART and SPI.
I started this a few days ago, but it became a bit of a 'give a mouse a cookie' situation. The goal was to make the UART HIL generic, but because the Sam4l USART mixes UART and SPI, this required making the SPI HIL support generic lifetimes as well. Then we're down a rabbit hole of co-dependencies, as making SPI support generic lifetimes required the Flash (which begat nonvolatile) and Radio (which begat crypto) HILs to update as well.
The current state is stuck on some lifetime issue in the networking stack that I haven't quite been able to resolve yet. However, I'm not going to be able to pick up this thread again for a few days at least, so I wanted to throw this out here in case anyone wanted to build on it.
(Failing to) compile.
TODO or Help Wanted
This pull request still needs to fixup some more lifetimes.