arch/arm/src/stm32h7/stm32_flash.c: fix write and erase

Correct flash write and erase functions, they inherit some
broken code from other platforms. Also fix the confusion between
eraseblock(sector) and page sizes.

Signed-off-by: Jari Nippula <jari.nippula@intel.com>
This commit is contained in:
Jari Nippula
2019-12-10 09:21:03 +02:00
committed by patacongo
parent f9a886f8b7
commit de8f3b73d5
File diff suppressed because it is too large Load Diff