Code: Select all
const MFSConfig mfscfg1 = {
.flashp = (BaseFlash *) &EFLD1,
.erased = 0xFFFFFFFFU,
.bank_size = 1024U,
.bank0_start = 64U,
.bank0_sectors = 32U,
.bank1_start = (64U + 32U),
.bank1_sectors = 32U,
};
Maybe I misunderstand. To me this would mean on a 128k device that the bank would start at 64k and I should end up with 32k usable storage.
If I try to write more then 1024 bytes I get mem full error.
Are record sizes limited to a single sector?