#usb #linux #embedded-linux #api-bindings

sys linux-usb-functionfs-sys

Naive translation of the Linux functionfs and USB chapter 9 headers

2 releases

0.1.1 Aug 30, 2020
0.1.0 Aug 21, 2020

#20 in #embedded-linux

AGPL-3.0

16KB
330 lines

linux-usb-functionfs-sys

Naive bindgen translation of the Linux functionfs and USB specification chaper 9 headers.

Also included is a simple test to check the struct layout against an example.

Ideally in the future the entire set of Linux headers will be namespaced.

TODO

Compile ffs-desc-dump.c and use it to dump the descriptor layout for use in the test as part of build.rs.

No runtime deps

~0–1.7MB
~34K SLoC