Driver development in rust

Hello! I have wanted to write a device driver for a while now. But not having much experience in a low level language has always been a problem. I've seen a lot of drivers being written in rust. So are there any good rust projects, tutorials, blog posts that can help me get started with writing simple Bluetooth ( or some other) driver of my own.
Thanks.

I'd start here
https://os.phil-opp.com/

1 Like

This is an example of a PS/2 Keyboard driver written in Rust based on an article from OSDev if you're looking for bare metal.

On Windows I've seen a library for the Windows Driver Kit, but the repository hasn't been updated since 2017.

You could also use bindgen to create bindings to driver libraries for your specific platform, but I don't have any experience using it.

1 Like