Wondering why my app is allowed to be bigger than the 128 kB that is stipulated in the memory map in the Electron datasheet?
I'm using po-util to compile locally. @nrobinson2000 Is this just a feature of po-util? Does it have implications for the other two 128 kB memory sectors (i.e. Factory backup, OTA backup sectors) ?
Is this why I can't compile using Particle-CLI?
Could this be the reason that I occasionally see a stack overflow or a panic reset when OTA flashing a device?
As per the responses below, it would appear that the app size numbers that po-util outputs are a bit off.
For example, an "empty app" (i.e. main.cpp only has empty setup() and loop() functions ) compiles to about 3.25 kB (3332 bytes to be exact) using po-util and spark firmware branch release/v0.6.1 (see the screenshot, below)
po-util's upper limit of 125,000 bytes is supposed to discount this empty app overhead, but it does not.
So, the maximum app size using po-util is actually 131,072 bytes (128 kB), which would read 104.86% flash used.