[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot/stm25p STM25PM.nc, 1.2, 1.3

Jonathan Hui jwhui at users.sourceforge.net
Tue Jul 12 13:09:18 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/stm25p
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3138/TOSBoot/stm25p

Modified Files:
	STM25PM.nc 
Log Message:
- Reduced code size of TOSBoot yet again by reducing number of
internal flash command calls. TOSBoot is currently at 2002 bytes. The
starting address for the app is now moved to 0x4800 leaving 46KB for
the application.



Index: STM25PM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/stm25p/STM25PM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** STM25PM.nc	17 May 2005 20:48:24 -0000	1.2
--- STM25PM.nc	12 Jul 2005 20:09:13 -0000	1.3
***************
*** 1,8 ****
  // $Id$
  
! /*									tab:4
!  *
!  *
!  * "Copyright (c) 2000-2004 The Regents of the University  of California.  
   * All rights reserved.
   *
--- 1,6 ----
  // $Id$
  
! /*									tab:2
!  * "Copyright (c) 2000-2005 The Regents of the University  of California.  
   * All rights reserved.
   *
***************
*** 22,26 ****
   * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
   * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
-  *
   */
  
--- 20,23 ----
***************
*** 44,47 ****
--- 41,45 ----
      TOSH_MAKE_FLASH_HOLD_OUTPUT();
      TOSH_MAKE_FLASH_CS_OUTPUT();
+     TOSH_SET_FLASH_HOLD_PIN();
      call USARTControl.setModeSPI();
      return SUCCESS;
***************
*** 55,59 ****
  
      TOSH_CLR_FLASH_CS_PIN();
-     TOSH_SET_FLASH_HOLD_PIN();
      
      call USARTControl.tx(0xb9);
--- 53,56 ----
***************
*** 73,77 ****
  
      TOSH_CLR_FLASH_CS_PIN();
-     TOSH_SET_FLASH_HOLD_PIN();
  
      // command byte + 3 dummy bytes + signature
--- 70,73 ----



More information about the Tinyos-beta-commits mailing list