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 <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>
This commit is contained in:
parent
28b0019803
commit
de16280e02
|
@ -779,6 +779,7 @@ static int stm32x_probe(struct flash_bank *bank)
|
||||||
case 0x423:
|
case 0x423:
|
||||||
max_flash_size_in_kb = 256;
|
max_flash_size_in_kb = 256;
|
||||||
break;
|
break;
|
||||||
|
case 0x431:
|
||||||
case 0x433:
|
case 0x433:
|
||||||
max_flash_size_in_kb = 512;
|
max_flash_size_in_kb = 512;
|
||||||
break;
|
break;
|
||||||
|
@ -930,6 +931,7 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x423:
|
case 0x423:
|
||||||
|
case 0x431:
|
||||||
case 0x433:
|
case 0x433:
|
||||||
device_str = "STM32F4xx (Low Power)";
|
device_str = "STM32F4xx (Low Power)";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue