mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user