|
From: <ge...@op...> - 2017-05-17 12:38:38
|
This is an automated email from Gerrit. Fabien Parent (fp...@ba...) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4136 -- gerrit commit c3e36b7a3cf0e1cceaf0c92678646483d7752f10 Author: Fabien Parent <fp...@ba...> Date: Wed May 17 11:31:14 2017 +0200 stm32f72x/stm32f73x: add support for F72/F73 flash This commit adds the support for the STM32F7{2,3} flash. Change-Id: I8ce8e0461a46bd2f72547e8f0428d769686c90de Signed-off-by: Fabien Parent <fp...@ba...> diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 4d75095..320fe7b 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -892,6 +892,14 @@ static int stm32x_probe(struct flash_bank *bank) stm32x_info->has_boot_addr = true; break; + case 0x452: /* F72x/F73x */ + max_flash_size_in_kb = 512; + max_sector_size_in_kb = 128; + flash_size_reg = 0x1FF07A22; + stm32x_info->has_extra_options = true; + stm32x_info->has_boot_addr = true; + break; + default: LOG_WARNING("Cannot identify target as a STM32 family."); return ERROR_FAIL; -- |