diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-01-12 17:51:06 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-01-12 17:51:06 +0100 |
commit | 0ac42705798f9d1ee98cdcbf16c2f649da2e46bb (patch) | |
tree | d0467e406bc79d36ad76a1ab9057a43bab5dc273 /Makefile | |
parent | 08ac0063eee2f1e5344f5f21637674efd0c3c321 (diff) |
Makefile: Add fuse bytes, set CPU speed to 8MHz
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |