From 3e923ec1fc69671fb5d876b0d88a3d9b018f5339 Mon Sep 17 00:00:00 2001 From: travisutk Date: Sun, 6 Feb 2011 02:33:21 +0000 Subject: [PATCH] SPIFlash size warning. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/client/goodfet.spiflash b/client/goodfet.spiflash index 21a1efb..dcdc68b 100755 --- a/client/goodfet.spiflash +++ b/client/goodfet.spiflash @@ -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; -- 2.20.1