17 lines
519 B
Raw Normal View History

2019-02-28 22:52:49 +01:00
# 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]
source [find target/stm32f4x.cfg]
# Use hardware reset, connect under reset
reset_config srst_only srst_nogate