This crate provides implementations of the embedded-hal traits for Linux-based devices. By using this crate, you can leverage platform-agnostic drivers available on crates.io that are designed to work with the embedded-hal ecosystem. You can enable specific peripheral support (I2C, SPI, Serial, GPIO) via Cargo features.
/*
To use this crate, ensure your Cargo.toml includes the necessary features for the peripherals you need, for example:
[dependencies]
linux-embedded-hal = { version = "0.5.0", features = ["i2c", "spi", "gpio_cdev"] }
*/