From 9299770a1ad1f8c06c34338c0c4dd7907eb20882 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 23 Aug 2010 20:17:34 +0200 Subject: [PATCH 1/1] decrease CPU frequency from 8 to 1MHz --- bmc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bmc/Makefile b/bmc/Makefile index 5c1c4a4..6f27e42 100644 --- a/bmc/Makefile +++ b/bmc/Makefile @@ -2,10 +2,12 @@ PROG=dragon_jtag PORT=usb PMCU=m16 GCCMCU=atmega16 +#Fuses for 1MHz: +#avrdude -v -p m16 -U lfuse:w:0xa1:m -U hfuse:w:0x19:m CPUFLAG=-mmcu=$(GCCMCU) CC=avr-gcc -CFLAGS=$(CPUFLAG) -DF_CPU=8000000UL -Wall -g +CFLAGS=$(CPUFLAG) -DF_CPU=1000000UL -Wall -g LDFLAGS=$(CPUFLAG) OBJCOPY=avr-objcopy -- 2.39.5