Conscript TIM5 for early boot#2571
Conversation
labbott
left a comment
There was a problem hiding this comment.
I'll confess to initially being skeptical of using timers but this looks really nice. I'll take a closer look later this week.
labbott
left a comment
There was a problem hiding this comment.
It would be good to do at least one boot/check on a gimlet for the revision strap pins since debugging that was awful.
I've now tested this on:
Using both power-off resets (using Let me know if you'd like me to chase down a |
This change implements a very simple hardware timer using the 32-bit TIM5.
I'm open to better ideas of how to test this, but using the
HUBRIS_MEASUREMENT_RESULTas a signal:This PR is intended as a lay-up to #2506, though for that future use we would need to: