X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=hw2%2Fmakefile;h=80fdcb8140ea34552a1dc37a50d92422d7145a20;hb=d634f081b7dceacd2b23046f75a8dc54c9f545ff;hp=07982822dc6d5f9c0c50a8310a621a3e61e6e3f5;hpb=0a7391e68bb9279c509e4066365adf71079c178d;p=~andy%2Fcsm213a-hw diff --git a/hw2/makefile b/hw2/makefile index 0798282..80fdcb8 100644 --- a/hw2/makefile +++ b/hw2/makefile @@ -1,7 +1,7 @@ PROG = mbed UART0 = /dev/ttyACM0 UART1 = /dev/ttyACM1 -OBJS = main.o test.o serial_irq.o serial_dma.o timer_dma.o +OBJS = main.o serial_irq.o serial_dma.o timer_dma.o CPPFLAGS = LDFLAGS = -lm @@ -13,8 +13,8 @@ control: control.c messages.h run: all control install.sh @./install.sh $(PROG).bin - @./control $(UART0) 0 - @./control $(UART1) 1 sync + @./control $(UART0) 1 + @./control $(UART1) 2 sync terms: term /dev/ttyACM0 &