diff --git a/arch/arm/src/stm32/stm32f20xxf40xx_flash.c b/arch/arm/src/stm32/stm32f20xxf40xx_flash.c index 44352e3d2c..e9476850c2 100644 --- a/arch/arm/src/stm32/stm32f20xxf40xx_flash.c +++ b/arch/arm/src/stm32/stm32f20xxf40xx_flash.c @@ -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;