From 1d258903bbf2cb49a4a9999ad45e5ba4929ae873 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Sat, 15 Jun 2013 09:36:55 +0200 Subject: [PATCH 1/2] Allow command line compilation when using BEEPER. --- Marlin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Makefile b/Marlin/Makefile index c231735255..905aaccb44 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -213,7 +213,7 @@ CXXSRC = WMath.cpp WString.cpp Print.cpp Marlin_main.cpp \ SdFile.cpp SdVolume.cpp motion_control.cpp planner.cpp \ stepper.cpp temperature.cpp cardreader.cpp ConfigurationStore.cpp \ watchdog.cpp -CXXSRC += LiquidCrystal.cpp ultralcd.cpp SPI.cpp Servo.cpp +CXXSRC += LiquidCrystal.cpp ultralcd.cpp SPI.cpp Servo.cpp Tone.cpp #Check for Arduino 1.0.0 or higher and use the correct sourcefiles for that version ifeq ($(shell [ $(ARDUINO_VERSION) -ge 100 ] && echo true), true) From 47dc70e3ec72d5af86ac52e580ee7cf7ccaf0221 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Sat, 15 Jun 2013 09:50:25 +0200 Subject: [PATCH 2/2] Fix location of avrdude.conf --- Marlin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Makefile b/Marlin/Makefile index 905aaccb44..3d04d36772 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -287,7 +287,7 @@ LDFLAGS = -lm # Programming support using avrdude. Settings and variables. AVRDUDE_PORT = $(UPLOAD_PORT) AVRDUDE_WRITE_FLASH = -U flash:w:$(BUILD_DIR)/$(TARGET).hex:i -AVRDUDE_FLAGS = -D -C $(ARDUINO_INSTALL_DIR)/hardware/tools/avrdude.conf \ +AVRDUDE_FLAGS = -D -C $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf \ -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) \ -b $(UPLOAD_RATE)