# Name, Type, SubType, Offset, Size, Flags # # The app partition offset here is chosen by scripts/flash.sh, not by hand. It # sits well above the usual 0x10000 because 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, re-deriving the offset by hand # 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. nvs, data, nvs, 0x9000, 0x6000, phy_init, data, phy, 0xf000, 0x1000, factory, app, factory, 0x060000, 0x120000,