On e.g. samd5x FLASHPAGE_SIZE is 8k (4k on kinetis, stm32w, nrf52) so placing this struct on the stack will almost always cause a stack overflow.
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>