fix: Wio Tracker LED on P1.01, move SimpleLed to board layer

Per the Wio Tracker L1 schematic, it has a green LED on P1.01.
Moved SimpleLed from driver/ to board layer (esp32s3.rs and
wio_tracker_l1.rs) since the impl needs HAL-specific Output types.
Removed driver/simple_led.rs — each board layer defines its own.
RAK WisBlock remains LedDriver=() (no user LED on the core module).
This commit is contained in:
swaits committed 2026-04-07 12:20:20 -06:00
1 parent 3bb41da223
commit f9117d71c8
7 files changed
+43 -41

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@ use static_cell::StaticCell;
use super::esp32s3;
use super::traits::{BoardParts, LoRaBoard};
use crate::driver::simple_led::SimpleLed;
use super::esp32s3::SimpleLed;
use crate::hal::esp32s3 as mcu;
pub use super::esp32s3::{
@@ -84,7 +84,7 @@ impl LoRaBoard for Board {
// White LED on GPIO35
let led_pin = Output::new(p.GPIO35, Level::Low, OutputConfig::default());
let led = Some(SimpleLed::new(led_pin));
let led = Some(SimpleLed(led_pin));
BoardParts {
radio,