Repository navigation
Closed
Labels
Description
Board / MCU
STM32 (Bluepill)
LED Chipset
WS2812B / NeoPixel
FastLED Version
git master
Arduino / PlatformIO version
Arduino IDE 2.3.9
Operating System
Windows
Description
FastLED is still not working on Arduino UNO Q, even after installing from git master.
Steps to reproduce
Create an empty sketch and include FastLED.h, then press upload.
Minimal sketch
#include <FastLED.h>
void setup() {
}
void loop() {
}Serial / debug output
In file included from C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/atomic.h:18,
from C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/kernel_includes.h:25,
from C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/kernel.h:17,
from C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\cores\arduino/Arduino.h:15,
from C:\Users\Simon\Documents\Arduino\libraries\FastLED\src/fl/system/arduino.h:7,
from C:\Users\Simon\Documents\Arduino\libraries\FastLED\src\fl\build\fl.gfx+.cpp:7:
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:385:51: error: expected unqualified-id before '{' token
385 | #define _minmax3_unique(op, a, b, c, ua, ub, uc) ({ \
| ^
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:393:9: note: in expansion of macro '_minmax3_unique'
393 | _minmax3_unique(op, a, b, c, \
| ^~~~~~~~~~~~~~~
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:465:23: note: in expansion of macro '_minmax3_cnt'
465 | #define min3(a, b, c) _minmax3_cnt(Z_INTERNAL_MIN, a, b, c, __COUNTER__)
| ^~~~~~~~~~~~
C:\Users\Simon\Documents\Arduino\libraries\FastLED\src/fl/gfx/rgbw.cpp.hpp:56:11: note: in expansion of macro 'min3'
56 | inline u8 min3(u8 a, u8 b, u8 c) {
| ^~~~
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:385:51: error: expected ')' before '{' token
385 | #define _minmax3_unique(op, a, b, c, ua, ub, uc) ({ \
| ~^
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:393:9: note: in expansion of macro '_minmax3_unique'
393 | _minmax3_unique(op, a, b, c, \
| ^~~~~~~~~~~~~~~
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:465:23: note: in expansion of macro '_minmax3_cnt'
465 | #define min3(a, b, c) _minmax3_cnt(Z_INTERNAL_MIN, a, b, c, __COUNTER__)
| ^~~~~~~~~~~~
C:\Users\Simon\Documents\Arduino\libraries\FastLED\src/fl/gfx/rgbw.cpp.hpp:56:11: note: in expansion of macro 'min3'
56 | inline u8 min3(u8 a, u8 b, u8 c) {
| ^~~~
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:390:10: error: expected unqualified-id before ')' token
390 | })
| ^
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:393:9: note: in expansion of macro '_minmax3_unique'
393 | _minmax3_unique(op, a, b, c, \
| ^~~~~~~~~~~~~~~
C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/sys/util.h:465:23: note: in expansion of macro '_minmax3_cnt'
465 | #define min3(a, b, c) _minmax3_cnt(Z_INTERNAL_MIN, a, b, c, __COUNTER__)
| ^~~~~~~~~~~~
C:\Users\Simon\Documents\Arduino\libraries\FastLED\src/fl/gfx/rgbw.cpp.hpp:56:11: note: in expansion of macro 'min3'
56 | inline u8 min3(u8 a, u8 b, u8 c) {
| ^~~~
Multiple libraries were found for "Arduino_RouterBridge.h"
Used: C:\Users\Simon\Documents\Arduino\libraries\Arduino_RouterBridge
Not used: C:\Users\Simon\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\libraries\stubs
exit status 1
Compilation error: exit status 1Checklist
- I have searched existing issues for duplicates
- I have tested with the latest FastLED release or git master
- I can reproduce this with a minimal sketch
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
Simon34545 commentedon Sep 13, 2026
I think what's happening is that one of the internal arduino zephyr libraries already defines
min3as a macro.I was able to fix it for my own use by adding
#undef min3tosrc/fl/gfx/rgbw.cpp.hppfix(gfx): rename rgbw min3 helper that collides with Zephyr's min3 ma…
fix(unoq): compile-check the real Zephyr core in CI; move master past…