LEDs worked fine (one turns on at a time).
Installed avr libc stuff on macos and ubuntu. Both can program the sample firmware fine (now displays MiniPOV message) using the provided pre-compiled .hex files (mypov.hex).
However, if I want to update the message which requires re-building it turns out the sample firmware doesn't want to build on ubuntu or macos with the latest AVR toolchain.
Has anyone updated this the sample firmware yet?
Code: Select all
Compiling: mypov.c
avr-gcc -c -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -DF_CPU=8000000 -Wa,-adhlns=mypov.lst -mmcu=attiny2313 -std=gnu99 mypov.c -o mypov.o
In file included from mypov.c:3:0:
/usr/local/CrossPack-AVR-20131216/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." [-Wcpp]
#warning "This header file is obsolete. Use <avr/interrupt.h>."
^
mypov.c:50:9: error: attempt to use poisoned "SIG_TIMER1_COMPA"
SIGNAL( SIG_TIMER1_COMPA ) {
^
In file included from mypov.c:2:0:
mypov.c: In function 'SIG_TIMER1_COMPA':
mypov.c:50:9: warning: 'SIG_TIMER1_COMPA' appears to be a misspelled signal handler [enabled by default]
SIGNAL( SIG_TIMER1_COMPA ) {
^
make: *** [mypov.o] Error 1