Skip to content
Snippets Groups Projects
Commit fb1b388d authored by Rémi PRUD’HOMME's avatar Rémi PRUD’HOMME Committed by Spencer Oliver
Browse files

Subject: [PATCH] update src/flash/nor/stm32f2x.c


Add the new STM32F446 mcu with 512 Ko
Tested with a eval board

Change-Id: I0c16ce7d32d249c7634d697815207c20e7f778c4
Signed-off-by: default avatar <prudhomme.remi@gmail.com>
Reviewed-on: http://openocd.zylin.com/2484


Tested-by: jenkins
Reviewed-by: default avatarPaul Fertser <fercerpav@gmail.com>
Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
parent 5ffe5b9b
No related branches found
No related tags found
No related merge requests found
......@@ -781,6 +781,7 @@ static int stm32x_probe(struct flash_bank *bank)
break;
case 0x431:
case 0x433:
case 0x421:
max_flash_size_in_kb = 512;
break;
default:
......@@ -929,7 +930,15 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
break;
}
break;
case 0x421:
device_str = "STM32F446";
switch (rev_id) {
case 0x1000:
rev_str = "A";
break;
}
break;
case 0x423:
case 0x431:
case 0x433:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment