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
Atmega664A & Atmega664 "No hardware SPI pins defined." #1390
I am trying to run FastLed with ATTmega664a however it looks like the a version has not been added as the the P & PA modes can compile without a problem. Error message ""No hardware SPI pins defined. All SPI access will default to bitbanged output"
Is there any chance this can be added or I can add it?
Tracked in FastLED/fbuild#389 for AVR / megaAVR / ATtiny 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.
fbuild gap: there is no ATmega664.json / ATmega664A.json board metadata in crates/fbuild-config/assets/boards/json/, and MightyCore (MCUdude/MightyCore) is not yet registered in crates/fbuild-packages/assets/avr_frameworks.json. The ATmega644A / ATmega1284 / etc. siblings are present, so adding ATmega664/A is a straightforward board-JSON addition plus a MightyCore framework entry.
FastLED gap: even with fbuild support, the No hardware SPI pins defined message indicates src/platforms/avr/fastspi_avr.h has no SPI_DATA / SPI_CLOCK defs for the ATmega664 family. Adding those constants alongside the existing ATmega644/1284 SPI defs is the FastLED-side fix.
Activity
zackees commentedon Jun 3, 2026
Tracked in FastLED/fbuild#389 for AVR / megaAVR / ATtiny 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.
zackees commentedon Jun 3, 2026
fbuild build-system status update (tracker: FastLED/fbuild#389)
This needs work on both sides:
fbuild gap: there is no
ATmega664.json/ATmega664A.jsonboard metadata incrates/fbuild-config/assets/boards/json/, andMightyCore(MCUdude/MightyCore) is not yet registered incrates/fbuild-packages/assets/avr_frameworks.json. The ATmega644A / ATmega1284 / etc. siblings are present, so adding ATmega664/A is a straightforward board-JSON addition plus aMightyCoreframework entry.FastLED gap: even with fbuild support, the
No hardware SPI pins definedmessage indicatessrc/platforms/avr/fastspi_avr.hhas noSPI_DATA/SPI_CLOCKdefs for the ATmega664 family. Adding those constants alongside the existing ATmega644/1284 SPI defs is the FastLED-side fix.Both gaps will be reflected in the FastLED/fbuild#389 mapping table.
fix(avr): add ATmega644A hardware SPI pins (FastLED#4104)