From 728d57d002025ef275c59753665b052fd925a75a Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 14 Sep 2018 19:04:27 +0200 Subject: [PATCH] openocd.cfg: add support for older revisions of the discovery --- openocd.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openocd.cfg b/openocd.cfg index 74c9af9..81551c8 100644 --- a/openocd.cfg +++ b/openocd.cfg @@ -1,2 +1,12 @@ +# Sample OpenOCD configuration for the STM32F3DISCOVERY development board + +# Depending on the hardware revision you got you'll have to pick ONE of these +# interfaces. At any time only one interface should be commented out. + +# Revision C (newer revision) source [find interface/stlink-v2-1.cfg] + +# Revision A and B (older revisions) +# source [find interface/stlink-v2.cfg] + source [find target/stm32f3x.cfg]