13 breaking releases

0.15.1 Mar 8, 2024
0.14.0 Dec 12, 2023
0.13.0 Oct 31, 2023
0.10.0 Jul 4, 2023
0.3.0 Nov 17, 2022

#2130 in Embedded development

Download history 2053/week @ 2024-07-21 1282/week @ 2024-07-28 1902/week @ 2024-08-04 1036/week @ 2024-08-11 592/week @ 2024-08-18 576/week @ 2024-08-25 980/week @ 2024-09-01 149/week @ 2024-09-08 105/week @ 2024-09-15 215/week @ 2024-09-22 143/week @ 2024-09-29 72/week @ 2024-10-06 161/week @ 2024-10-13 138/week @ 2024-10-20 160/week @ 2024-10-27 151/week @ 2024-11-03

616 downloads per month
Used in esp-display-interface-spi…

MIT/Apache

2MB
48K SLoC

esp32s2-hal

Crates.io docs.rs Crates.io Matrix

[!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:

https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0

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.

Documentation

Resources

Getting Started

Installing the Rust Compiler

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.

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.

Dependencies

~12–21MB
~403K SLoC