Moderators: adafruit_support_bill, adafruit
Tones wrote:That did it, thanks!
But I'd like to understand what's happening here in a little more depth. Why is it that "program-eyebeam: eyebeam.hex" works, but "program-cylon:cylon.hex" fails?
# Default target.
all: begin gccversion \
minipov.hex all_leds.hex alt_leds.hex mypov.hex test_leds.hex \
largeimage.hex makefair.hex makezine.hex eyebeam.hex digg.hex make.hex \
finished end
# Default target.
all: begin gccversion \
minipov.hex all_leds.hex alt_leds.hex mypov.hex test_leds.hex \
largeimage.hex makefair.hex makezine.hex eyebeam.hex digg.hex make.hex cylon.hex \
finished end# Default target.
all: begin gccversion \
minipov.hex all_leds.hex alt_leds.hex mypov.hex test_leds.hex \
largeimage.hex makefair.hex makezine.hex eyebeam.hex digg.hex make.hex \
cylon.hex \
finished end
C:\engineering\projects\WinAVR\sample\minipovfirmware>make -f makefile program-cylon
Compiling: cylon.c
avr-gcc -c -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -DF_CPU=8000000 -Wa,-adhlns=cylon.lst -mmcu=attiny2313 -
In file included from cylon.c:3:
c:/engineering/projects/winavr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
cylon.c:93: warning: pointer targets in initialization differ in signedness
Linking: cylon.elf
avr-gcc -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -DF_CPU=8000000 -Wa,-adhlns=cylon.o -mmcu=attiny2313 -std=g
,-Map=.map,--cref
Tones wrote:I'm using the most recent version of avrdude on MacOS.
# Define directories, if needed.
DIRAVR = c:/engineering/projects/winavr
DIRAVRBIN = $(DIRAVR)/bin
DIRAVRUTILS = $(DIRAVR)/utils/bin
DIRINC = .
DIRLIB = $(DIRAVR)/avr/libDIRAVR = /usr/local/CrossPack-AVRUsers browsing this forum: No registered users and 2 guests