Hi,
Im starting to use the SPI filesystem, and getting compiling errors. I made changes as discussed in the 'ufilesystem in SPI Flash' and got the following errors:
Error : macro 'FILE_GRANULARITY' redefined
(included from:
types.h:76
config.h:414
M5223X.c:65)
app_hw_m5223x.h line 68 #define FILE_GRANULARITY (1024) // File made up of 1k byte FLASH blocks
Error : undefined identifier 'M95XXX_WRITE_ENABLE'
M5223X.c line 2310 static const unsigned char ucWriteEnable[] = {M95XXX_WRITE_ENABLE, TERMINATE_WRITE}; // enable write
Error : function has no prototype
M5223X.c line 2318 fnWaitWriteComplete(); // wait until free to write
Error : function has no prototype
M5223X.c line 2324 fnWriteBytesEEPROM(ptrEEPROM, 0, EEPROM_PAGE_SIZE); // delete a page
And quite a few more, but didnt list them here.
Neil