# Name, Type, SubType, Offset, Size, Flags # # The app partition offset must be validated against each rebuilt image. The # module this firmware was first brought up on has a defective byte in its SPI # flash at 0xFADE7 (bits 5..7 # cannot be programmed). The app image is unchanged by where it is placed, so # moving the partition moves which image byte lands on that address - and # because a rebuild can shift the image again, keeping an unchecked offset # would break on the next build. flash.sh picks the lowest 64 KB-aligned offset # whose byte at that address the flash can actually store, writes it back here, # and rebuilds. # # If you move to healthy hardware, put `factory` back at 0x10000 and delete # BAD_FLASH_ADDR from scripts/flash.sh; nothing else depends on this. # The same module also showed bit 6 read back high at 0x10863; keep factory >=0x20000. nvs, data, nvs, 0x9000, 0x6000, phy_init, data, phy, 0xf000, 0x1000, factory, app, factory, 0x070000, 0x120000,