From: Nemui Trinomius Date: Mon, 18 Aug 2014 14:46:21 +0000 (+0900) Subject: stm32f2x: added STM32F411xx series support. X-Git-Tag: v0.9.0-rc1~286 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=de16280e0256f53fdddddc59f6797512afe6f009;p=openocd stm32f2x: added STM32F411xx series support. Added STM32F411xx series to flash driver. Tested on NUCLEO-F411RE board(STM32F411RET6). Change-Id: Id7d1f2858c09815a013e0590e65ad193fb039157 Signed-off-by: Nemui Trinomius Reviewed-on: http://openocd.zylin.com/2258 Tested-by: jenkins Reviewed-by: Paul Fertser Reviewed-by: Andreas Fritiofson --- diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 56fd9f66..8f35845b 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -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)";