[Tinyos-commits] CVS: tinyos-1.x/apps/TestDeluge/FormatFlash FormatM.nc, 1.1, 1.2

Jonathan Hui jwhui at users.sourceforge.net
Mon Feb 13 19:45:08 PST 2006


Update of /cvsroot/tinyos/tinyos-1.x/apps/TestDeluge/FormatFlash
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15338

Modified Files:
	FormatM.nc 
Log Message:

Only format seven volumes (the 8th one fails on the at45db due to a
boundary condition).



Index: FormatM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/apps/TestDeluge/FormatFlash/FormatM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FormatM.nc	22 Jul 2005 17:43:48 -0000	1.1
--- FormatM.nc	14 Feb 2006 03:45:06 -0000	1.2
***************
*** 72,76 ****
      result = rcombine(call FormatStorage.allocateFixed(0xDF, TOSBOOT_GOLDEN_IMG_ADDR, 
  						       VOLUME_SIZE), result);
!     for ( i = 0xd0; i < 0xd8; i++ )
        result = rcombine(call FormatStorage.allocate(i, VOLUME_SIZE), result);
      result = rcombine(call FormatStorage.commit(), result);
--- 72,76 ----
      result = rcombine(call FormatStorage.allocateFixed(0xDF, TOSBOOT_GOLDEN_IMG_ADDR, 
  						       VOLUME_SIZE), result);
!     for ( i = 0xd0; i < 0xd7; i++ )
        result = rcombine(call FormatStorage.allocate(i, VOLUME_SIZE), result);
      result = rcombine(call FormatStorage.commit(), result);



More information about the Tinyos-commits mailing list