esp-hal/esp32c2-hal
Scott Mabin 3f7181fece
Async SPI (#385)
* ground work for async dma (gdma only atm)

* Add async DMA (GDMA) - esp32c3/esp32c2

* Add Async SPI impl for esp32c3/c2

* Remove private modules from DMA

* add async spi example for esp32c3

* Switch to assoc wakers instead of a static array

* add support for esp32/esp32s2

* add support for esp32s3

* run fmt

* add c2 example, fix CI

* Remove redundant comments
2023-02-08 11:02:03 +00:00
..
.cargo Remove references to imac target to avoid confusion. 2023-01-30 12:03:08 -08:00
examples Async SPI (#385) 2023-02-08 11:02:03 +00:00
ld Use the new esp-riscv-rt package for RISC-V HALs (#365) 2023-01-27 10:49:38 -08:00
src Use the new esp-riscv-rt package for RISC-V HALs (#365) 2023-01-27 10:49:38 -08:00
build.rs Refactor the clock module, provide ROM functions via linker scripts (#353) 2023-01-23 07:12:33 -08:00
Cargo.toml Async SPI (#385) 2023-02-08 11:02:03 +00:00
README.md Create the esp32c2-hal package and add it to the workspace 2022-10-11 08:03:43 -07:00

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 by embedded-hal.

This device uses the RISC-V ISA, which is officially supported by the Rust compiler via the riscv32imc-unknown-none-elf target. Refer to the Getting Stared section below for more information.

Documentation

Getting Started

Installing the Rust Compiler Target

The compilation target for this device is officially supported via the stable release channel and can be installed via 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.