* Add support for splitting esp32 uart into TX and RX * Keeps existing API for uart, but wraps it in Tx and Rx sub-types * Adds split() method similar to embassy-rs nRF/stm32/rp for getting indepdendent TX and RX parts * Implements e-h traits for TX and RX types * Add esp32s3 example * finish implementing * rebase examples * declare new examples * fix fmt * rebase on 0.12.0 * fix fmt * fix fmt * merge embassy_serial_split example with embassy_serial * fix changelog * fix changelog |
||
|---|---|---|
| .. | ||
| .cargo | ||
| examples | ||
| ld | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| README.md | ||
esp32c2-hal
no_std HAL for the ESP32-C2 from Espressif.
Implements a number of the traits defined in embedded-hal.
This device uses the RISC-V ISA, which is officially supported by the Rust compiler via the riscv32imc-unknown-none-elf target.
Please refer to the documentation for more information.
Documentation
Resources
- Datasheet
- Technical Reference Manual
- The Rust Programming Language
- The Embedded Rust Book
- The Rust on ESP Book
Getting Started
Installing the Rust Compiler Target
The compilation target for this device is officially supported by the mainline Rust compiler and can be installed using rustup:
rustup target add riscv32imc-unknown-none-elf
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (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.