diff --git a/Cargo.toml b/Cargo.toml index d8eacbc..45e150e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,17 +66,9 @@ embedded-io-async = { version = "0.6" } # Bare-metal debugging esp-backtrace = { version = "=0.19.0", default-features = false, features = ["panic-handler", "println"] } -# Cross-repo dependencies — pinned to the April 2026 wave release of `rustyfarian-ws2812`. -# v0.5.0 ships the matching exact pins for esp-hal/esp-rtos/esp-radio, so the resolved -# feature graph stays unified with this workspace's bare-metal stack. The release also -# renamed `led-effects` → `pennant` and `ws2812-pure` → `bunting`. `pennant` is -# published on crates.io but we keep it as a git dep so it shares a source with the -# (still-unpublished) HAL drivers — otherwise Cargo would compile two distinct copies -# and `StatusLed`/`PulseEffect` types would not unify across the HAL boundary. +# Cross-repo dependencies — rustyfarian-ws2812 v0.6.0 wave, resolves from crates.io. # `hal` feature pulls in `SimpleLed` (the `embedded-hal` `OutputPin` adapter for -# simple on/off GPIO LEDs), which is re-exported by the Wi-Fi and MQTT crates. -# Pre-rename `led-effects` exposed `SimpleLed` unconditionally; v0.5.0 split it -# behind a feature. -pennant = { git = "https://github.com/datenkollektiv/rustyfarian-ws2812", tag = "v0.5.0", features = ["hal"] } -rustyfarian-esp-idf-ws2812 = { git = "https://github.com/datenkollektiv/rustyfarian-ws2812", tag = "v0.5.0" } -rustyfarian-esp-hal-ws2812 = { git = "https://github.com/datenkollektiv/rustyfarian-ws2812", tag = "v0.5.0", default-features = false, features = ["pennant"] } +# simple on/off GPIO LEDs), re-exported by the Wi-Fi and MQTT crates. +pennant = { version = "0.6", features = ["hal"] } +rustyfarian-esp-idf-ws2812 = { version = "0.6" } +rustyfarian-esp-hal-ws2812 = { version = "0.6", default-features = false, features = ["pennant"] } diff --git a/crates/rustyfarian-esp-idf-wifi/examples/idf_c6_connect_nonblocking_rgb.rs b/crates/rustyfarian-esp-idf-wifi/examples/idf_c6_connect_nonblocking_rgb.rs index 9ba4a48..0df8d64 100644 --- a/crates/rustyfarian-esp-idf-wifi/examples/idf_c6_connect_nonblocking_rgb.rs +++ b/crates/rustyfarian-esp-idf-wifi/examples/idf_c6_connect_nonblocking_rgb.rs @@ -34,7 +34,7 @@ use std::time::Duration; use pennant::{PulseEffect, StatusLed}; use rgb::RGB8; use rustyfarian_esp_idf_wifi::{WiFiConfig, WiFiConfigExt, WiFiManager}; -use rustyfarian_esp_idf_ws2812::WS2812RMT; +use rustyfarian_esp_idf_ws2812::Ws2812Rmt; use esp_idf_svc::eventloop::EspSystemEventLoop; use esp_idf_svc::hal::peripherals::Peripherals; @@ -59,7 +59,7 @@ fn main() -> anyhow::Result<()> { let sys_loop = EspSystemEventLoop::take()?; let nvs = EspDefaultNvsPartition::take()?; - let mut led = WS2812RMT::new(peripherals.pins.gpio8)?; + let mut led = Ws2812Rmt::new(peripherals.pins.gpio8)?; let mut pulse = PulseEffect::new(); let config = WiFiConfig::new(SSID, PASSWORD) diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index f912839..5a013dd 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -31,7 +31,6 @@ timeline Near term : LoRa pure-side polish — LoraConfig builder + from_hex_strings Result return : README 2D crate-status table — protocols × HAL tiers with maturity per cell : rustyfarian-network-pure scope ADR — document the cross-cutting catch-all rule - : pennant crates.io coordination checkpoint — release-plan note before ws2812 v0.6 : .cargo/config.toml setup detection — detect missing config in justfile, clearer first-build errors Mid term : Phase 5 — TTN v3 EU868 OTAA validation (blocked on hardware)