CVS: python/msp430 memory.py,1.3,1.4
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/python/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15916/python/msp430
Modified Files:
memory.py
Log Message:
ensure correct line ending for ihex (open files to write to as binary "wb")
Index: memory.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430/memory.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- memory.py 30 Dec 2005 01:49:49 -0000 1.3
+++ memory.py 28 Jan 2006 15:35:42 -0000 1.4
@@ -164,7 +164,7 @@
for b in [ord(x) for x in buffer]:
out.append('%02X' % (b&255) )
sum += b&255
- out.append('%02X\n' %( (-sum)&255))
+ out.append('%02X\r\n' %( (-sum)&255))
return ''.join(out)
def saveTIText(self, filelike):
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642