fix(flash): give zigbee persistence its own partition
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.
This commit is contained in:
1 parent
74b3a4a06b
commit
b0e3b6f4a0
3 files changed
+12
-5
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# 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,
|
||||
|
Reference in new issue
Block a user