summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8df710b..a3d43ac 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
default:
# compile for attiny86 with warnings, optimizations, and 1 MHz clock frequency
- avr-gcc -Wall -Os -DF_CPU=1000000 -mmcu=attiny85 -o hello.o hello.c
+ avr-gcc -Wall -Os -DF_CPU=1048576 -mmcu=attiny85 -o hello.o hello.c
avr-objcopy -j .text -j .data -O ihex hello.o hello.hex
avrdude -c usbasp -p t85 -U flash:w:hello.hex:i