summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-12 17:51:06 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-12 17:51:06 +0100
commit0ac42705798f9d1ee98cdcbf16c2f649da2e46bb (patch)
treed0467e406bc79d36ad76a1ab9057a43bab5dc273 /Makefile
parent08ac0063eee2f1e5344f5f21637674efd0c3c321 (diff)
Makefile: Add fuse bytes, set CPU speed to 8MHz
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aea031d..d68198a 100644
--- a/Makefile
+++ b/Makefile
@@ -7,13 +7,13 @@ AVRNM ?= avr-nm
AVROBJCOPY ?= avr-objcopy
AVROBJDUMP ?= avr-objdump
-CFLAGS += -mmcu=attiny88 -DF_CPU=1000000UL
+CFLAGS += -mmcu=attiny88 -DF_CPU=8000000UL
# CFLAGS += -gdwarf-2
CFLAGS += -I. -std=gnu99 -Os -Wall -Wextra -pedantic
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
CFLAGS += -fwhole-program -flto -mstrict-X
-#AVRFLAGS += -U lfuse:w:0xe4:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m
+AVRFLAGS += -U lfuse:w:0xee:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m
AVRFLAGS += -U flash:w:main.hex
#AVRFLAGS += -U eeprom:w:main.eep