# Name,   Type, SubType, Offset,   Size,     Flags
# nvs/phy_init/ota_0 keep the exact offsets of the pre-OTA layout (nvs
# 0x9000, phy 0xf000, app 0x10000 -- ota_0 replaces the old "factory"
# slot in place), so migrating an existing device to this table via a
# one-time USB `idf.py flash` preserves its provisioning/NVS state.
# otadata/ota_1 land in previously-unused flash. App slots must be 64KB
# (0x10000) aligned, hence ota_1 at 0x220000 rather than 0x212000.
nvs,      data, nvs,     0x9000,   0x6000,
phy_init, data, phy,     0xf000,   0x1000,
ota_0,    app,  ota_0,   0x10000,  0x200000,
otadata,  data, ota,     0x210000, 0x2000,
ota_1,    app,  ota_1,   0x220000, 0x200000,
