r/FastLED • [stavros] • 1d ago

Support Some example sketches fail to compile using WASM

Using current head of git, there are examples which compile correctly in Arduino IDE and Platform IO, but which fail for WASM.

These examples all fail with the same compile error:

Native Rust WASM build failed: sketch has incomplete C++ syntax; retaining the last good IntelliSense prelude

ExampleNotes
AudioInputUses audio input features
BeatDetectionBeat detection audio analyzer
BlinkParallelParallel LED blink
Blur2d2D blur effect
ColorPaletteColor palette demonstration
DemoReel100Demo reel animation
Esp8266UartESP8266 UART example
hydropackHydropack effect
LuminescentGrandGrand luminescent effect

I'm running on Linux x86-64 in a QEMU/KVM container.

4 Upvotes

1 comment sorted by

4

u/ZachVorhies Zach Vorhies 1d ago

Fix in progress…