summaryrefslogtreecommitdiffstats
path: root/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'boot/Makefile')
-rw-r--r--boot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/Makefile b/boot/Makefile
index e744d9a..b4d340c 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -21,6 +21,8 @@
CSRCS=bootloader.c usb.c dfu.c delay.c usart.c max7219.c
PROG = bootloader
+HOST=tick
+
CPROTO=cproto
V=1
BINARY = ${PROG}
@@ -44,6 +46,8 @@ protos: ${CSRCS}
${CPROTO} -E "${CPP} $(CPPFLAGS)" -e -v ${CSRCS} > prototypes.h.tmp
/bin/mv -f prototypes.h.tmp prototypes.h
+fl: ${PROG}.hex
+ ssh ${HOST} flash_stm32 < ${PROG}.hex
tidy:
astyle -A3 -s2 --attach-extern-c -L -c -w -Y -m0 -f -p -H -U -k3 -xj -xd ${CSRCS}