Add avrdude -D argument. Some ardus do not write new user code without it
This commit is contained in:
parent
1a7a0a4630
commit
667a72739c
4
Makefile
4
Makefile
@ -52,12 +52,14 @@ LDFLAGS = -mmcu=$(BOARD)
|
|||||||
OBJCOPYARGS = -O ihex \
|
OBJCOPYARGS = -O ihex \
|
||||||
-R .eeprom
|
-R .eeprom
|
||||||
|
|
||||||
|
# FIXME Find out why some Arduinos require -D to write code
|
||||||
AVRDUDEARGS = -p $(BOARD) \
|
AVRDUDEARGS = -p $(BOARD) \
|
||||||
-c wiring \
|
-c wiring \
|
||||||
-F \
|
-F \
|
||||||
-P $(DEVICE) \
|
-P $(DEVICE) \
|
||||||
-b 115200 \
|
-b 115200 \
|
||||||
-V
|
-V \
|
||||||
|
-D
|
||||||
|
|
||||||
all: $(ELF) $(TARGET)
|
all: $(ELF) $(TARGET)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user