News for hackers. Stuff that matters.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by ikskuh on Sunday March 07, 2021 @05:21AM (#26374717)
Most of them are actually the same and on several microcontrollers you can even just access them as an array of structs, selecting each port at runtime. HALs try to hide these facts which you can only find out about in the hardware documentation

Most GPIO defs are just "this is a struct at 0xAABBCCDD"

There are no comments on this comment yet.