CVS: python msp430-bsl.py,1.6,1.7

Chris Liechti <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26986/python

Modified Files:
	msp430-bsl.py 
Log Message:
- re-implemented --slow cmd line option
- the old internal slowmode is now default and slowmode uses an even slower timing for the BSL invocation

Index: msp430-bsl.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430-bsl.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- msp430-bsl.py	6 Nov 2004 00:15:48 -0000	1.6
+++ msp430-bsl.py	12 Nov 2004 22:27:39 -0000	1.7
@@ -154,7 +154,7 @@
              "upload=", "download=", "size=", "hex", "bin", "ihex",
              "intelhex", "titext", "notimeout", "bsl=", "speed=",
              "bslversion", "f1x", "f4x", "invert-reset", "invert-test",
-             "no-BSL-download", "force-BSL-download", "erase="]
+             "no-BSL-download", "force-BSL-download", "erase=", "slow"]
         )
     except getopt.GetoptError:
         # print help information and exit:
@@ -315,6 +315,8 @@
             mayuseBSL = 0
         elif o in ("--force-BSL-download", ):
             forceBSL = 1
+        elif o in ("--slow", ):
+            bsl.slowmode = 1
 
     if len(args) == 0:
         sys.stderr.write("Use -h for help\n")



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.