Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esp-rs/esp32-hal
A hardware abstraction layer for the esp32 written in Rust.
https://github.com/esp-rs/esp32-hal
Last synced: 5 days ago
JSON representation
A hardware abstraction layer for the esp32 written in Rust.
- Host: GitHub
- URL: https://github.com/esp-rs/esp32-hal
- Owner: esp-rs
- License: apache-2.0
- Archived: true
- Created: 2019-01-15T17:54:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-07T20:17:53.000Z (over 2 years ago)
- Last Synced: 2024-08-03T09:12:27.324Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 1.72 MB
- Stars: 192
- Watchers: 18
- Forks: 28
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# esp32-hal
⚠️ **NOTE** this HAL is now in maintenence mode only, and will be archived when we have ported all drivers to the new multichip HAL: [esp-rs/esp-hal](https://github.com/esp-rs/esp-hal)
A hardware abstraction layer for the [esp32](https://en.wikipedia.org/wiki/ESP32) written in Rust.
Join in on the discussion: https://matrix.to/#/#esp-rs:matrix.org!
## Running examples
There are currently two ways to flash the esp32:
* The `flash` script using `esptool`
- If you are familiar with the esp ecosystem, there is a `flash` script in this repo which utilizes the espressif esptool to flash the esp32 over usb.
Example usage:
```rust
./flash -p /dev/ttyUSB0 -e blinky --release
```
* The [`espflash`](https://github.com/icewind1991/espflash) cargo subcommand
- A Rust rewrite of the esptool, with a cargo subcommand. Example usage:
```rust
cargo espflash --example blinky --release /dev/ttyUSB0
```## License
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.