Also, Makefile now compiles html documentation and posts to the webserver.
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@152
12e2690d-a6be-4b82-a7b7-
67c4a43b65c8
i=start;
chars=list(file.read());
i=start;
chars=list(file.read());
while i<=stop:
bytes=range(0,chunksize);
for j in range(0,chunksize):
bytes[j]=ord(chars[i+j]);
while i<=stop:
bytes=range(0,chunksize);
for j in range(0,chunksize):
bytes[j]=ord(chars[i+j]);
- #client.SPIpokebyte(i,ord(chars[i]));
client.SPIpokebytes(i,bytes);
i+=chunksize;
client.SPIpokebytes(i,bytes);
i+=chunksize;
$(BSL) -e
clean:
rm -f $(app) $(app).hex $(libs) $(apps)
$(BSL) -e
clean:
rm -f $(app) $(app).hex $(libs) $(apps)
+docs:
+ doxygen
+pushdocs: docs
+ rsync --exclude .svn -ave ssh doc/html/* travisutk,goodfet@web.sourceforge.net:htdocs/docs/
+.FAKE: docs
spiflash_setstatus(0x02);
spiflash_wrten();
spiflash_setstatus(0x02);
spiflash_wrten();
- P5OUT&=~SS; //Drop !SS to begin transaction.
- spitrans8(0x02); //Poke command.
+ P5OUT&=~SS; //Drop !SS to begin transaction.
+ spitrans8(0x02); //Poke command.
//First three bytes are address, then data.
for(i=0;i<len;i++)
spitrans8(cmddata[i]);
//First three bytes are address, then data.
for(i=0;i<len;i++)
spitrans8(cmddata[i]);
- P5OUT|=SS; //Raise !SS to end transaction.
+ P5OUT|=SS; //Raise !SS to end transaction.
- while(spiflash_status()&0x01)//while busy
+ while(spiflash_status()&0x01)
~/Desktop/goodfet11.zip: *.sch *.brd *.G* *.TXT
rm -f *.GBO
~/Desktop/goodfet11.zip: *.sch *.brd *.G* *.TXT
rm -f *.GBO
- zip ~/Desktop/goodfet20.zip *.sch *.brd *.g* *.G* *.TXT BOM.txt
+ zip ~/Desktop/goodfet30.zip *.sch *.brd *.g* *.G* *.TXT BOM.txt