Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivmarkov/hal-sim
Embedded-hal simulator.
https://github.com/ivmarkov/hal-sim
Last synced: 2 months ago
JSON representation
Embedded-hal simulator.
- Host: GitHub
- URL: https://github.com/ivmarkov/hal-sim
- Owner: ivmarkov
- License: apache-2.0
- Created: 2022-10-08T19:22:05.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-27T08:26:08.000Z (6 months ago)
- Last Synced: 2024-10-25T20:18:19.483Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 144 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# hal-sim - [embedded-hal](https://github.com/rust-embedded/embedded-hal) Simulator
[![CI](https://github.com/ivmarkov/hal-sim/actions/workflows/ci.yml/badge.svg)](https://github.com/ivmarkov/hal-sim/actions/workflows/ci.yml)
![crates.io](https://img.shields.io/crates/v/hal-sim.svg)
[![Documentation](https://docs.rs/hal-sim/badge.svg)](https://docs.rs/hal-sim)Go to [this page](https://github.com/ivmarkov/ruwm) and click the "DEMO" there link to see the simulator in action!
This crate simulates a small portion of the embedded-hal traits. Namely:
* GPIO (both e-hal V0.2 and e-hal V1.0 traits, including the async `Wait` trait)
* ADC (only e-hal V0.2, as there are no standard traits for ADC in e-hal V1.0 yet)Additionally, it also contains an [embedded-graphics](https://github.com/embedded-graphics/embedded-graphics) Display driver simulator.
The purpose of this simulator is to ease embedded development by enabling cross-compilation of embedded projects on a X86 target (PC) or for WASM.