X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/da7751cb0539c2ecb03ff66d05904626052e06e3..7639ed841e42bd73717d288dc14c29ef3bebd8a3:/bmc/Makefile?ds=sidebyside diff --git a/bmc/Makefile b/bmc/Makefile index 5c1c4a4..8285880 100644 --- a/bmc/Makefile +++ b/bmc/Makefile @@ -2,10 +2,14 @@ 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 +#Fuses for 8MHz: +#avrdude -v -p m16 -U lfuse:w:0xa4: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