stm32: place flash writing functions in RAM
stm32: place flash writing functions in RAM

This avoids blocking access to flash while flash memory writing is in progress.

paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck