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.
This commit is contained in:
Renato Caldas
2021-08-25 16:26:38 +01:00
parent 5fb962cf07
commit 7a654e4416

View File

@@ -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]