linux-raw-sys icon indicating copy to clipboard operation
linux-raw-sys copied to clipboard

feat: add support for `mtd` UAPI

Open RaitoBezarius opened this issue 1 year ago • 3 comments

This adds MTD (mtd/mtd-user.h) UAPI pieces, useful to manipulate MTD devices from Rust.

RaitoBezarius avatar Feb 17 '24 19:02 RaitoBezarius

Ah shoot, this is missing all the ioctl because of the functional macro problem with bindgen.

RaitoBezarius avatar Feb 17 '24 19:02 RaitoBezarius

I am unable to run fully the generate.sh script because I am running NixOS and this script relies on a lot of non-portable assumptions for this sort of system (e.g. system prefix for cross-toolchains, locations for cross-toolchains includes, etc.). I will leave it to someone else to do it.

RaitoBezarius avatar Feb 17 '24 20:02 RaitoBezarius

@sunfishcode friendly ping; are you interested in that contribution? If so, I can clean it up if needed. Thanks!

RaitoBezarius avatar May 19 '24 20:05 RaitoBezarius