From: Keith Packard Date: Sun, 25 Jan 2015 00:46:10 +0000 (-0800) Subject: stm32f1x: Add device id for SM32F04x parts X-Git-Url: https://git.gag.com/?p=fw%2Fopenocd;a=commitdiff_plain;h=refs%2Fheads%2Flpc11uxx stm32f1x: Add device id for SM32F04x parts These seem to work just like the stm32f03x and 05x parts; we'll see once I start actually trying to flash them. Signed-off-by: Keith Packard --- diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index 1b67ff033..e9811ba3e 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -923,6 +923,7 @@ static int stm32x_probe(struct flash_bank *bank) break; case 0x440: /* stm32f05x */ case 0x444: /* stm32f03x */ + case 0x445: /* stm32f04x */ page_size = 1024; stm32x_info->ppage_size = 4; max_flash_size_in_kb = 64;