1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-22 15:19:40 +02:00

tools/Makefile: new targets "update" and "ping" for firmware update and ping

This commit is contained in:
Werner Almesberger 2012-06-20 18:43:26 -03:00
parent 2bac5e74a7
commit 3b7c3017fc

View File

@ -20,7 +20,15 @@ LDLIBS = -L../../ben-wpan/tools/lib -latrf -lusb
OBJS = antorcha.o hash.o
.PHONY: all update ping
all: $(MAIN)
$(MAIN): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
update:
./antorcha -F ../fw/antorcha.bin
ping:
./antorcha -P