2009-01-15 23:11:58 +01:00
|
|
|
CONTIKI_PROJECT = jcreate-shell
|
|
|
|
all: $(CONTIKI_PROJECT)
|
|
|
|
|
|
|
|
APPS = serial-shell
|
|
|
|
CONTIKI = ../..
|
|
|
|
|
|
|
|
jcreate-blink:
|
|
|
|
(echo; sleep 4; echo "~K"; sleep 4; \
|
2009-06-18 11:01:16 +02:00
|
|
|
echo "repeat 0 0 { acc | leds 1 } &"; sleep 4) | make login
|
2009-01-15 23:11:58 +01:00
|
|
|
|
|
|
|
%.shell-upload: %.ce
|
|
|
|
(echo; sleep 4; echo "~K"; sleep 4; \
|
|
|
|
echo "dec64 | write $*.ce | null"; sleep 4; \
|
|
|
|
../../tools/base64-encode < $<; sleep 4; \
|
|
|
|
echo "~K"; sleep 4; \
|
|
|
|
echo "read $*.ce | size"; sleep 4) | make login
|
|
|
|
|
|
|
|
%.netsend: %.shell-upload
|
|
|
|
(echo; sleep 4; echo "~K"; sleep 4; \
|
|
|
|
echo "netcmd { recvnetfile | write $*.ce | size | send } "; sleep 4; \
|
|
|
|
echo "netfile $*.ce"; sleep 4;\
|
|
|
|
echo "collect | binprint"; sleep 40) | make login
|
|
|
|
|
|
|
|
include $(CONTIKI)/Makefile.include
|