This uses a scratch flash sector to save data before writing a full sector.
Also separate out the ASF config headers that are shared across all boards.