Page 1 of 1

hal_mfs compatible with page size > 8?

Posted: Mon Dec 20, 2021 11:01 pm
by faisal
Is hal_mfs compatible with page sizes > 8 bytes? Asking because I noticed H7 series has up to 32 byte page size.

Re: hal_mfs compatible with page size > 8?

Posted: Tue Dec 21, 2021 6:05 am
by Giovanni
Hi,

It should be fine, it ignores pages. The assumption is that you can rewrite pages, so no ECC flashes.

You can enforce an alignment using MFS_CFG_MEMORY_ALIGNMENT (it would be useful to use the underlying page_size implicitly) .

Giovanni