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
fix(nrf51): platform does not compile; SPIOutput has no definition and no board covers it #5119
A standalone cross-compile of a small APA102 sketch (-DNRF51 -mcpu=cortex-m0, with stub vendor headers because the real SDK was not available) fails before any vendor API matters:
platforms/arm/is_arm.h does not define FL_IS_ARM for NRF51, so led_sysdefs_arm_nrf51.h hits its #error.
With -DFL_IS_ARM forced, chipsets.h fails at its SPIOutput base classes (expected template-name before '<').
From reading the code: spi_output_template.h derives from NRF51HardwareSPIOutput, which nothing defines. fastspi_arm_nrf51.h defines NRF51SPIOutput, under an FL_IS_NRF52 guard.
ci/boards.py has no nRF51 board, so nothing catches this.
The stub headers could hide or add errors, so a build with the real SDK should confirm this. Decision needed: revive the platform, with a board entry, or retire it. #5047 cannot deliver a real production path until then.
Activity
ci(lint): amnesty FL_IS_NRF51 and FASTLED_FORCE_SOFTWARE_SPI guards (#…
fix(nrf51): make the nRF51 platform compile and link again (FastLED#5119