[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/tos/platform/shimmer hardware.h, 1.8, 1.9

steve ayer ayer1 at users.sourceforge.net
Tue Aug 21 11:00:12 PDT 2007


Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/platform/shimmer
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11163

Modified Files:
	hardware.h 
Log Message:

added definitions for dummy power pins in support of sd and
rovingnetworks addition of powerdown pins on other platform(s).


Index: hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/platform/shimmer/hardware.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** hardware.h	16 Jan 2007 20:02:48 -0000	1.8
--- hardware.h	21 Aug 2007 18:00:09 -0000	1.9
***************
*** 59,62 ****
--- 59,64 ----
  TOSH_ASSIGN_PIN(RADIO_1V8_EN,    4, 7);
  TOSH_ASSIGN_PIN(RADIO_VREF,      5, 6);    // unused in shimmer
+ TOSH_ASSIGN_PIN(SW_BT_PWR_N,     5, 6);    //   "    "    "
+ TOSH_ASSIGN_PIN(SW_SD_PWR_N,    5, 6);    //   "    "    "
  
  TOSH_ASSIGN_PIN(RADIO_SFD,       5, 0);
***************
*** 95,98 ****
--- 97,106 ----
  TOSH_ASSIGN_PIN(DAC1_AN, 6, 7);
  
+ // OSRAM OLED Calgary
+ TOSH_ASSIGN_PIN(LCD_RESET_L, 6, 1);   //  aka adc_1
+ TOSH_ASSIGN_PIN(LCD_CS_N,  6, 2);   //  aka adc_2
+ TOSH_ASSIGN_PIN(LCD_REG_ENABLE,  6, 6);   //  aka adc_2
+ TOSH_ASSIGN_PIN(LCD_CMD_L,   1, 1);   //  aka bsl_tx (prog_out)
+ 
  
  // UART pins
***************
*** 150,153 ****
--- 158,162 ----
    TOSH_SET_RADIO_CSN_PIN();
  
+   // should be reset_n
    TOSH_MAKE_RADIO_RESET_OUTPUT();
    TOSH_SEL_RADIO_RESET_IOFUNC();
***************
*** 201,206 ****
  
  
- 
- 
    // ADC lines
    TOSH_MAKE_ADC_0_OUTPUT();
--- 210,213 ----
***************
*** 222,226 ****
    TOSH_SEL_ADC_ACCELY_MODFUNC();
    TOSH_SEL_ADC_ACCELX_MODFUNC();
- 
    
    TOSH_SEL_ROSC_IOFUNC();
--- 229,232 ----
***************
*** 251,254 ****
--- 257,263 ----
    TOSH_MAKE_ACCEL_SLEEP_N_OUTPUT();
  
+   TOSH_CLR_LCD_REG_ENABLE_PIN();
+ 
+   TOSH_SET_LCD_RESET_L_PIN();
    /*
     * unless the accel_sel0 pin is cleared, 



More information about the Tinyos-contrib-commits mailing list