Revised the flash memory allocation for reserve and extend the nvs storage partition

Hi,

I would like to use nvs to leave a space for store usage data.

Below is the current memory map of my program, however, the nvs storage was be lmited at 24kB.

However, I would like to modify the memory setting as below:

# Address:     Size:       Name:
# 0x00000000   0x0000D800  mcuboot
# 0x0000D800   0x00000800  mcuboot_pad
# 0x0000E000   0x0009A000  app
# 0x000A8000   0x0009A000  mcuboot_secondary
# 0x00142000   0x00026000  storage_partition (150 KB)
# 0x00168000   0x00002000  settings_storage
# (Remaining 8 KB left unassigned, optional)

mcuboot:
  address: 0x00000000
  size: 0xD800

mcuboot_pad:
  address: 0x0000D800
  size: 0x800

app:
  address: 0x0000E000
  size: 0x9A000  # 624 KB

mcuboot_secondary:
  address: 0x000A8000
  size: 0x9A000  # 624 KB

storage_partition: #nvs storage
  address: 0x00142000
  size: 0x26000  # 150 KB

settings_storage:
  address: 0x00168000
  size: 0x2000  # 8 KB

Is that possible for you to guide me how to do the modification for this set up? And which file I should add or modified for it?

Thanks

Parents Reply Children
No Data
Related