From 9550fad2f3668736c021c64bcea2919560acce76 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Mon, 11 Feb 2008 10:43:02 +0000 Subject: [PATCH] Added sizeplot target that plots and shows the size of the code --- tools/sky/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/sky/Makefile b/tools/sky/Makefile index 1b4331742..8eb9ec3e2 100644 --- a/tools/sky/Makefile +++ b/tools/sky/Makefile @@ -58,3 +58,8 @@ sky-reset-sequence: $(foreach PORT, $(MOTES), $(PORT).sky-r) %.sky-r: $(BSL) --telosb -c $(basename $@) -r + +sizeplot: + msp430-size $(OBJECTDIR)/*.o | $(CONTIKI)/tools/sky/check-size > size-data + gnuplot $(CONTIKI)/tools/sky/plot-size + gv size.pdf