core: Use NVS APIs to get/set attributes with primitive datatype

Added the config option to all examples' sdkconfig.defaults
This commit is contained in:
Shubham Patil
2023-04-12 17:53:46 +05:30
parent b40bf8e398
commit ef2c3e4d8b
9 changed files with 247 additions and 0 deletions
+12
View File
@@ -99,4 +99,16 @@ menu "ESP Matter"
endchoice #ESP_MATTER_MEM_ALLOC_MODE
config ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE
bool "Use compact attribute storage"
default n
help
Attributes can be stored as primitive data type or blob in NVS.
This option lets you select which one to use.
If enabled, attributes are stored as primitive data types in NVS.
If disabled, then attributes are stored as blob which consumes more space in NVS.
This option is kept disabled by default to maintain the backward compatibility.
endmenu