r/FastLED • u/BarrettT123 • Sep 28 '24
Support Problem compiling for Attiny1604?
Hi everyone,
I am working on a project where I am trying to control 5 Adafruit neopixels with an attiny1604, using the FastLED library and the MegaTinyCore. When I try to compile anything using this library (including examples), i get this error message:
C:\Users\barre\AppData\Local\Temp\ccdw3hUZ.ltrans0.ltrans.o: In function \L_4616':`
<artificial>:(.text+0xa14): undefined reference to \timer_millis'`
<artificial>:(.text+0xa18): undefined reference to \timer_millis'`
<artificial>:(.text+0xa1c): undefined reference to \timer_millis'`
<artificial>:(.text+0xa20): undefined reference to \timer_millis'`
<artificial>:(.text+0xa30): undefined reference to \timer_millis'`
C:\Users\barre\AppData\Local\Temp\ccdw3hUZ.ltrans0.ltrans.o:<artificial>:(.text+0xa34): more undefined references to \timer_millis' follow`
collect2.exe: error: ld returned 1 exit status
Using library FastLED at version 3.7.8 in folder: C:\Users\barre\OneDrive\Documents\Arduino\libraries\FastLED
exit status 1
Compilation error: exit status 1
I have looked around online, but have not been able to find anything that worked. Does anyone here have any idea what could be causing this?
View all comments
Show parent comment
4
u/ZachVorhies Zach Vorhies Sep 28 '24
thanks, i’ve added a build badge for the attiny1604 and will add a weak symbol to for the timer.