12 all: mbed.elf tester.elf control
15 test -c $(UART0) && term $(UART0) &
16 test -c $(UART1) && term $(UART1) &
19 zip mbed.zip makefile ../common.mk *.{c,cpp,h} */*.{cpp,.h}
21 # Primary mbed (mbed1/mbed2)
22 mbed.elf: main.o main_time.o main_emit.o main_comm.o \
23 serial_irq.o serial_dma.o timer_dma.o messages.o
25 mbed-run: mbed.bin control install.sh
28 @./control $(UART1) 2 sync
30 # Testing mbed (mbed3)
31 tester.elf: tester.o serial_irq.o timer_dma.o messages.o
33 tester-run: tester.bin install.sh
34 @./install.sh $< /dev/sdb /mnt/usb
37 control: control.c messages.h