Skip to content
Commit 26be827a authored by Adam Serbinski's avatar Adam Serbinski Committed by Ioannis Glaropoulos
Browse files

flash: sam0: set write_block_size=1 when EMULATE_BYTE_PAGES is set



The sam0 has a page size of 64 bytes, making it incompatible with
the nvs driver that specifies a maximum write block size of
32 bytes. When CONFIG_SOC_FLASH_SAM0_EMULATE_BYTE_PAGES is set,
it should report a write block size of 1 byte, which is compatible
with nvs.

Signed-off-by: default avatarAdam Serbinski <aserbinski@gmail.com>
parent fc0e10d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment