From 7d7b9a866f2ffb09cf6894dc675c95c88e432744 Mon Sep 17 00:00:00 2001 From: tfateba Date: Sat, 10 Jun 2017 00:24:10 +0000 Subject: Update the AVR Arduino Uno NIL demo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10254 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR/NIL-ARDUINO-UNO/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'demos/AVR/NIL-ARDUINO-UNO/Makefile') diff --git a/demos/AVR/NIL-ARDUINO-UNO/Makefile b/demos/AVR/NIL-ARDUINO-UNO/Makefile index 0630289bd..cef0df809 100644 --- a/demos/AVR/NIL-ARDUINO-UNO/Makefile +++ b/demos/AVR/NIL-ARDUINO-UNO/Makefile @@ -49,7 +49,7 @@ F_CPU = 16000000 FORMAT = ihex # Target file name (without extension). -TARGET = nil +TARGET = ch # Object files directory # To put object files in current directory, use a dot (.), do NOT make @@ -254,10 +254,10 @@ LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB) # Type: avrdude -c ? # to get a full listing. # -AVRDUDE_PROGRAMMER = avrisp2 +AVRDUDE_PROiGRAMMER = arduino # com1 = serial port. Use lpt1 to connect to parallel port. -AVRDUDE_PORT = /dev/tty.usbmodem00034091 # programmer connected to serial device +AVRDUDE_PORT = /dev/ttyACM0 # programmer connected to serial device AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex #AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep @@ -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) -- cgit v1.2.3