rust-embedded / rust-sysfs-pwm

Linux PWM Access via Sysfs in Rust
Apache License 2.0
47 stars 16 forks source link

Using /dev/mem to toggle pins. #15

Closed taqtiqa-mark closed 3 years ago

taqtiqa-mark commented 3 years ago

Tracking the use of /dev/mem to toggle pins.

Details: http://chiragnagpal.com/examples.html

Not sure if this library is the appropriate home for this?

posborne commented 3 years ago

@taqtiqa-mark Just seeing this now, this crate is explicitly for interacting with PWM via the kernel sysfs interface which is portable. /dev/mem is highly architecture specific and, by its nature, requires that the userspace process performing the action have very escalated privileges.