The `nrf-rs` HAL is quite good, but there are a few differences in my fork:
- Replaced GPIO module with one with a cleaner API. Adjusted other modules to reflect this.
- Replaced timer module; original was a thin wrap of the PAC
- Tweaks to the RTC API to make it easier to set the timeout.
- Overall, brought the API to parity with the STM32 HAL I wrote. This makes code more portable between projects for me.
- Support for nRF-53
There were enough opinionated API changes that it would never get merged upstream in a PR.
That’s awesome! Your embedded rust is very good, that’s probably some of the cleanest embedded code I’ve ever seen. Awesome that you had time to tweak the HAL and ship your product. Makes me want to update a few embedded interfaces with better APIs.