[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/pc HPLSTM25PC.nc, 1.2, 1.3

Jonathan Hui jwhui at users.sourceforge.net
Tue May 17 13:55:51 PDT 2005


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

Modified Files:
	HPLSTM25PC.nc 
Log Message:
- GoldenImage now computes CRCs when cloning to flash so TOSBoot can
  verify it.
- Removed spinning task loops.
- Reduced code size by about 1K.
- With improvements in storage stack, GoldenImage compiles to 20894
  bytes under nesc-1.2alpha7.
- Overhead of including Deluge in SurgeTelos is 7746 bytes, which
  includes the storage stack.



Index: HPLSTM25PC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/pc/HPLSTM25PC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** HPLSTM25PC.nc	12 Jan 2005 01:36:16 -0000	1.2
--- HPLSTM25PC.nc	17 May 2005 20:55:48 -0000	1.3
***************
*** 50,54 ****
    async command result_t HPLSTM25P.releaseBus() { return SUCCESS; }
  
!   async command result_t HPLSTM25P.beginCmd(uint8_t cmd) {
      return SUCCESS;
    }
--- 50,54 ----
    async command result_t HPLSTM25P.releaseBus() { return SUCCESS; }
  
!   async command result_t HPLSTM25P.beginCmd() {
      return SUCCESS;
    }
***************
*** 66,81 ****
    }
  
!   async command result_t HPLSTM25P.txBuf(uint8_t* buf, stm25p_addr_t len) {
!     return SUCCESS;
!   }
! 
!   async command result_t HPLSTM25P.rxBuf(uint8_t* buf, stm25p_addr_t len) {
!     stm25p_addr_t i;
!     for ( i = 0; i < len; i++ )
!       buf[i] = 0xff;
      return SUCCESS;
    }
  
!   async command result_t HPLSTM25P.computeCrc(uint16_t* crcResult, stm25p_addr_t len) {
      return SUCCESS;
    }
--- 66,74 ----
    }
  
!   async command result_t HPLSTM25P.txBuf(void* buf, stm25p_addr_t len) {
      return SUCCESS;
    }
  
!   async command result_t HPLSTM25P.rxBuf(void* buf, stm25p_addr_t len, uint16_t* crcResult) {
      return SUCCESS;
    }



More information about the Tinyos-beta-commits mailing list