]> Pileus Git - ~andy/csm213a-hw/blobdiff - hw2/makefile
Cleanup comments and move test.cpp
[~andy/csm213a-hw] / hw2 / makefile
index 07982822dc6d5f9c0c50a8310a621a3e61e6e3f5..80fdcb8140ea34552a1dc37a50d92422d7145a20 100644 (file)
@@ -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 &