OK,
Got my two spokePOVs, assembled both, aside from a single reversed LED which was easily fixed, they both tested out functional. Dongle is working fine, I was able to upload 4 images for the 4k animated config, again tested fine. With all that in mind I decided to dig into the firmware for the hall sensor change mentioned above, and wanted to try my changes, and that's where confusion sets in.
I've got a minipov2 I got with the spokepov's and had no issues at all with compiling and programming it, however I cannot get the spokepov firmware to compile. I then tried with the unchanged original firmware and got the same result.
- Code: Select all
E:\POV\spokePOVc>make all
-------- begin --------
avr-gcc (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or banned FOR A PARTICULAR PURPOSE.
Compiling: main.c
avr-gcc -c -mmcu=attiny2313 -I. -g -Os -funsigned-char -funsigned-bitfields -fpa
ck-struct -fshort-enums -Wall -Wstrict-prototypes -DF_CPU=8000000 -Wa,-adhlns=ma
in.lst -std=gnu99 main.c -o main.o
In file included from main.c:37:
e:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is
obsolete. Use <avr/interrupt.h>."
main.c:83: warning: return type defaults to `int'
main.c:83: warning: function declaration isn't a prototype
main.c: In function `INTERRUPT':
main.c:83: warning: type of "__vector_4" defaults to "int"
main.c: In function `internal_eeprom_read':
main.c:461: error: `EEWE' undeclared (first use in this function)
main.c:461: error: (Each undeclared identifier is reported only once
main.c:461: error: for each function it appears in.)
main.c: In function `internal_eeprom_write':
main.c:468: error: `EEWE' undeclared (first use in this function)
main.c:472: error: `EEMWE' undeclared (first use in this function)
make: *** [main.o] Error 1
is this a gcc compatibility thing? I'm still a c newb so I'm not sure where to begin here.