Skip to content

Commit

Permalink
soc: riscv: telink_b9x, telink_w91: Auto calculation of SETTINGS_NVS_…
Browse files Browse the repository at this point in the history
…SECTOR_COUNT

- Remove sector count of NVS from metter kconfig

- Sector count of NVS now calculates on Zephyr side as the storage partition size divided by the sector size (4 KB)

Signed-off-by: Borys Nykytiuk <[email protected]>
  • Loading branch information
BorysNykytiuk committed Aug 12, 2024
1 parent e2ce403 commit 405cee5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions config/telink/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,7 @@ config NVS_LOOKUP_CACHE_SIZE
config SETTINGS_NVS_SECTOR_SIZE_MULT
default 1

# Set sector counter of NVS
config SETTINGS_NVS_SECTOR_COUNT
default 12

# Enable OpenThread

config NET_L2_OPENTHREAD
default y if !WIFI

Expand Down

0 comments on commit 405cee5

Please sign in to comment.