up_progmem_erasesize for stm32f20xxf40xx_flash.c

This commit is contained in:
zouboan 2022-01-21 13:39:36 +08:00 committed by Xiang Xiao
parent d846bb0235
commit 0342272e5a
1 changed files with 5 additions and 0 deletions

View File

@ -249,6 +249,11 @@ size_t up_progmem_pagesize(size_t page)
}
}
size_t up_progmem_erasesize(size_t block)
{
return up_progmem_pagesize(block);
}
ssize_t up_progmem_getpage(size_t addr)
{
size_t page_end = 0;