|
@@ -213,7 +213,7 @@ CXXSRC = WMath.cpp WString.cpp Print.cpp Marlin_main.cpp \
|
213
|
213
|
SdFile.cpp SdVolume.cpp motion_control.cpp planner.cpp \
|
214
|
214
|
stepper.cpp temperature.cpp cardreader.cpp ConfigurationStore.cpp \
|
215
|
215
|
watchdog.cpp
|
216
|
|
-CXXSRC += LiquidCrystal.cpp ultralcd.cpp SPI.cpp Servo.cpp
|
|
216
|
+CXXSRC += LiquidCrystal.cpp ultralcd.cpp SPI.cpp Servo.cpp Tone.cpp
|
217
|
217
|
|
218
|
218
|
#Check for Arduino 1.0.0 or higher and use the correct sourcefiles for that version
|
219
|
219
|
ifeq ($(shell [ $(ARDUINO_VERSION) -ge 100 ] && echo true), true)
|
|
@@ -287,7 +287,7 @@ LDFLAGS = -lm
|
287
|
287
|
# Programming support using avrdude. Settings and variables.
|
288
|
288
|
AVRDUDE_PORT = $(UPLOAD_PORT)
|
289
|
289
|
AVRDUDE_WRITE_FLASH = -U flash:w:$(BUILD_DIR)/$(TARGET).hex:i
|
290
|
|
-AVRDUDE_FLAGS = -D -C $(ARDUINO_INSTALL_DIR)/hardware/tools/avrdude.conf \
|
|
290
|
+AVRDUDE_FLAGS = -D -C $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf \
|
291
|
291
|
-p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) \
|
292
|
292
|
-b $(UPLOAD_RATE)
|
293
|
293
|
|