subsys: nvs: increase NVS_BLOCK_SIZE
The Atmel SAM E70 flash has a 16-byte write block size. Increase the NVS_BLOCK_SIZE a bit and take some margin. This might also improve the performances by reducing the calls to the flash driver when moving data during garbage collection. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
523caef224
commit
2eeff9aab0
|
@ -26,7 +26,7 @@ extern "C" {
|
|||
*/
|
||||
#define NVS_STATUS_NOSPACE 1
|
||||
|
||||
#define NVS_BLOCK_SIZE 8
|
||||
#define NVS_BLOCK_SIZE 32
|
||||
|
||||
/* Allocation Table Entry */
|
||||
struct nvs_ate {
|
||||
|
|
Loading…
Reference in New Issue