[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/apps/MOBIUS/AnEx AnExM.nc, 1.2, 1.3

steve ayer ayer1 at users.sourceforge.net
Fri Jan 4 05:07:38 PST 2008


Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/apps/MOBIUS/AnEx
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv28709/AnEx

Modified Files:
	AnExM.nc 
Log Message:

Added USE_8MHZ_CRYSTAL so that normal MSP 4.15MHZ mode can be switched
in easily to configure the Bluetooth module. Then 8MHZ will work from
then on. 





Index: AnExM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/apps/MOBIUS/AnEx/AnExM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AnExM.nc	19 Dec 2007 15:35:49 -0000	1.2
--- AnExM.nc	4 Jan 2008 13:07:33 -0000	1.3
***************
*** 84,87 ****
--- 84,90 ----
    extern int sprintf(char *str, const char *format, ...) __attribute__ ((C));
  
+ /* comment out USE_8MHZ_CRYSTAL and load this code once so that the baudrate of the RovingNetworks 
+    Bluetooth module is setup(once only), then uncomment it and load for 8MHZ operation */
+ #define USE_8MHZ_CRYSTAL
  #define LOW_BATTERY_INDICATION
  
***************
*** 199,202 ****
--- 202,207 ----
    
    command result_t StdControl.init() {
+ 
+ #ifdef USE_8MHZ_CRYSTAL
      /* 
       * set up 8mhz clock to max out 
***************
*** 235,238 ****
--- 240,244 ----
       * end clock set up 
       */
+ #endif /* USE_8MHZ_CRYSTAL */
  
      /* let SER0_RTS be output, pin high enables the -/+5VDC regulator on AnEx Board */



More information about the Tinyos-contrib-commits mailing list