]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/deluge/Blink/burn
Deluge T2 support for Epic. This includes support for at45db161d and some refactoring...
[tinyos-2.x.git] / apps / tests / deluge / Blink / burn
index 1e82f5d3b23859ce8d8440fff2b1bf7f5985b89d..e43e7b0c71bd8254f1a77441fa4137000257fca6 100755 (executable)
@@ -22,7 +22,7 @@ if [[ $# -ne 2 && $# -ne 3 ]]; then
   echo "Usage: $0 <port> [<comm_port>] <platform>"
   echo "  <port>       /dev/ttyUSB0"
   echo "  <comm_port>  /dev/ttyUSB1"
-  echo "  <platform>   micaz, telosb or iris"
+  echo "  <platform>   micaz, telosb, iris or epic"
   exit 2
 fi
 
@@ -35,7 +35,7 @@ if [ $# -eq 3 ]; then
  PLATFORM=$3
 fi
 
-if [ ${PLATFORM} != 'micaz' -a ${PLATFORM} != 'telosb' -a ${PLATFORM} != 'iris' ]; then
+if [ ${PLATFORM} != 'micaz' -a ${PLATFORM} != 'telosb' -a ${PLATFORM} != 'iris' -a ${PLATFORM} != 'epic' ]; then
   echo "\"${PLATFORM}\" is not a supported platform"
   exit 2
 fi
@@ -52,7 +52,7 @@ echo ============================ Compile and load Blink =======================
 if [ $PLATFORM == 'micaz' ]
 then
   CFLAGS=-DDELUGE_BASESTATION make ${PLATFORM} install mib510,${PPORT}
-elif [ $PLATFORM == 'telosb' ]
+elif [ $PLATFORM == 'telosb' -o $PLATFORM == 'epic' ]
 then
   CFLAGS=-DDELUGE_BASESTATION make ${PLATFORM} install bsl,${PPORT}
 elif [ $PLATFORM == 'iris' ]