Skip to content

Commit

Permalink
[nxp noup][sdk][k32w1] Put define CONFIG_NVS_STATS under chip_key_sto…
Browse files Browse the repository at this point in the history
…rage_wear_stats

Signed-off-by: Andrei Menzopol <[email protected]>
  • Loading branch information
andrei-menzopol committed May 8, 2024
1 parent f5096a8 commit ebb2234
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion third_party/nxp/k32w1_sdk/middleware_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,14 @@ middleware_sdk = {
"CONFIG_NVS_LOOKUP_CACHE_SIZE=32",
"CONFIG_SETTINGS_DYNAMIC_HANDLERS=1",
"CONFIG_SETTINGS_RUNTIME=1",
"CONFIG_NVS_STATS=1"
]

if (chip_key_storage_wear_stats) {
middleware_defines += [
"CONFIG_NVS_STATS=1"
]
}

# Temporary fix for NVS power loss resilience issue
middleware_defines += [ "NO_FLASH_CONTROLLER_BLANK_CHECK=1" ]
}
Expand Down

0 comments on commit ebb2234

Please sign in to comment.