The default espflash layout hands the whole 0x10000..0x400000 span to the app partition, so the storage range sat inside it. Shrink the app and reserve a dedicated storage partition above it.
8 lines
391 B
CSV
8 lines
391 B
CSV
# Name, Type, SubType, Offset, Size, Flags
|
|
nvs, data, nvs, 0x9000, 0x6000,
|
|
phy_init, data, phy, 0xf000, 0x1000,
|
|
factory, app, factory, 0x10000, 0x3D0000,
|
|
# Zigbee persistence: the stack writes this region directly, so it must not
|
|
# overlap the app partition. Keep in sync with FLASH_RANGE in zigbee_stack.rs.
|
|
storage, data, nvs, 0x3E0000, 0x20000,
|