fw/Makefile: explicitly set the usbasp speed
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sat, 12 Apr 2014 20:11:02 +0000 (22:11 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sat, 12 Apr 2014 20:11:02 +0000 (22:11 +0200)
firmware/Makefile

index 726558b..e9e754e 100644 (file)
@@ -12,7 +12,7 @@ AVRDUDE_PROGRAMMER=usbasp
 
 CFLAGS=-Wall -Os -mmcu=$(MCU) -DUSE_LOGGING=1 -DF_CPU=1000000UL -std=gnu99
 LDFLAGS=
-AVRDUDE_FLAGS= -p$(AVRDUDE_MCU) -c $(AVRDUDE_PROGRAMMER)
+AVRDUDE_FLAGS= -p$(AVRDUDE_MCU) -B 3 -c $(AVRDUDE_PROGRAMMER)
 
 FORMAT=ihex