mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 21:00:59 +00:00

- Add RMT output channel support for ESP32, ESP32-S2, ESP32-S3, ESP32-C3 - Add add RMT adapter for `smart-leds` crate - Add example `hello_rgb` for ESP32-S2, ESP32-S3 and ESP32-C3 that either drives one LED at the pin where a LED is located on the official devkits - Add example `hello_rgb` for ESP32 that is driving a 12-element RGB ring.
48 lines
1.1 KiB
TOML
48 lines
1.1 KiB
TOML
[package]
|
|
name = "esp32s2-hal"
|
|
version = "0.1.0"
|
|
authors = [
|
|
"Jesse Braham <jesse@beta7.io>",
|
|
"Björn Quentin <bjoern.quentin@mobile-j.de>",
|
|
]
|
|
edition = "2021"
|
|
description = "HAL for ESP32-S2 microcontrollers"
|
|
repository = "https://github.com/esp-rs/esp-hal"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
keywords = [
|
|
"embedded",
|
|
"embedded-hal",
|
|
"esp",
|
|
"esp32s2",
|
|
"no-std",
|
|
]
|
|
categories = [
|
|
"embedded",
|
|
"hardware-support",
|
|
"no-std",
|
|
]
|
|
|
|
[dependencies]
|
|
bare-metal = "1.0"
|
|
embedded-hal = { version = "0.2", features = ["unproven"] }
|
|
nb = "1.0"
|
|
void = { version = "1.0", default-features = false }
|
|
xtensa-lx = { version = "0.7", features = ["esp32s2"] }
|
|
xtensa-lx-rt = { version = "0.11", features = ["esp32s2"], optional = true }
|
|
|
|
[dependencies.esp-hal-common]
|
|
path = "../esp-hal-common"
|
|
features = ["esp32s2"]
|
|
|
|
[dev-dependencies]
|
|
embedded-graphics = "0.7"
|
|
panic-halt = "0.2"
|
|
ssd1306 = "0.7"
|
|
smart-leds = "0.3"
|
|
|
|
[features]
|
|
default = ["rt"]
|
|
rt = ["xtensa-lx-rt/esp32s2"]
|
|
ufmt = ["esp-hal-common/ufmt"]
|