/* The flash memory in stm32f2 series has bank 1 only with 12 sectors, they are split as 4 sectors of 16 Kbytes, 1 sector of 64 Kbytes, and 7 sectors of 128 Kbytes.  */
void flash_stm32_page_layout(const struct device *dev, const struct flash_pages_layout **layout, size_t *layout_size)
/* The flash memory in stm32f2 series has bank 1 only with 12 sectors, they are split as 4 sectors of 16 Kbytes, 1 sector of 64 Kbytes, and 7 sectors of 128 Kbytes.  */
void flash_stm32_page_layout(const struct device *dev, const struct flash_pages_layout **layout, size_t *layout_size)
{
	ARG_UNUSED(dev);
	*layout = stm32f2_flash_layout;
	*layout_size = ARRAY_SIZE(stm32f2_flash_layout);
}