no_std Hardware Abstraction Layers for ESP32 microcontrollers
Go to file
Dániel Buga 9f3476b006
Unstable documentation proof of concept (#2628)
* Unstable documentation proof of concept

* Hide the red banner in esp-wifi documentation

* Changelog
2024-12-02 10:49:06 +00:00
.cargo Rewrite time driver (#2559) 2024-11-25 17:02:47 +00:00
.github Run a custom script before running HIL tests (#2580) 2024-11-21 15:17:35 +00:00
documentation Constructor consistency update (#2610) 2024-11-28 09:28:50 +00:00
esp-alloc Add heap usage stats with defmt (#2619) 2024-11-28 13:07:36 +00:00
esp-backtrace New package releases (#2310) 2024-10-10 10:19:04 +00:00
esp-build Add CHANGELOG.md for remaining packages which do not have one (#2518) 2024-11-12 10:17:11 +00:00
esp-config Don't require importing macro for esp-config (#2630) 2024-12-02 08:03:46 +00:00
esp-hal Unstable documentation proof of concept (#2628) 2024-12-02 10:49:06 +00:00
esp-hal-embassy [3/3] Timer refactor: Timer driver mode, ETM support and erasure (#2586) 2024-11-27 14:10:56 +00:00
esp-hal-procmacros Add derive macro for BuilderLite, add #[non_exhaustive] to some enums and structs (#2614) 2024-11-27 15:54:43 +00:00
esp-ieee802154 New package releases (#2569) 2024-11-20 09:16:33 +00:00
esp-lp-hal Remove embedded-hal 0.2.x impls and dependency from esp-lp-hal package (#2609) 2024-11-27 14:54:00 +00:00
esp-metadata Unstable documentation proof of concept (#2628) 2024-12-02 10:49:06 +00:00
esp-println Use a separate lock in esp-println (#2567) 2024-11-22 12:29:26 +00:00
esp-riscv-rt New package releases (#2569) 2024-11-20 09:16:33 +00:00
esp-storage New package releases (#2569) 2024-11-20 09:16:33 +00:00
esp-wifi Unstable documentation proof of concept (#2628) 2024-12-02 10:49:06 +00:00
examples Use opt-level to detect debug profile (#2622) 2024-11-28 10:52:11 +00:00
extras esp-wifi: Remove unneeded features (#2446) 2024-11-08 13:30:33 +00:00
hil-test Unstable documentation proof of concept (#2628) 2024-12-02 10:49:06 +00:00
qa-test Unstable documentation proof of concept (#2628) 2024-12-02 10:49:06 +00:00
resources Some xtask/metadata cleanups (#1965) 2024-08-19 06:49:05 +00:00
xtask Unstable documentation proof of concept (#2628) 2024-12-02 10:49:06 +00:00
xtensa-lx Trim down xtensa-lx (#2357) 2024-11-23 01:01:37 +00:00
xtensa-lx-rt Trim down xtensa-lx (#2357) 2024-11-23 01:01:37 +00:00
.gitattributes Set merge=union git attribute for CHANGELOG.md 2023-07-12 09:24:09 -07:00
.gitignore Tweak the documentation URL slightly (#1250) 2024-03-07 17:19:07 +00:00
Cargo.toml Add the qa-test package (#2558) 2024-11-18 11:00:17 +00:00
LICENSE-APACHE Initial commit 2021-10-19 15:00:41 -07:00
LICENSE-MIT Initial commit 2021-10-19 15:00:41 -07:00
README.md make contribution docs more visible (#1947) 2024-08-15 07:58:06 +00:00
rustfmt.toml Begin adding some doc comments, update rustfmt config 2022-01-10 15:23:01 -08:00

esp-hal

GitHub Actions Workflow Status GitHub Actions Workflow Status MIT/Apache-2.0 licensed Matrix

Bare-metal (no_std) hardware abstraction layer for Espressif devices. Currently supports, to varying degrees, the following devices:

  • ESP32 Series: ESP32
  • ESP32-C Series: ESP32-C2, ESP32-C3, ESP32-C6
  • ESP32-H Series: ESP32-H2
  • ESP32-S Series: ESP32-S2, ESP32-S3

Additionally provides limited support for programming the low-power RISC-V cores found on the ESP32-C6, ESP32-S2, and ESP32-S3 via the esp-lp-hal package.

These packages are all no_std; if you are looking for std support, please use esp-idf-svc instead.

If you have any questions, comments, or concerns, please open an issue, start a new discussion, or join us on Matrix. For additional information regarding any of the crates in this repository, please refer to the relevant crate's README.

Note

This project is still in the relatively early stages of development, and as such there should be no expectation of API stability. A significant number of peripherals currently have drivers implemented but have varying levels of functionality. For most tasks, this should be usable already, however some more advanced or uncommon features may not yet be implemented.

Getting Started

For information relating to the development of Rust applications on ESP devices, please first read The Rust on ESP Book.

For information about the HAL and how to use it in your own projects, please refer to the documentation.

Resources

Crates

This repository is home to a number of different packages; for more information regarding a particular package, please refer to its README.md and/or documentation.

Contributing

We have a number of living documents to aid contributing to the project, please give these a read before modifying code:

License

Licensed under either of:

at your option.

Contribution notice

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.