projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix SPI-Clock too high for 16 MHz firmware
[pub/USBasp.git]
/
bin
/
firmware
/
Makefile328
diff --git
a/bin/firmware/Makefile328
b/bin/firmware/Makefile328
index
f086528
..
ff05ef8
100644
(file)
--- a/
bin/firmware/Makefile328
+++ b/
bin/firmware/Makefile328
@@
-1,12
+1,12
@@
MCU_TARGET = atmega328p
MCU_TARGET = atmega328p
-F_CPU = 1
6
000000
+F_CPU = 1
2
000000
FLASHER = avrdude -c usbasp -p $(MCU_TARGET)
usbasp: fuses
ifeq ($(F_CPU), 12000000)
FLASHER = avrdude -c usbasp -p $(MCU_TARGET)
usbasp: fuses
ifeq ($(F_CPU), 12000000)
- $(FLASHER) -B 1 -U flash:w:usbasp.atmega328
-12MHz.2011-05-28
.hex
+ $(FLASHER) -B 1 -U flash:w:usbasp.atmega328
p-12MHz
.hex
else ifeq ($(F_CPU), 16000000)
else ifeq ($(F_CPU), 16000000)
- $(FLASHER) -B 1 -U flash:w:usbasp.atmega328
-16MHz.2011-05-28
.hex
+ $(FLASHER) -B 1 -U flash:w:usbasp.atmega328
p-16MHz
.hex
else
$(error setting of F_CPU is not supported.)
endif
else
$(error setting of F_CPU is not supported.)
endif