From dc1c7611a9f9a8ba242d2b36a575eda8b111d2ef Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Wed, 8 Feb 2017 14:08:30 +0100 Subject: [PATCH] src/target/stm32f4.c: All STM32F7 devs have option bytes at 0x1fff0000. --- src/target/stm32f4.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/target/stm32f4.c b/src/target/stm32f4.c index e9a3c84..0f54347 100644 --- a/src/target/stm32f4.c +++ b/src/target/stm32f4.c @@ -338,7 +338,8 @@ static bool stm32f4_cmd_option(target *t, int argc, char *argv[]) uint32_t start, val; int len; - if (t->idcode == 0x449) { + if ((t->idcode == 0x449) || (t->idcode == 0x451)){ + /* F7 Devices have option bytes at 0x1FFF0000. */ start = 0x1FFF0000; len = 0x20; }