summaryrefslogtreecommitdiff
path: root/firmware/makefile
diff options
context:
space:
mode:
authorTrygve Laugstol <trygvis@inamo.no>2012-03-27 22:00:12 +0200
committerTrygve Laugstol <trygvis@inamo.no>2012-03-27 22:00:12 +0200
commit6afb32b2cd04cdb4cea85ff5dd61f3ea896dc0d8 (patch)
tree02fe036eddcce0d87ce83d28d6e2aaf06e3e52c2 /firmware/makefile
parentaf55094c8d2643031b8623888e810a29daf6bf87 (diff)
downloadbitraf-fridge-6afb32b2cd04cdb4cea85ff5dd61f3ea896dc0d8.tar.gz
bitraf-fridge-6afb32b2cd04cdb4cea85ff5dd61f3ea896dc0d8.tar.bz2
bitraf-fridge-6afb32b2cd04cdb4cea85ff5dd61f3ea896dc0d8.tar.xz
bitraf-fridge-6afb32b2cd04cdb4cea85ff5dd61f3ea896dc0d8.zip
o Working on firmware.
Diffstat (limited to 'firmware/makefile')
-rw-r--r--firmware/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/makefile b/firmware/makefile
index e31866c..e61623d 100644
--- a/firmware/makefile
+++ b/firmware/makefile
@@ -337,10 +337,10 @@ LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)
# Type: avrdude -c ?
# to get a full listing.
#
-AVRDUDE_PROGRAMMER = jtag2dw
+AVRDUDE_PROGRAMMER = stk500
# com1 = serial port. Use lpt1 to connect to parallel port.
-AVRDUDE_PORT = usb
+AVRDUDE_PORT = /dev/ttyUSB0
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
@@ -514,7 +514,8 @@ gccversion :
program: $(TARGET).hex $(TARGET).eep
# $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
#avarice -w -f VirtualSerial.hex -P at90usb162 -2 -j usb
- avrdude -c avr109 -p usb162 -P /dev/ttyACM0 -U flash:w:VirtualSerial.hex
+# avrdude -c avr109 -p usb162 -P /dev/ttyACM0 -U flash:w:VirtualSerial.hex
+ avrdude -c stk500 -p usb162 -P /dev/ttyUSB0 -U flash:w:VirtualSerial.hex
reset:
avarice -P at90usb162 -2 -j usb -R