Skip to content

Commit

Permalink
[Telink] Move SETTINGS_NVS_SECTOR_COUNT to common config
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiiSalamakha committed Dec 1, 2023
1 parent cde45fb commit 9248803
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions config/telink/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ config NVS_LOOKUP_CACHE_SIZE
config SETTINGS_NVS_SECTOR_SIZE_MULT
default 1

# Set sector counter of NVS
config SETTINGS_NVS_SECTOR_COUNT
default 10

# Enable OpenThread

config NET_L2_OPENTHREAD
Expand Down
3 changes: 0 additions & 3 deletions examples/lock-app/telink/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y
# Disable CHIP shell support
CONFIG_CHIP_LIB_SHELL=n

# Set NVM sector
CONFIG_SETTINGS_NVS_SECTOR_COUNT=10

# Disable factory data support
CONFIG_CHIP_FACTORY_DATA=n
CONFIG_CHIP_FACTORY_DATA_BUILD=n
Expand Down

0 comments on commit 9248803

Please sign in to comment.