[package]
name = "lambent-flex-c6"
version = "0.1.0"
authors = ["gmorell <gmp@gmp.io>"]
edition = "2021"
resolver = "2"
rust-version = "1.71"
[profile.release]
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"
[features]
# `embassy` dropped from the defaults: nothing in src/ uses it, and with these
# crate versions it fails to link (undefined `__embassy_time_queue_item_from_waker`).
# Still opt-in via `--features embassy`.
default = ["std", "esp-idf-svc/native", "cfg-toml"]
# Compile-time credentials from `cfg.toml`, section `[lambent-flex-c6]`.
# On (the default) and with an SSID set, an unprovisioned device is seeded from
# the file and the captive portal never appears — the pre-portal workflow.
# With no cfg.toml, or with the feature off, the portal handles setup instead.
# NVS always wins once anything is stored, so editing cfg.toml and reflashing
# will NOT move an already-provisioned device; erase NVS to re-seed.
cfg-toml = ["dep:toml-cfg"]
pio = ["esp-idf-svc/pio"]
std = ["alloc", "esp-idf-svc/binstart", "esp-idf-svc/std"]
alloc = ["esp-idf-svc/alloc"]
nightly = ["esp-idf-svc/nightly"]
experimental = ["esp-idf-svc/experimental"]
embassy = ["esp-idf-svc/embassy-sync", "esp-idf-svc/critical-section", "esp-idf-svc/embassy-time-driver"]
[dependencies]
log = { version = "0.4", default-features = false }
#embedded-hal = "0.2.7"
embedded-svc = "0.29"
esp-idf-svc = { version = "0.52.1", default-features = false }
# esp-idf-hal 0.46 replaced `rmt` with the new ESP-IDF 5 driver and moved the old
# API behind `rmt-legacy`. ws2812.rs uses the legacy FixedLengthSignal path.
esp-idf-hal = { version = "0.46.2", default-features = false, features = ["rmt-legacy"] }
# Provisioning portal + status server; config lives in NVS. No `mqtt` feature:
# this device has no broker. Coexists with `cfg-toml` above, which seeds NVS.
neiam-portal = { path = "../neiam-portal" }
toml-cfg = { version = "0.1.3", optional = true }
anyhow = "1.0.79"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.111"
rgb = "0.8.37"
[build-dependencies]
embuild = "0.33"
neiam
/lambent-flex-c6
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
2.1 KiB · text
History
9d79b3d