Skip to content
Snippets Groups Projects
Commit 055abd0b authored by Spencer Oliver's avatar Spencer Oliver Committed by Freddie Chopin
Browse files

flash: handle zero when reading stm32 flash size reg


Some variants read 0 for the flash size register, rather than
failing lets assume we have max flash fitted.

Change-Id: Ie1fb4e73606f49268a6fd5921c3aef75bc4790d3
Signed-off-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/744


Tested-by: jenkins
Reviewed-by: default avatarAndreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent 531fbf0e
Branches
Tags
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