Skip to content
Snippets Groups Projects
Commit 0900d5a3 authored by Andreas Fritiofson's avatar Andreas Fritiofson Committed by Freddie Chopin
Browse files

flash: don't write to FLASH_CR in stm32x_write_block


It's unnecessary and prevents reusing this function to fix
option byte writes.

Also try to disable flash writing after an error.

Change-Id: Ib5a7b768a1523e6b8da1555126fef4c1e60ab083
Signed-off-by: default avatarSzymon Modzelewski <szmodzelewski@gmail.com>
Signed-off-by: default avatarAndreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/479


Tested-by: jenkins
Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
parent 8cf671ea
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment