no_std Hardware Abstraction Layers for ESP32 microcontrollers
Go to file
2024-11-23 15:20:14 +00:00
.cargo into_async (#2430) 2024-11-04 09:32:12 +00:00
.github Run a custom script before running HIL tests (#2580) 2024-11-21 15:17:35 +00:00
documentation API guideline touchups (#2573) 2024-11-21 07:41:26 +00:00
esp-alloc Auto-initialize PSRAM (#2546) 2024-11-23 14:10:44 +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 New package releases (#2569) 2024-11-20 09:16:33 +00:00
esp-hal 0.21 Migration guide fixes (#2592) 2024-11-23 15:20:14 +00:00
esp-hal-embassy [2/3] Timer refactor: TIMG (#2581) 2024-11-22 16:14:14 +00:00
esp-hal-procmacros New package releases (#2569) 2024-11-20 09:16:33 +00:00
esp-ieee802154 New package releases (#2569) 2024-11-20 09:16:33 +00:00
esp-lp-hal New package releases (#2569) 2024-11-20 09:16:33 +00:00
esp-metadata Add CHANGELOG.md for remaining packages which do not have one (#2518) 2024-11-12 10:17:11 +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 Add custom AtomicWaker and embassy-sync mutex implementation (#2555) 2024-11-23 00:36:32 +00:00
examples Auto-initialize PSRAM (#2546) 2024-11-23 14:10:44 +00:00
extras esp-wifi: Remove unneeded features (#2446) 2024-11-08 13:30:33 +00:00
hil-test [DMA 6/8] More helper types & working split (#2532) 2024-11-22 15:59:31 +00:00
qa-test [DMA 4/8]: Apply Peripheral pattern (#2526) 2024-11-22 09:05:22 +00:00
resources Some xtask/metadata cleanups (#1965) 2024-08-19 06:49:05 +00:00
xtask Add --no-verify for esp-riscv-rt to xtask publish (#2570) 2024-11-20 10:44:24 +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.