up_progmem_erasesize for stm32f20xxf40xx_flash.c
This commit is contained in:
parent
d846bb0235
commit
0342272e5a
|
@ -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)
|
ssize_t up_progmem_getpage(size_t addr)
|
||||||
{
|
{
|
||||||
size_t page_end = 0;
|
size_t page_end = 0;
|
||||||
|
|
Loading…
Reference in New Issue