openocd.cfg: add support for older revisions of the discovery

This commit is contained in:
Jorge Aparicio
2018-09-14 19:04:27 +02:00
parent 9facab2960
commit 728d57d002

View File

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