You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Porting of FastLed library on Arduino Nicla Sense Me platform #1379
========
In file included from C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\FastLED\src/FastLED.h:43:0,
from C:\Users\sapie\AppData\Local\Temp\arduino_modified_sketch_165168\RGBSetDemo.ino:1:
C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\FastLED\src/led_sysdefs.h:55:2: error: #error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
#error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
^~~~~
exit status 1
Error compiling for board Nicla Sense ME.
The Nicla Sense is a nRF52832 (M4 core) board.
It seems that the library already support something similar so I think it might be a matter of adding a board identifier and possibly some pin assignments.
I wonder if someone can give me hints on how to solve.
Any help is really appreciated.
Research note against current repo head as of 2026-04-20: Arduino still documents Nicla Sense ME as an nRF52832 board, and FastLED already has an nRF52 backend. What I do not see is a Nicla-specific selector or pin variant in the current tree, so this looks more like missing board detection / pin mapping than missing LED-engine support.
If someone wants to move this forward, the first practical change is to route the Nicla core macros into the nRF52 path in src/led_sysdefs.h / init dispatch, then add and validate a board-specific pin map under the nRF52 fastpin tables.
Tracked in FastLED/fbuild#388 for nRF / mbed fbuild platform/build support validation.
That fbuild issue is scoped to board metadata, toolchain/backend support, and FastLED smoke-build evidence. Any remaining FastLED source/platform-code blocker should stay linked from both sides.
Status from the fbuild side after auditing Nicla Sense Me support today (2026-06-03):
Nicla Sense Me (nRF52832 + Arduino mbed_nicla core) is not yet buildable in fbuild. Two gaps stack here:
fbuild only supports mcu=nrf52840 under the nordicnrf52 platform — crates/fbuild-build/src/nrf52/mcu_config.rs returns unsupported NRF52 MCU: 'nrf52832'. Adding nrf52832 is straightforward (sibling JSON, s132 SoftDevice defines), but it's separate work.
The Nicla Sense Me uses the arduino:mbed_nicla core, not Adafruit's nRF5 core. fbuild has an Arduino-mbed build path (crates/fbuild-build/src/stm32/orchestrator/arduino_mbed.rs) but it currently only routes the STM32-family mbed variants (GIGA | PORTENTA_H7_M7 | GENERIC_STM32H747_M4 | NICLA_VISION | OPTA). There's no arduino:mbed_nicla (nRF52832-flavored) plumbing yet.
FastLED-side blocker is independent of fbuild. Even with a working build pipeline you'll still hit led_sysdefs.h:55 (This platform isn't recognized by FastLED... yet.) — the original error in your report. That MCU detection / led_sysdefs.h branch has to land in FastLED itself before any toolchain can produce a working binary for Nicla.
So both the build tool side and the library side need work; the FastLED-side detection is the practical first step. The fbuild tracker captures the build-tool work: FastLED/fbuild#388 (now closed — see comment there for full evidence and gap list).
Activity
zackees commentedon Apr 20, 2026
Research note against current repo head as of 2026-04-20: Arduino still documents Nicla Sense ME as an nRF52832 board, and FastLED already has an nRF52 backend. What I do not see is a Nicla-specific selector or pin variant in the current tree, so this looks more like missing board detection / pin mapping than missing LED-engine support.
If someone wants to move this forward, the first practical change is to route the Nicla core macros into the nRF52 path in
src/led_sysdefs.h/ init dispatch, then add and validate a board-specific pin map under the nRF52 fastpin tables.zackees commentedon Jun 3, 2026
Tracked in FastLED/fbuild#388 for nRF / mbed fbuild platform/build support validation.
That fbuild issue is scoped to board metadata, toolchain/backend support, and FastLED smoke-build evidence. Any remaining FastLED source/platform-code blocker should stay linked from both sides.
zackees commentedon Jun 3, 2026
fbuild status (tracker FastLED/fbuild#388)
Status from the fbuild side after auditing Nicla Sense Me support today (2026-06-03):
Nicla Sense Me (nRF52832 + Arduino mbed_nicla core) is not yet buildable in fbuild. Two gaps stack here:
mcu=nrf52840under thenordicnrf52platform —crates/fbuild-build/src/nrf52/mcu_config.rsreturnsunsupported NRF52 MCU: 'nrf52832'. Adding nrf52832 is straightforward (sibling JSON, s132 SoftDevice defines), but it's separate work.arduino:mbed_niclacore, not Adafruit'snRF5core. fbuild has an Arduino-mbed build path (crates/fbuild-build/src/stm32/orchestrator/arduino_mbed.rs) but it currently only routes the STM32-family mbed variants (GIGA | PORTENTA_H7_M7 | GENERIC_STM32H747_M4 | NICLA_VISION | OPTA). There's noarduino:mbed_nicla(nRF52832-flavored) plumbing yet.FastLED-side blocker is independent of fbuild. Even with a working build pipeline you'll still hit
led_sysdefs.h:55(This platform isn't recognized by FastLED... yet.) — the original error in your report. That MCU detection /led_sysdefs.hbranch has to land in FastLED itself before any toolchain can produce a working binary for Nicla.So both the build tool side and the library side need work; the FastLED-side detection is the practical first step. The fbuild tracker captures the build-tool work: FastLED/fbuild#388 (now closed — see comment there for full evidence and gap list).