ws2812-esp32-rmt-driver 0.12.0

WS2812 driver using ESP32 RMT
Documentation
1
2
3
4
5
6
7
8
// Necessary because of this issue: https://github.com/rust-lang/cargo/issues/9641
fn main() -> Result<(), Box<dyn std::error::Error>> {
    if std::env::var("CARGO_CFG_TARGET_VENDOR") == Ok("espressif".to_string()) {
        embuild::build::CfgArgs::output_propagated("ESP_IDF")?;
        embuild::build::LinkArgs::output_propagated("ESP_IDF")?
    }
    Ok(())
}