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 Jukka Laitinen
parent 1007c98dcd
commit 328374f465
File diff suppressed because it is too large Load Diff