mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-26 07:03:08 +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
|
OBJS = antorcha.o hash.o
|
||||||
|
|
||||||
|
.PHONY: all update ping
|
||||||
|
|
||||||
all: $(MAIN)
|
all: $(MAIN)
|
||||||
|
|
||||||
$(MAIN): $(OBJS)
|
$(MAIN): $(OBJS)
|
||||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
||||||
|
|
||||||
|
update:
|
||||||
|
./antorcha -F ../fw/antorcha.bin
|
||||||
|
|
||||||
|
ping:
|
||||||
|
./antorcha -P
|
||||||
|
Loading…
Reference in New Issue
Block a user