feat: bootstrap esp32-c6 embassy lighting controller
This commit is contained in:
commit
bb81182daa
13 files changed
+2926
No files matched your search
+53
@@ -0,0 +1,53 @@
|
||||
[package]
|
||||
name = "smart-light"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[features]
|
||||
default = ["esp32c6"]
|
||||
esp32c6 = [
|
||||
"esp-alloc/esp32c6",
|
||||
"esp-backtrace/esp32c6",
|
||||
"esp-bootloader-esp-idf/esp32c6",
|
||||
"esp-hal/esp32c6",
|
||||
"esp-println/esp32c6",
|
||||
"esp-radio/esp32c6",
|
||||
"esp-rtos/esp32c6",
|
||||
"esp-storage/esp32c6",
|
||||
"zigbee-mac/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"
|
||||
|
||||
embassy-executor = "0.10.0"
|
||||
embassy-futures = "0.1"
|
||||
embassy-sync = "0.8"
|
||||
embassy-time = "0.5.0"
|
||||
embassy-embedded-hal = "0.5.0"
|
||||
static_cell = "2.1"
|
||||
log = "0.4"
|
||||
|
||||
# vendored upstream: the lighting cluster is not implemented there yet, so the
|
||||
# path dependency lets us add it in-tree and upstream it later
|
||||
zigbee = { path = "vendor/zigbee-rs/zigbee", features = ["storage"] }
|
||||
zigbee-cluster-library = { path = "vendor/zigbee-rs/zigbee-cluster-library" }
|
||||
zigbee-mac = { path = "vendor/zigbee-rs/zigbee-mac" }
|
||||
zigbee-types = { path = "vendor/zigbee-rs/zigbee-types" }
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
debug-assertions = false
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
opt-level = "s"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = "s"
|
||||
Reference in new issue
Block a user