Home
last modified time | relevance | path

Searched refs:stm32h7_flash_layout (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.6.0/drivers/flash/
Dflash_stm32h7x.c610 static struct flash_pages_layout stm32h7_flash_layout[3]; in flash_stm32_page_layout() local
613 if (stm32h7_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
615 stm32h7_flash_layout[0].pages_count = SECTOR_PER_BANK; in flash_stm32_page_layout()
616 stm32h7_flash_layout[0].pages_size = FLASH_SECTOR_SIZE; in flash_stm32_page_layout()
621 stm32h7_flash_layout[1].pages_count = 1; in flash_stm32_page_layout()
622 stm32h7_flash_layout[1].pages_size = BANK2_OFFSET in flash_stm32_page_layout()
625 stm32h7_flash_layout[2].pages_count = SECTOR_PER_BANK; in flash_stm32_page_layout()
626 stm32h7_flash_layout[2].pages_size = FLASH_SECTOR_SIZE; in flash_stm32_page_layout()
628 *layout_size = ARRAY_SIZE(stm32h7_flash_layout); in flash_stm32_page_layout()
630 if (stm32h7_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
[all …]