[Tinyos-commits] CVS: tinyos-1.x/tos/platform/pc nido.h,1.17,1.18

Jonathan Hui jwhui at users.sourceforge.net
Sun Jul 10 22:46:00 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/platform/pc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32063

Modified Files:
	nido.h 
Log Message:
- Allow DEFAULT_EEPROM_SIZE to be specified a compile time.



Index: nido.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/platform/pc/nido.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** nido.h	20 Jul 2004 06:04:03 -0000	1.17
--- nido.h	11 Jul 2005 05:45:57 -0000	1.18
***************
*** 62,68 ****
  enum {
    TOSNODES = TOSH_NUM_NODES,
-   DEFAULT_EEPROM_SIZE = (512 * 1024)  // 512 KB
  };
  
  enum {
    TOSSIM_RADIO_MODEL_SIMPLE = 0,
--- 62,71 ----
  enum {
    TOSNODES = TOSH_NUM_NODES,
  };
  
+ #ifndef DEFAULT_EEPROM_SIZE
+ #define DEFAULT_EEPROM_SIZE (512 * 1024)  // 512 KB
+ #endif
+ 
  enum {
    TOSSIM_RADIO_MODEL_SIMPLE = 0,



More information about the Tinyos-commits mailing list