Fix OSPIFBlockDevice program size
From the datasheet of the only OctaSPI flash we currently support
(http://www.mt-system.ru/sites/default/files/docs/Macronix/mx25lm51245g_3v_512mb_v0.01.pdf):

After program/erase command is issued, auto program/erase
algorithms which program/erase and verify the specified page
or sector/block locations will be executed. Program command is
executed on byte basis, or page (256 bytes) basis, or word basis.
Erase command is executed on sector (4K-byte), or block (64K-byte),
or whole chip basis.

So the minimum write size is one byte.
ls
1 parent 9f3ada3 commit 4a47709cb074f8a5d180dc34079a08290b1a5b91
@Lingkai Dong Lingkai Dong authored on 6 Nov 2020
Showing 1 changed file
View
storage/blockdevice/COMPONENT_OSPIF/mbed_lib.json