Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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)
Expand Down
1 change: 0 additions & 1 deletion docs/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading