Crates.io | esp32s2-hal |
lib.rs | esp32s2-hal |
version | 0.15.1 |
source | src |
created_at | 2022-08-25 16:52:59.802154 |
updated_at | 2024-03-08 15:01:50.648736 |
description | HAL for ESP32-S2 microcontrollers |
homepage | |
repository | https://github.com/esp-rs/esp-hal |
max_upload_size | |
id | 652305 |
size | 175,857 |
[!WARNING]
This package has been deprecated in favour of esp-hal.
Please refer to the migration guide for help with updating your projects to use the new 'esp-hal' package:
no_std
HAL for the ESP32 from Espressif.
Implements a number of the traits defined in embedded-hal.
This device uses the Xtensa ISA, which is not officially supported by the Rust compiler. In order to develop for this device, you must use the Rust compiler fork with Xtensa support, found at esp-rs/rust.
Please refer to the documentation for more information.
We provide a tool, espup, for easily installing the Rust toolchain with Xtensa support:
cargo install espup
espup install
Following installation of the Xtensa toolchain, if you are running a Unix-like operating system (macOS, Linux) then you must additionally export the necessary environment variables:
. $HOME/export-esp.sh
See the Installation chapter of The Rust on ESP Book for more details.
Licensed under either of:
at your option.
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.