diff options
author | tfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2016-12-04 15:27:31 +0000 |
---|---|---|
committer | tfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2016-12-04 15:27:31 +0000 |
commit | b4bb9f7ddce01ceeaf5a25bbfca2cebcf211acec (patch) | |
tree | 5646798f6559a6e069d90aa3657e3f03f19de186 /demos/AVR/RT-ARDUINOUNO/Makefile | |
parent | 8c7eea1196e21c0701ec7d8415982726f35fca89 (diff) | |
download | ChibiOS-b4bb9f7ddce01ceeaf5a25bbfca2cebcf211acec.tar.gz ChibiOS-b4bb9f7ddce01ceeaf5a25bbfca2cebcf211acec.tar.bz2 ChibiOS-b4bb9f7ddce01ceeaf5a25bbfca2cebcf211acec.zip |
Fixed building error and invalid configuration files for AVR Arduino Uno demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9951 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR/RT-ARDUINOUNO/Makefile')
-rw-r--r-- | demos/AVR/RT-ARDUINOUNO/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/AVR/RT-ARDUINOUNO/Makefile b/demos/AVR/RT-ARDUINOUNO/Makefile index 7911b1054..e3f4560ee 100644 --- a/demos/AVR/RT-ARDUINOUNO/Makefile +++ b/demos/AVR/RT-ARDUINOUNO/Makefile @@ -254,12 +254,12 @@ LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB) # Type: avrdude -c ?
# to get a full listing.
#
-AVRDUDE_PROGRAMMER = avrisp2
+AVRDUDE_PROGRAMMER = arduino
# com1 = serial port. Use lpt1 to connect to parallel port.
-AVRDUDE_PORT = /dev/tty.usbmodem00034091
+AVRDUDE_PORT = /dev/ttyACM0
-AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
+AVRDUDE_WRITE_FLASH = -D -U flash:w:$(TARGET).hex
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
# Uncomment the following if you want avrdude's erase cycle counter.
@@ -278,7 +278,7 @@ AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex AVRDUDE_FLAGS = -p $(MCU)
AVRDUDE_FLAGS += -P $(AVRDUDE_PORT)
-AVRDUDE_FLAGS += -b 57600
+AVRDUDE_FLAGS += -b 115200
AVRDUDE_FLAGS += -c $(AVRDUDE_PROGRAMMER)
AVRDUDE_FLAGS += $(AVRDUDE_NO_VERIFY)
AVRDUDE_FLAGS += $(AVRDUDE_VERBOSE)
|