esp-hal
no_std Hardware Abstraction Layers for ESP32 microcontrollers (by esp-rs)
esp32-phantom
ESP32 Rust-based WiFi and BLE sandbox (by gemesa)
esp-hal | esp32-phantom | |
---|---|---|
3 | 1 | |
1,105 | 4 | |
12.7% | - | |
9.9 | 5.8 | |
4 days ago | almost 2 years ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
esp-hal
Posts with mentions or reviews of esp-hal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-30.
-
Rust on Espressif chips – 29-09-2023
In the esp-hal, they appear to offer both sync and async I2C implementations, depending on what works best for an application. Since the async implementation is gated by a feature, it may not show up in the docs you linked.
Async implementation: https://github.com/esp-rs/esp-hal/blob/main/esp-hal-common/s...
You can also see the async feature mentioned here: https://docs.rs/crate/esp32s2-hal/latest/features
-
The Embedded Rust ESP Development Ecosystem
Going another level up the chain, we then have the hardware abstraction layer (HAL) crate. HAL crates are supposed to offer more portability and user-friendly API for a particular processor. For ESP devices the different hals are captured in the esp-hal repository. This occurs by implementing some common traits defined in what is referred to as the embedded-hal. Additionally, the device HAL attempts to incorporate mechanisms, or wrappers around lower-level functions, that are part of the Rust safety model.
-
How to write HALs and get into microcontroller programming
There is https://docs.rust-embedded.org/book/design-patterns/hal/index.html but I wonder what OP is missing in https://github.com/esp-rs/esp-hal
esp32-phantom
Posts with mentions or reviews of esp32-phantom.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-03.
-
Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.70]
rustlink: small set of Rust tools to program STM32 devices esp32-phantom: Rust sandbox to explore the WiFi and BLE capabilities of the ESP32 stm32-rf-scanner: STM32 and nRF24L01+ based 2.4GHz RF scanner stm32-dc-dc: STM32 based DC-DC converter
What are some alternatives?
When comparing esp-hal and esp32-phantom you can also consider the following projects:
esp-wifi-sys - Wi-Fi and BT drivers packaged for integration into bare-metal esp-wifi.
rustlink - small set of Rust tools to program STM32 devices
esp-idf-hal - embedded-hal implementation for Rust on ESP32 and ESP-IDF
hcxdumptool - Small tool to capture packets from wlan devices.
linux-embedded-hal - Implementation of the `embedded-hal` traits for Linux devices
stm32-rf-scanner - STM32 and nRF24L01+ based 2.4GHz RF scanner