]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/deluge/Blink/burn-net
added mulle support
[tinyos-2.x.git] / apps / tests / deluge / Blink / burn-net
index 8c0bc609a041a353bfcc6d1640f2a0c47642cfc1..544c06ab544be7e8d196f9a4ed21b5fc59e2e73c 100755 (executable)
@@ -15,7 +15,7 @@ fi
 
 if [ $# -ne 2 ]; then
   echo "Usage: $0 <platform> <number of motes>"
-  echo "  <platform>         micaz, telosb or iris"
+  echo "  <platform>         micaz, telosb or iris or mulle"
   echo "  <number of motes>  how many motes will be used in the test"
   exit 2
 fi
@@ -26,6 +26,8 @@ NO_MOTES=$2
 if [ ${PLATFORM} != 'micaz' -a \
      ${PLATFORM} != 'telosb' -a \
      ${PLATFORM} != 'iris' \
+     ${PLATFORM} != 'iris' -a \
+     ${PLATFORM} != 'mulle' -a \
      ${PLATFORM} != 'epic' ]
 then
   echo "\"${PLAFTORM}\" is not a supported platform"
@@ -44,7 +46,7 @@ ID=0
 
 function burn_one() {
     ID=`expr $ID + 1`
-    echo -n ">>> Please plug mote $ID and type the programming sorce (bsl,PORT | mib510,PORT | eprb,PORT): "
+    echo -n ">>> Please plug mote $ID and type the programming sorce (bsl,PORT | mib510,PORT | eprb,HOST): "
     read PORT
 
     CFLAGS=$1 make ${PLATFORM} install,$ID ${PORT}
@@ -98,8 +100,11 @@ echo '         | After a mote gets the whole image he will reboot and       |'
 echo '         | reprogram itself. If the new image contains Deluge he will |'
 echo '         | continue participating in dissemination.                   |'
 echo '         |                                                            |'
-echo '         | In the next step the motes will be rebooted to allow the   |'
-echo '         | reprogramming to take place.                               |'
+echo '         | In the next step all the motes except the basestation will |'
+echo '         | be rebooted to allow the reprogramming to take place.      |'
+echo '         |                                                            |'
+echo '         | After reboot the motes should start blinking the 3rd led   |'
+echo '         | (blue/yellow).                                             |'
 echo '         |                                                            |'
 echo '         +------------------------------------------------------------+'