From cddebf41cce6060a49b80fc334442ca919b2d934 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Tue, 5 Dec 2006 20:33:39 +0000 Subject: [PATCH] Stopped building .eep file since it was causing errors and we don't need it. --- targets/arduino/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/targets/arduino/Makefile b/targets/arduino/Makefile index 96f1016ce..945491172 100755 --- a/targets/arduino/Makefile +++ b/targets/arduino/Makefile @@ -47,9 +47,8 @@ PORT = /dev/tty.usbserial* TARGET = foo -ARDUINO = /Applications/arduino-0005/lib/targets/arduino -SRC = $(ARDUINO)/buffer.c $(ARDUINO)/pins_arduino.c \ - $(ARDUINO)/Serial.c $(ARDUINO)/uart.c $(ARDUINO)/wiring.c +ARDUINO = /Applications/arduino-0007/lib/targets/arduino +SRC = $(ARDUINO)/pins_arduino.c $(ARDUINO)/wiring.c $(ARDUINO)/WInterrupts.c CXXSRC = $(TARGET).cpp $(ARDUINO)/HardwareSerial.cpp $(ARDUINO)/WRandom.cpp MCU = atmega8 F_CPU = 16000000 @@ -125,7 +124,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target. all: build -build: elf hex eep +build: elf hex elf: $(TARGET).elf hex: $(TARGET).hex @@ -134,7 +133,7 @@ lss: $(TARGET).lss sym: $(TARGET).sym # Program the device. -upload: $(TARGET).hex $(TARGET).eep +upload: $(TARGET).hex $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)