From 7a654e4416ee66b950f9da20765f38135e354779 Mon Sep 17 00:00:00 2001 From: Renato Caldas Date: Wed, 25 Aug 2021 16:26:38 +0100 Subject: [PATCH] openocd.cfg: use the unified stlink.cfg configuration In newer versions of openocd, all the stlink-v* configuration files are deprecated, and just source stlink.cfg. --- openocd.cfg | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/openocd.cfg b/openocd.cfg index 81551c8..5aec560 100644 --- a/openocd.cfg +++ b/openocd.cfg @@ -1,12 +1,5 @@ # 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 interface/stlink.cfg] source [find target/stm32f3x.cfg]