This is an automated email from Gerrit. Pushpal Sidhu ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4310
-- gerrit commit f7fbd91fba6d5db050f346c3f21b09f6855ba974 Author: Pushpal Sidhu <[email protected]> Date: Mon Dec 11 15:09:19 2017 -0800 flash: stm32l4: Add STTM32L4R/Sxx flash support New stm32l4+ processors with device id: 0x470 Change-Id: I5dd3a8ec8d289d0a23294c80ebf5c832b80770fc Signed-off-by: Pushpal Sidhu <[email protected]> diff --git a/src/flash/nor/stm32l4x.c b/src/flash/nor/stm32l4x.c index fa0c48b..353b660 100644 --- a/src/flash/nor/stm32l4x.c +++ b/src/flash/nor/stm32l4x.c @@ -618,6 +618,9 @@ static int stm32l4_probe(struct flash_bank *bank) /* set max flash size depending on family */ switch (device_id & 0xfff) { + case 0x470: + max_flash_size_in_kb = 2048; + break; case 0x461: case 0x415: max_flash_size_in_kb = 1024; @@ -724,6 +727,10 @@ static int get_stm32l4_info(struct flash_bank *bank, char *buf, int buf_size) const char *device_str; switch (device_id) { + case 0x470: + device_str = "STM32L4R/4Sxx"; + break; + case 0x461: device_str = "STM32L496/4A6"; break; -- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
