[Tinyos-commits] CVS: tinyos-1.x/tos/lib/VM/languages/motlle/doc motlle.txt, 1.4, 1.5 tinyscheme.txt, 1.5, 1.6

David Gay idgay at users.sourceforge.net
Tue Nov 22 15:54:58 PST 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12104/doc

Modified Files:
	motlle.txt tinyscheme.txt 
Log Message:
doc, example vmsf file update
fix preserve control ops


Index: motlle.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/doc/motlle.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** motlle.txt	1 Nov 2005 02:37:11 -0000	1.4
--- motlle.txt	22 Nov 2005 23:54:55 -0000	1.5
***************
*** 47,61 ****
  =======================
  
! Note 1: before building a motlle VM, make sure you have configured motlle
! by running `make' in motlle's main directory (see INSTALL file).
! 
! Note 2: motlle is currently only supported on mica2 and micaz motes.
! telosb support should be forthcoming in the next release.
  
! The examples directory contains a file called base.vmsf which defines
! a simple motlle VM. We reproduce it here with comments explaining its
! contents. Currently, motlle does not support the GUI-based VM builder,
! so to create your own VM you must create your own .vmsf file similar
! to base.vmsf (we suggest using base.vmsf as your starting point).
  
    # Declare the VM. You will want to specify a separate name (NAME=)
--- 47,60 ----
  =======================
  
! Note: to use motlle, you need to have installed the VM's tools. If you
! get a prepackaged distribution, this is done for you. Otherwise follow
! the directions in the INSTALL file at tinyos-1.x/tos/lib/VM.
  
! The tinyos-1.x/tos/lib/VM/languages/motlle/examples directory contains a
! file called motlle.vmsf which defines a simple motlle VM. We reproduce it
! here with comments explaining its contents. Currently, motlle does not
! support the GUI-based VM builder, so to create your own VM you must create
! your own .vmsf file similar to base.vmsf (we suggest using base.vmsf as
! your starting point).
  
    # Declare the VM. You will want to specify a separate name (NAME=)
***************
*** 90,95 ****
    <FUNCTION name="id">
    <CONTEXT NAME="Timer0">
-   <LOAD FILE="../../../sensorboards/micasb.vmsf">
    <LOAD FILE="../matelib/gen/commfns.vmsf">
  
  Once you have a .vmsf file, you build a motlle VM by executing the
--- 89,96 ----
    <FUNCTION name="id">
    <CONTEXT NAME="Timer0">
    <LOAD FILE="../matelib/gen/commfns.vmsf">
+   # This VM does not have any sensor board access. You would add a line like
+   #    <LOAD FILE="../../../sensorboards/micasb.vmsf">
+   # to get access to sensors.
  
  Once you have a .vmsf file, you build a motlle VM by executing the

Index: tinyscheme.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/doc/tinyscheme.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** tinyscheme.txt	22 Nov 2005 18:33:11 -0000	1.5
--- tinyscheme.txt	22 Nov 2005 23:54:55 -0000	1.6
***************
*** 45,59 ****
  ===========================
  
! Note 1: before building a TinyScheme VM, make sure you have configured motlle
! by running `make' in motlle's main directory (see INSTALL file).
! 
! Note 2: TinyScheme is currently only supported on mica2 and micaz motes.
! telosb support should be forthcoming in the next release.
  
! The examples directory contains a file called scheme.vmsf which defines
! a simple TinyScheme VM. We reproduce it here with comments explaining its
! contents. Currently, TinyScheme does not support the GUI-based VM builder,
! so to create your own VM you must create your own .vmsf file similar
! to scheme.vmsf (we suggest using scheme.vmsf as your starting point).
  
    # Declare the VM. You will want to specify a separate name (NAME=)
--- 45,58 ----
  ===========================
  
! Note: to use TinyScheme, you need to have installed the VM's tools. If you
! get a prepackaged distribution, this is done for you. Otherwise follow
! the directions in the INSTALL file at tinyos-1.x/tos/lib/VM.
  
! The tinyos-1.x/tos/lib/VM/languages/motlle/examples directory contains a
! file called scheme.vmsf which defines a simple TinyScheme VM. We reproduce
! it here with comments explaining its contents. Currently, TinyScheme does
! not support the GUI-based VM builder, so to create your own VM you must
! create your own .vmsf file similar to scheme.vmsf (we suggest using
! scheme.vmsf as your starting point).
  
    # Declare the VM. You will want to specify a separate name (NAME=)
***************
*** 89,94 ****
    <FUNCTION name="sleep">
    <CONTEXT NAME="Timer0">
-   <LOAD FILE="../../../sensorboards/micasb.vmsf">
    <LOAD FILE="../matelib/sgen/commfns.vmsf">
  
  Once you have a .vmsf file, you build a TinyScheme VM by executing the
--- 88,95 ----
    <FUNCTION name="sleep">
    <CONTEXT NAME="Timer0">
    <LOAD FILE="../matelib/sgen/commfns.vmsf">
+   # This VM does not have any sensor board access. You would add a line like
+   #    <LOAD FILE="../../../sensorboards/micasb.vmsf">
+   # to get access to sensors.
  
  Once you have a .vmsf file, you build a TinyScheme VM by executing the



More information about the Tinyos-commits mailing list