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:
Aurelien Jarno 2018-11-05 22:49:56 +01:00 committed by Anas Nashif
parent 523caef224
commit 2eeff9aab0
1 changed files with 1 additions and 1 deletions

View File

@ -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 {