]> www.fi.muni.cz Git - bike-lights.git/commitdiff
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 726558bdcdc170f26d2156397aacfe613359c0d5..e9e754e52e36d79b1c731b006fa39296cebf4e03 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