Skip to content

Seeed nRF52 board: configMAX_SYSCALL_INTERRUPT_PRIORITY' was not declared in this scope #3876

Closed

Description

@chetgnegy

Board / MCU

nRF52840

LED Chipset

WS2812B / NeoPixel

FastLED Version

3.10.5

Arduino / PlatformIO version

Arudino 1.8.16

Operating System

macOS

Description

Won't compile due to a missing symbol.

Steps to reproduce

Compiling code for the Seeed nRF52840-plus for the first time using the XIAO nRF52840 Plus (no updates) board.

Minimal sketch

https://github.com/FastLED/FastLED/blob/master/examples/Blink/Blink.ino

Serial / debug output

In file included from /Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/platforms/arm/nrf52/fastled_arm_nrf52.h:11:0,
                 from /Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/platforms.h:19,
                 from /Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/fl/system/fastled.h:82,
                 from /Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/FastLED.h:159,
                 from /Users/chetgnegy/Desktop/Chet's Shit/Projects/Odd Jobs & Magic/Projects/Flame Dagger/FlameDagger/FlameDagger.ino:6:
/Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/platforms/arm/nrf52/clockless_arm_nrf52.h: In static member function 'static void fl::ClocklessController<_DATA_PIN, TIMING, _RGB_ORDER, _XTRA0, _FLIP, _WAIT_TIME_MICROSECONDS>::startPwmPlayback_EnableInterruptsAndShortcuts(NRF_PWM_Type*)':
/Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/platforms/arm/nrf52/clockless_arm_nrf52.h:119:44: error: 'configMAX_SYSCALL_INTERRUPT_PRIORITY' was not declared in this scope
         result = sd_nvic_SetPriority(irqn, configMAX_SYSCALL_INTERRUPT_PRIORITY);
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/platforms/arm/nrf52/fastled_arm_nrf52.h:11:0,
                 from /Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/platforms.h:19,
                 from /Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/fl/system/fastled.h:82,
                 from /Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/FastLED.h:159,
                 from /Users/chetgnegy/Desktop/Chet's Shit/Projects/Odd Jobs & Magic/Projects/Flame Dagger/FlameDagger/fire_simulation.h:6,
                 from /Users/chetgnegy/Desktop/Chet's Shit/Projects/Odd Jobs & Magic/Projects/Flame Dagger/FlameDagger/fire_simulation.cpp:1:
/Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/platforms/arm/nrf52/clockless_arm_nrf52.h: In static member function 'static void fl::ClocklessController<_DATA_PIN, TIMING, _RGB_ORDER, _XTRA0, _FLIP, _WAIT_TIME_MICROSECONDS>::startPwmPlayback_EnableInterruptsAndShortcuts(NRF_PWM_Type*)':
/Users/chetgnegy/Documents/Arduino/libraries/FastLED/src/platforms/arm/nrf52/clockless_arm_nrf52.h:119:44: error: 'configMAX_SYSCALL_INTERRUPT_PRIORITY' was not declared in this scope
         result = sd_nvic_SetPriority(irqn, configMAX_SYSCALL_INTERRUPT_PRIORITY);
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Checklist

  • 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

Activity

  1. added
    status: triage
    type: bug
    on Aug 8, 2026
  2. chetgnegy commented on Aug 8, 2026

    @chetgnegy
    Author

    Related to #747. Might just be this this chip isn't supported.

  3. zackees commented on Aug 13, 2026

    @zackees
    Member

    The historical problem is that we did not support chipsets with a floating FCPU that auto adjusts according to load. However, we just had our first chip set in the last three months that had this support. It was a pain in the ass, but we got it in.

    So all the technical problems have been solved. I'm sure that AI could bang this out in a couple hours. just have it look for the F_CPU value in recent commits the last three months.

  4. chetgnegy commented on Aug 13, 2026

    @chetgnegy
    Author
  5. zackees commented on Aug 13, 2026

    @zackees
    Member

    Can you share the code you used for getting it to work

  6. wafir645fcqs56 commented on Aug 14, 2026

    @wafir645fcqs56
  7. moved this from Triage to Done in FastLED Trackeron Aug 17, 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

    status: triagetype: bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions