This is an automated email from Gerrit. kuldeep dhaka (kuldeepdha...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1921
-- gerrit commit acdfdf92b3fcc997ec94f5abaf5ad864134eaf56 Author: Kuldeep Singh Dhaka <kuldeepdha...@gmail.com> Date: Mon Feb 3 21:57:33 2014 +0530 topic: STM32F072 support Added configuration to work with stm32f072. Tested on stm32f072discovery with libopencm3 stm32f0 blink example. Change-Id: I63cdc9bf1f28f5951d6b4faac871cfde331c9c78 Signed-off-by: Kuldeep Singh Dhaka <kuldeepdha...@gmail.com> diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index ce0708f..36b8c34 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -930,6 +930,16 @@ static int stm32x_probe(struct flash_bank *bank) stm32x_info->option_offset = 6; stm32x_info->default_rdp = 0x55AA; break; + + case 0x448: /* stm32f072 */ + page_size = 2048; + stm32x_info->ppage_size = 4; + max_flash_size_in_kb = 128; + stm32x_info->user_data_offset = 16; + stm32x_info->option_offset = 6; + stm32x_info->default_rdp = 0x55AA; + break; + default: LOG_WARNING("Cannot identify target as a STM32 family."); return ERROR_FAIL; -- ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel