mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-12-23 05:06:25 +02:00
tools/Makefile: new targets "update" and "ping" for firmware update and ping
This commit is contained in:
parent
2bac5e74a7
commit
3b7c3017fc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user