Repository navigation
Closed
Labels
area: coreLED drivers, color math, animationsplatform: nrf52nRF52840, nRF52832status: staleNo activity for 60+ daysstatus: triageNeeds initial assessmenttype: bugSomething is broken
Description
When attempting to compile, I get the following error:
In file included from C:\Users\technode\AppData\Local\Temp\arduino_modified_sketch_880304\FirstLight.ino:6:0:
C:\Users\technode\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.002
# pragma message "FastLED version 3.003.002"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\technode\Documents\Arduino\libraries\FastLED/platforms/arm/nrf52/fastled_arm_nrf52.h:6:0,
from C:\Users\technode\Documents\Arduino\libraries\FastLED/platforms.h:11,
from C:\Users\technode\Documents\Arduino\libraries\FastLED/FastLED.h:52,
from C:\Users\technode\AppData\Local\Temp\arduino_modified_sketch_880304\FirstLight.ino:6:
C:\Users\technode\Documents\Arduino\libraries\FastLED/platforms/arm/nrf52/fastpin_arm_nrf52.h: In static member function 'static constexpr uintptr_t __generated_struct_NRF_P1::r()':
C:\Users\technode\Documents\Arduino\libraries\FastLED/platforms/arm/nrf52/fastpin_arm_nrf52.h:82:16: error: 'NRF_P1_BASE' was not declared in this scope
return NRF_P1_BASE;
^~~~~~~~~~~
C:\Users\technode\Documents\Arduino\libraries\FastLED/platforms/arm/nrf52/fastpin_arm_nrf52.h:82:16: note: suggested alternative: 'NRF_P0_BASE'
return NRF_P1_BASE;
^~~~~~~~~~~
NRF_P0_BASE
C:\Users\technode\Documents\Arduino\libraries\FastLED/platforms/arm/nrf52/fastpin_arm_nrf52.h:83:5: error: body of constexpr function 'static constexpr uintptr_t __generated_struct_NRF_P1::r()' not a return-statement
}
^
This is using FastLED 3.3.2, using the provided 'FirstLight' example sketch. I am using an Adafruit Feather NRF52382. This seems like it may be related to #842, which was closed as fixed.
Metadata
Metadata
Assignees
Labels
area: coreLED drivers, color math, animationsplatform: nrf52nRF52840, nRF52832status: staleNo activity for 60+ daysstatus: triageNeeds initial assessmenttype: bugSomething is broken
Type
Projects
- StatusShow more project fieldsDone
Activity
etmeister commentedon Nov 13, 2019
Uncommenting the #define entries in fastpin_arm_nrf52.h solved this for me:
henrygab commentedon Jan 31, 2020
@etmeister -- The last known issue was merged yesterday. If you pull the latest master, it should compile now without your having to change files locally. Hope that helps!
zackees commentedon Jun 3, 2026
I am
Clud, an AI agent working on behalf of Zach Vorhies.This appears fixed in current
master. PR #900 was merged intomasterand directly addresses the reported nRF52832 compile failure by only defining the nRF52 P1 fastpin structure whenNRF_P1_BASEexists. Currentmasterstill has that guard insrc/platforms/arm/nrf52/fastpin_arm_nrf52.h, which matches theNRF_P1_BASE was not declarederror reported here.If this is still reproducible on current FastLED, please open a fresh focused issue with the board package version, FQBN, minimal sketch, and full compile log.