X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/d7bda89e596d43e5a9920269612f992e92d5ada3..d6f38d0dfc4f602a6c790fd470deb2b2fd23da77:/bmc/Makefile diff --git a/bmc/Makefile b/bmc/Makefile index 85ecb0b..7915e96 100644 --- a/bmc/Makefile +++ b/bmc/Makefile @@ -1,5 +1,5 @@ CC=avr-gcc -CFLAGS=-mmcu=atmega16 -g +CFLAGS=-mmcu=atmega16 -DF_CPU=8000000UL -Wall -g OBJCOPY=avr-objcopy PROG=dragon_jtag PORT=usb @@ -7,7 +7,7 @@ PMCU=m16 all: bmc.bin -bmc: bmc.o +bmc: bmc.o usart.o bmc.bin: bmc $(OBJCOPY) -j .text -j .data -O binary $^ $@ @@ -18,7 +18,6 @@ flash: bmc.bin debug: bmc bmc.bin setsid avarice -g -D :4242 -avr-gdb -ex 'target remote localhost:4242' bmc - -pkill avarice clean: -rm -f *.o bmc bmc.bin