esp-hal/esp32c2-hal
Georges 107732b111
Add support for splitting esp32 uart into TX and RX (#754)
* 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
2023-09-20 13:19:34 +01:00
..
.cargo
examples Add support for splitting esp32 uart into TX and RX (#754) 2023-09-20 13:19:34 +01:00
ld
src Add defmt support, make log optional (#773) 2023-09-04 11:29:44 +01:00
build.rs
Cargo.toml ECC peripheral support for ESP32C2, ESP32C6, and ESP32H2 (#785) 2023-09-19 05:24:32 -07:00
README.md

esp32c2-hal

Crates.io docs.rs Crates.io Matrix

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

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:

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.