SPIFlash size warning.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 6 Feb 2011 02:33:21 +0000 (02:33 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 6 Feb 2011 02:33:21 +0000 (02:33 +0000)
Will correct that in the AM.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@893 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/goodfet.spiflash

index 21a1efb..dcdc68b 100755 (executable)
@@ -140,6 +140,7 @@ if(sys.argv[1]=="flash"):
         stop=int(sys.argv[4],16);
     
     print "Flashing code from %06x to %06x with %s." % (start,stop,f);
+    print "FIXME This might fail if the file is of an odd size.";
     file = open(f, mode='rb')
 
     i=start;