From 0ac42705798f9d1ee98cdcbf16c2f649da2e46bb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 12 Jan 2016 17:51:06 +0100 Subject: Makefile: Add fuse bytes, set CPU speed to 8MHz --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3