Skip to content

Add support for Adafruit Grand Central M4 (SAMD51) #1071

Open

Description

@spaceriqui

Add support for Adafruit Grand Central M4 (SAMD51). Currently using FastLED 3.3.3.

Adafruit Grand Central M4 product page

Pinouts

In file included from C:\../FastLED.h:41,
from C:\......ino:29:
C:\....\FastLED/led_sysdefs.h:53:2: error: #error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
53 | #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 Adafruit Grand Central M4 (SAMD51).

Activity

  1. hkolbeck-streem commented on May 24, 2021

    @hkolbeck-streem

    If anyone has time to tackle this it would be much appreciated. I'm very new to the world of microcontrollers or I'd take a stab at it myself.

    Also, there's a duplicate of this issue here: #920

  2. spaceriqui commented on May 29, 2021

    @spaceriqui
    Author

    You can use Circuit Python for the same thing instead of FastLed. That's what I ended up doing. https://learn.adafruit.com/adafruit-grand-central/what-is-circuitpython

  3. bwmaas commented on Sep 9, 2023

    @bwmaas
    Contributor

    I'm willing to start working on this as I need support for this board...

    Forking now for development. I'll try to report back in a day or two.

  4. bwmaas commented on Sep 9, 2023

    @bwmaas
    Contributor

    Should have a fix in PR #1539 to get this platform working.

  5. added
    type: feature
    platform: samd
    area: core
    status: stale
    status: triage
    on Apr 16, 2026
  6. zackees commented on Jun 3, 2026

    @zackees
    Member

    Tracked in FastLED/fbuild#386 for SAMD21 / SAMD51 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.

  7. zackees commented on Jun 3, 2026

    @zackees
    Member

    fbuild tracker: FastLED/fbuild#386

    Validated in the fbuild build tool. The Grand Central M4 (SAMD51P20A) builds cleanly:

    • Fixture: tests/platform/samd51p (board = adafruit_grand_central_m4)
    • Toolchain: arm-none-eabi-gcc 15.2.1 + Adafruit ArduinoCore-samd 1.7.16 + CMSIS-Atmel 1.2.2
    • Quick build: 11.4 KB / 1 MB flash, 3.7 KB / 256 KB RAM
    • CI: Build SAMD51P

    The "platform isn't recognized" error in the original report was a FastLED 3.3.3 issue from 2020 — current FastLED has full SAMD51 support via src/platforms/arm/d51 (led_sysdefs_arm_d51.h, fastled_arm_d51.h). The -DADAFRUIT_GRAND_CENTRAL_M4 / -D__SAMD51P20A__ defines the board exposes are picked up correctly.

    No remaining fbuild-side blocker. If a specific FastLED API or chipset doesn't work on this board today, please open a fresh issue with a minimal sketch.

  8. removed
    status: stale
    on Sep 3, 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