From e16061071138309c6bc55b93c493dff65970092a Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Mon, 3 Mar 2008 20:24:23 +0000 Subject: [PATCH] Added slip target for setting up a SLIP link --- tools/sky/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/sky/Makefile b/tools/sky/Makefile index 8eb9ec3e2..1e22f0e13 100644 --- a/tools/sky/Makefile +++ b/tools/sky/Makefile @@ -63,3 +63,11 @@ sizeplot: msp430-size $(OBJECTDIR)/*.o | $(CONTIKI)/tools/sky/check-size > size-data gnuplot $(CONTIKI)/tools/sky/plot-size gv size.pdf + +slip: +ifdef INTERFACE + $(CONTIKI)/tools/wpcapslip/wpcapslip -s /dev/com$(firstword $(CMOTES)) $(INTERFACE) 172.16.0.0 255.255.0.0 +else + @echo "Usage: \"$(MAKE) $@ INTERFACE=\"" + @echo "Use the \"ipconfig\" command to find out the IP addresses of the local interfaces" +endif