]> git.zerfleddert.de Git - rsbs2/blobdiff - bmc/Makefile
add information about session timeouts to readme
[rsbs2] / bmc / Makefile
index d9ad589182cf17e150276c61f7640b3c3cd89cc8..8285880eb756fe5b9408b789a638c82fbcfdff0b 100644 (file)
@@ -2,16 +2,20 @@ 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
 
 all: bmc.bin
 
-bmc: bmc.o usart.o i2c.o ipmb.o
+bmc: bmc.o usart.o i2c.o ipmb.o chassis.o
 
 bmc.bin: bmc
        $(OBJCOPY) -j .text -j .data -O binary $^ $@
Impressum, Datenschutz