[Tinyos-2-commits] CVS: tinyos-2.x/doc/txt tep107.txt,1.7,1.8

Phil Levis scipio at users.sourceforge.net
Mon Feb 5 16:16:17 PST 2007


Update of /cvsroot/tinyos/tinyos-2.x/doc/txt
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv17574/txt

Modified Files:
	tep107.txt 
Log Message:
MORE clarification.


Index: tep107.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/txt/tep107.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tep107.txt	5 Feb 2007 19:59:12 -0000	1.7
--- tep107.txt	6 Feb 2007 00:16:15 -0000	1.8
***************
*** 243,247 ****
  through PlatformC meet some or all of the following criteria:
  
- 
  1. The initialization requires configuring hardware resources. This implies that the code is platform-specific. 
  
--- 243,246 ----
***************
*** 261,264 ****
--- 260,272 ----
  be set up before it is invoked.
  
+ Note that not all code which meets some of these criteria is wired through 
+ PlatformC. In particular, criterion 1 is typically necessary but not 
+ sufficient to require PlatformC. For example, a timer system that
+ configures overflow and capture settings or  a UART stack that sets the
+ baud rate and transmission options can often be wired to SoftwareInit.
+ They are encapsulated abstractions which will not be invoked or
+ started until the boot event, and only need to be configured if the 
+ system includes their functionality.
+ 
  Components whose initialization does not directly depend on hardware
  resources SHOULD wire to MainC.SoftwareInit. If a component requires a



More information about the Tinyos-2-commits mailing list