embedded-hal
A Hardware Abstraction Layer (HAL) for embedded systems
File Explorer
Download Latest Version (.zip)- clippy.yml
- rustdoc.yml
- rustfmt.yml
- test.yml
- CODEOWNERS
- how-to-add-a-new-trait.md
- migrating-from-0.2-to-1.0.md
- msrv.md
- blocking.rs
- id.rs
- lib.rs
- nb.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- delay.rs
- digital.rs
- i2c-shared-bus.svg
- i2c.rs
- lib.rs
- pwm.rs
- spi-shared-bus.svg
- spi.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- delay.rs
- digital.rs
- i2c.rs
- lib.rs
- spi.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- atomic.rs
- critical_section.rs
- mod.rs
- mutex.rs
- rc.rs
- refcell.rs
- atomic.rs
- critical_section.rs
- exclusive.rs
- mod.rs
- mutex.rs
- rc.rs
- refcell.rs
- shared.rs
- lib.rs
- util.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- lib.rs
- serial.rs
- spi.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- blanket.rs
- boxx.rs
- mod.rs
- slice_mut.rs
- slice_ref.rs
- vec.rs
- vec_deque.rs
- lib.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- cursor.rs
- fmt.rs
- futures_03.rs
- lib.rs
- std.rs
- tokio_1.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- blanket.rs
- boxx.rs
- mod.rs
- slice_mut.rs
- slice_ref.rs
- vec.rs
- vec_deque.rs
- lib.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- .gitattributes
- .gitignore
- Cargo.toml
- CODE_OF_CONDUCT.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/rust-embedded/embedded-hal
Downloads the entire project code from GitHub to your computer.
cd embedded-hal
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
