esp-hal/esp-hal
Dániel Buga d32a7336bb
Simplify traits and erratum 36 workaround, add Pins::steal (#2335)
* Simplify erratum 36

* Add Pins::steal

* Fix typo

* Move pin operations into Flex

* Cleanup braces

* Avoid panicking when handling erratum

* Add disable_usb_pad to other devices

* Touch up changelog

* Fix changelog
2024-10-18 14:17:43 +00:00
..
ld Add option to place more .rodata in RAM for performance (#2331) 2024-10-18 11:47:12 +00:00
src Simplify traits and erratum 36 workaround, add Pins::steal (#2335) 2024-10-18 14:17:43 +00:00
build.rs Add option to place more .rodata in RAM for performance (#2331) 2024-10-18 11:47:12 +00:00
Cargo.toml New patch release for esp-hal (#2355) 2024-10-16 08:39:49 +00:00
CHANGELOG.md Simplify traits and erratum 36 workaround, add Pins::steal (#2335) 2024-10-18 14:17:43 +00:00
MIGRATING-0.20.md New package releases (#2310) 2024-10-10 10:19:04 +00:00
MIGRATING-0.21.md Preparatory i2s refactor (#2316) 2024-10-16 13:04:00 +00:00
README.md esp-config (#2156) 2024-09-19 08:58:29 +00:00

esp-hal

Crates.io docs.rs MSRV Crates.io Matrix

Bare-metal (no_std) hardware abstraction layer for Espressif devices.

Implements a number of blocking and, where applicable, async traits from the various packages in the embedded-hal repository.

For help getting started with this HAL, please refer to The Rust on ESP Book and the documentation.

Documentation

Supported Devices

Chip Datasheet Technical Reference Manual Target
ESP32 ESP32 ESP32 xtensa-esp32-none-elf
ESP32-C2 ESP32-C2 ESP32-C2 riscv32imc-unknown-none-elf
ESP32-C3 ESP32-C3 ESP32-C3 riscv32imc-unknown-none-elf
ESP32-C6 ESP32-C6 ESP32-C6 riscv32imac-unknown-none-elf
ESP32-H2 ESP32-H2 ESP32-H2 riscv32imac-unknown-none-elf
ESP32-S2 ESP32-S2 ESP32-S2 xtensa-esp32s2-none-elf
ESP32-S3 ESP32-S3 ESP32-S3 xtensa-esp32s3-none-elf

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.79 and up. It might compile with older versions but that may change in any new patch release.

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.