esp-hal/esp-lp-hal
Juraj Sadel 9378639e4c
C6: LP_I2C basic driver (#1185)
* After more analysis and coding

* More work is done, writing/reading WIP

* `write` prototype done, small fixes. Read next

* pre-rebase

* Rebased and updated

* Pre-final state of driver

* More work (near-final state) done

* WIP

* WIP

* working

* cleanup

* changelog

* address review comments

* remove Option from conjure and improve lp-i2c example description

---------

Co-authored-by: Kirill Mikhailov <konnor1980@yandex.ru>
2024-02-21 14:18:54 +00:00
..
2024-02-21 14:18:54 +00:00
2024-02-21 14:18:54 +00:00
2024-02-21 14:18:54 +00:00
2024-02-21 14:18:54 +00:00

esp-lp-hal

Crates.io docs.rs Crates.io Matrix

no_std HAL for the low-power RISC-V coprocessors found on the ESP32-C6, ESP32-S2, and ESP32-S3 from Espressif.

Implements a number of the traits defined in embedded-hal.

These devices uses the RISC-V ISA, which is officially supported by the Rust compiler via the riscv32imc-unknown-none-elf and riscv32imac-unknown-none-elf targets.

Please refer to the documentation for more information.

Documentation

Supported Devices

Chip Datasheet Technical Reference Manual Target
ESP32-C6 ESP32-C6 ESP32-C6 riscv32imac-unknown-none-elf
ESP32-S2 ESP32-S2 ESP32-S2 riscv32imc-unknown-none-elf
ESP32-S3 ESP32-S3 ESP32-S3 riscv32imc-unknown-none-elf

Resources

Getting Started

Installing the Rust Compiler Targets

The compilation targets for these devices are officially supported by the mainline Rust compiler and can be installed using rustup:

rustup target add riscv32imc-unknown-none-elf
rustup target add riscv32imac-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.