diondokter: I just used device-driver for the first time. It's awesome, so much nicer to write than what I've done with bitfield libs and device-register in the past.... > <@cbjamo:matrix.org> diondokter: I just used device-driver for the first time. It's awesome, so much nicer to write than what I've done with bitfield libs and device-register in the past. > > I used the yaml interface. The only hiccup I had was that I couldn't name enum variants "_" like I'd do if hand writing. I went with "n_" instead. That change isn't a big deal by itself, but the error message was fairly unhelpful. I suppose that might just go away in the switch to kdl. > > The driver is for work, so there's a process before I can open source the driver, but it should be eventually. Nice! Once you do open source it, I'd love a PR to link it in the book. I should probably add a check to see if all identifiers are valid ones for Rust. In general I'm improving error messages a lot. I want to keep the same mantra as Rust does: A confusing error is a bug. I'm cooking up a lot of new features, most of which is in the issue tracker. But it's taking a lot of time 😅