5 releases (breaking)
0.5.1 | Feb 2, 2024 |
---|---|
0.5.0 |
|
0.4.0 | Oct 28, 2023 |
0.3.0 | May 14, 2023 |
0.1.0 | Nov 20, 2022 |
#342 in Simulation
56 downloads per month
310KB
2K
SLoC
hal-sim - embedded-hal Simulator
Go to this page 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 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.
Dependencies
~0.8–10MB
~109K SLoC