NOP0 / rustmatic

PLC programming in Rust!
Apache License 2.0
35 stars 2 forks source link

Change to gpio char driver #39

Open NOP0 opened 4 years ago

NOP0 commented 4 years ago

Propose to go for char driver instead of sys-fs. More info here https://github.com/rust-embedded/gpio-cdev

Michael-F-Bryan commented 4 years ago

Seems logical, the gpio-cdev README even says that sysfs will be removed next year.

This API, stabilized with Linux v4.4, deprecates the legacy sysfs interface to GPIOs that is planned to be removed from the upstream kernel after year 2020 (which is coming up quickly).