esp-hal/esp32s2-hal
2023-12-11 17:12:17 +00:00
..
.cargo Completely remove atomic emulation (#985) 2023-12-04 14:22:15 +00:00
examples Update esp-synopsys-usb-otg (#1015) 2023-12-11 17:12:17 +00:00
src Completely remove atomic emulation (#985) 2023-12-04 14:22:15 +00:00
build.rs Move remaining device-specific linker scripts into esp-hal-common (#963) 2023-11-20 12:25:23 +00:00
Cargo.toml Update esp-synopsys-usb-otg (#1015) 2023-12-11 17:12:17 +00:00
README.md Update each HAL package's README 2023-08-23 07:42:56 -07:00
rust-toolchain.toml Add the (incomplete and non-buildable) esp32s2-hal and esp32s3-hal packages 2021-11-23 14:11:51 -08:00

esp32s2-hal

Crates.io docs.rs Crates.io Matrix

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.