/* Determines the flash page size for the specific EFM32 derivative. This is the minimum erase size.  */
static blt_int32u FlashCalcPageSize(void)
/* Determines the flash page size for the specific EFM32 derivative. This is the minimum erase size.  */
static blt_int32u FlashCalcPageSize(void)
{
  blt_int8u family = *(blt_int8u *)0x0FE081FE;
  if ((family == 71) || (family == 73))
  {
    return 512;
  }
  else if (family == 72)
  {
    return 4096;
  }
  else
  {
    return 2048;
  }
}