Browse Source

flash: add stm32f3 rev 2 flash support

Change-Id: Ibab5112f5f70a609136d01ebc50530a334640d03
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/875
Tested-by: jenkins
tags/v0.6.1
Spencer Oliver 9 years ago
parent
commit
6544018321
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/flash/nor/stm32f1x.c

+ 8
- 0
src/flash/nor/stm32f1x.c View File

@@ -1142,6 +1142,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
snprintf(buf, buf_size, "1.0");
break;

case 0x2000:
snprintf(buf, buf_size, "2.0");
break;

default:
snprintf(buf, buf_size, "unknown");
break;
@@ -1188,6 +1192,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
snprintf(buf, buf_size, "1.0");
break;

case 0x2000:
snprintf(buf, buf_size, "2.0");
break;

default:
snprintf(buf, buf_size, "unknown");
break;


Loading…
Cancel
Save