Skip to content

Porting of FastLed library on Arduino Nicla Sense Me platform #1379

Open

Description

@sapienshawk

Dear Sirs,
I'm trying to use FastLed Library on "Arduino Nicla Sense Me" => please see https://store.arduino.cc/products/nicla-sense-me
In particular I tryed all examples that comes with library.
Of course they work perfectly on other boards but not on this particular platform.
I get this error:

========
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.

Activity

  1. added
    type: feature
    platform: samd
    area: core
    status: stale
    status: triage
    on Apr 16, 2026
  2. zackees commented on Apr 20, 2026

    @zackees
    Member

    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.

  3. zackees commented on Jun 3, 2026

    @zackees
    Member

    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.

  4. zackees commented on Jun 3, 2026

    @zackees
    Member

    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:

    1. 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.
    2. 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).

  5. removed
    status: stale
    on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreplatform: samdstatus: triagetype: feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions