[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/handhelds/tools/src/mspgcc-pybsl/serial
serialposix.py, 1.1, 1.2
steve ayer
ayer1 at users.sourceforge.net
Thu Jul 26 05:00:56 PDT 2007
Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tools/src/mspgcc-pybsl/serial
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32716
Modified Files:
serialposix.py
Log Message:
non-ascii characters in comments along the platform ident block (lines
55-67) cause the interpreter to choke. go figure. removed.
apologies to anyone who didn't find this on their own for failing to
check this in, or update it to pyserial v2.2.
Index: serialposix.py
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tools/src/mspgcc-pybsl/serial/serialposix.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** serialposix.py 3 Aug 2006 19:16:49 -0000 1.1
--- serialposix.py 26 Jul 2007 12:00:54 -0000 1.2
***************
*** 53,57 ****
return '/dev/cuaa%d' % port
! elif plat[:4] == 'irix': #IRIX® (not tested)
def device(port):
return '/dev/ttyf%d' % port
--- 53,57 ----
return '/dev/cuaa%d' % port
! elif plat[:4] == 'irix': #IRIX (not tested)
def device(port):
return '/dev/ttyf%d' % port
***************
*** 61,69 ****
return '/dev/tty%dp0' % (port+1)
! elif plat[:5] == 'sunos': #Solaris®/SunOS® (confirmed)
def device(port):
return '/dev/tty%c' % (ord('a')+port)
! elif plat[:3] == 'dgux': #Digital UNIX® (not tested)
def device(port):
return '/dev/tty0%d' % (port+1)
--- 61,69 ----
return '/dev/tty%dp0' % (port+1)
! elif plat[:5] == 'sunos': #Solaris/SunOS (confirmed)
def device(port):
return '/dev/tty%c' % (ord('a')+port)
! elif plat[:3] == 'dgux': #Digital UNIX (not tested)
def device(port):
return '/dev/tty0%d' % (port+1)
More information about the Tinyos-contrib-commits
mailing list