esp-hal/esp32c2-hal
Jesse Braham 832f9ef4d4
Refactor the clock module, provide ROM functions via linker scripts (#353)
* Refactor `clock` and `clocks_ll` into a common module

* Add a ROM function linker script to each HAL and provide some functions

* Use the provided ROM functions instead of transmuting addresses

* Fix CI workflow for ESP32-S2
2023-01-23 07:12:33 -08:00
..
.cargo Support ESP32-C2 with 26MHz Xtal 2022-12-13 05:15:10 -08:00
examples Peripheral ref/sha (#312) 2022-12-14 12:19:53 +00:00
ld Refactor the clock module, provide ROM functions via linker scripts (#353) 2023-01-23 07:12:33 -08:00
src PeripheralRef init: uart (#272) 2022-12-12 14:45:33 +00:00
build.rs Refactor the clock module, provide ROM functions via linker scripts (#353) 2023-01-23 07:12:33 -08:00
Cargo.toml Update a number of dependencies to get RISC-V HALs building again (#350) 2023-01-18 14:08:30 -08: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.