feat(led): use the published esp-hal-smartled driver
Moves the whole esp stack to esp-hal 1.2 (see the zigbee-rs submodule), which lets esp-hal-smartled 0.18 be used unmodified from crates.io instead of a hand-rolled RMT driver.
This commit is contained in:
1 parent
1ec7408f8e
commit
ebc2f3be7a
5 files changed
+212
-132
No files matched your search
+10
-12
@@ -18,29 +18,27 @@ esp32c6 = [
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
esp-alloc = "0.10.0"
|
||||
esp-backtrace = { version = "0.19.0", features = ["panic-handler", "println"] }
|
||||
esp-bootloader-esp-idf = "0.5.0"
|
||||
esp-hal = { version = "1.1.0", features = ["log-04", "unstable"] }
|
||||
esp-println = { version = "0.17.0", features = ["log-04"] }
|
||||
esp-radio = { version = "1.0.0-beta.0", features = ["ieee802154", "unstable"] }
|
||||
esp-rtos = { version = "0.3.0", features = ["embassy", "log-04"] }
|
||||
esp-storage = "0.9.0"
|
||||
esp-alloc = "0.11"
|
||||
esp-backtrace = { version = "0.20", features = ["panic-handler", "println"] }
|
||||
esp-bootloader-esp-idf = "0.6"
|
||||
esp-hal = { version = "1.2", features = ["log-04", "unstable"] }
|
||||
esp-println = { version = "0.18", features = ["log-04"] }
|
||||
esp-radio = { version = "1.0.0-beta.1", features = ["ieee802154", "unstable"] }
|
||||
esp-rtos = { version = "0.4", features = ["embassy", "log-04"] }
|
||||
esp-storage = { version = "0.10", features = ["embedded-storage"] }
|
||||
|
||||
embassy-executor = "0.10.0"
|
||||
embassy-futures = "0.1"
|
||||
embassy-sync = "0.8"
|
||||
embassy-time = "0.5.0"
|
||||
embassy-embedded-hal = "0.5.0"
|
||||
embassy-embedded-hal = "0.6"
|
||||
static_cell = "2.1"
|
||||
log = "0.4"
|
||||
|
||||
# LED colour types, the async write trait, and the gamma/brightness helpers.
|
||||
smart-leds = "0.4"
|
||||
smart-leds-trait = "0.3"
|
||||
# vendored upstream: widened to accept the esp-hal 1.1 that esp-rtos and
|
||||
# esp-radio pin us to, so the fix can go back upstream
|
||||
esp-hal-smartled = { path = "vendor/esp-hal-community/esp-hal-smartled" }
|
||||
esp-hal-smartled = "0.18"
|
||||
|
||||
# vendored upstream: the lighting cluster is not implemented there yet, so the
|
||||
# path dependency lets us add it in-tree and upstream it later
|
||||
|
||||
Reference in new issue
Block a user