]> git.sur5r.net Git - openocd/commitdiff
stm32f2x: added STM32F411xx series support.
authorNemui Trinomius <nemuisan_kawausogasuki@live.jp>
Mon, 18 Aug 2014 14:46:21 +0000 (23:46 +0900)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 8 Sep 2014 21:34:25 +0000 (21:34 +0000)
Added STM32F411xx series to flash driver.

Tested on NUCLEO-F411RE board(STM32F411RET6).

Change-Id: Id7d1f2858c09815a013e0590e65ad193fb039157
Signed-off-by: Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
Reviewed-on: http://openocd.zylin.com/2258
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/stm32f2x.c

index 56fd9f66255fc5b28608a86f8199872cca82b287..8f35845b4516caf2230d64fd9cec2866be08b6f6 100644 (file)
@@ -779,6 +779,7 @@ static int stm32x_probe(struct flash_bank *bank)
        case 0x423:
                max_flash_size_in_kb = 256;
                break;
+       case 0x431:
        case 0x433:
                max_flash_size_in_kb = 512;
                break;
@@ -930,6 +931,7 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
                break;
 
        case 0x423:
+       case 0x431:
        case 0x433:
                device_str = "STM32F4xx (Low Power)";