Files
sw_openocd/src
Andreas Fritiofson 9a8edbfa8b flash: reduce code duplication in stm32 flash probe
Remove a lot of the repetitive code in stm32f1x flash probe by converting
the large if-selector to a switch, moving the common checks outside it and
concentrating the failure handling to a single point.

Do the same with stm32f2x and stm32lx for consistency.

Change-Id: Ic0ecfb1533c49f5d2108cda5fd20c8372d7c71ef
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/746
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2012-07-30 06:33:58 +00:00
..
2012-07-30 06:15:10 +00:00
2012-05-21 16:15:26 +00:00
2012-05-25 12:11:57 +00:00
2012-02-06 10:43:34 +00:00
2012-02-06 10:45:43 +00:00
2012-02-06 10:41:23 +00:00
2012-02-06 10:41:23 +00:00
2012-02-06 10:41:23 +00:00
2012-02-06 10:41:23 +00:00