James Cotton
0f5fe54329
FlashFS: Should clear the 0 sector when wiping flash chip, not 10 bytes in.
2011-06-11 22:31:51 -05:00
James Cotton
0a56129b35
OP-452: Made the CRC calculation run in chunks to balance efficiency and ram
...
usage, because Stac caught me being lazy :)
2011-06-05 09:05:59 -05:00
James Cotton
599483d5ac
OP-152: Save CRC for object and header into flash and only load object if CRC
...
matches. Read the flash first bytewise to compute CRC instead of buffering
which is more RAM efficient but very inefficient as it sets up many one byte
SPI transfers.
Also incremented the filesystem magic flag to trigger an automatic flash wipe
on this upgrade.
2011-06-04 18:36:38 -05:00
James Cotton
feb9c02780
OP-216: Small typo in flashfs code (thanks Zippe)
2011-05-15 00:18:15 -05:00
James Cotton
d312e876c4
OP-216: Some small bugs where things were stored
2011-05-14 16:11:30 -05:00
James Cotton
c689d97961
OP-216: Improved error handling
2011-05-14 14:28:11 -05:00
James Cotton
0438f5cf66
OP-216: Check for existence of file table in flash and wipe sector and create
...
it if missing.
2011-05-14 14:23:23 -05:00
James Cotton
7e6e7bb391
OP-499 OP-216: Simple list of objects saved in flash to prevent objId
...
collision. Note, this will wipe ALL your settings.
2011-05-14 14:05:02 -05:00