0

Trying to get miniPOV v3 working again and having problems
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Trying to get miniPOV v3 working again and having problems

by webgeer on Wed Sep 06, 2017 2:49 am

When I first got my miniPOV v3 a number of years ago, I was able to get it working relatively easily and created a few custom POVs.

I figured I wanted to put in a new one. However it is two computers later and so I had to start from the beginning.

I was able to get it working so when I do "make program-digg" (or any of the other ones that are already created) it works fine. However, when I created my own mypov and tried to do "make mypov.hex" I get the following error:

Code: Select all | TOGGLE FULL SIZE
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:73: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:73:9: warning: 'SIG_TIMER1_COMPA' appears to be a misspelled signal handler [enabled by default]
 SIGNAL( SIG_TIMER1_COMPA ) {
         ^
make: *** [mypov.o] Error 1


Not sure what I did differently.

webgeer
 
Posts: 1
Joined: Wed Sep 06, 2017 2:39 am

Please be positive and constructive with your questions and comments.