2020-07-08 04:55:16 +00:00
|
|
|
# Sample OpenOCD configuration for the blue pill board
|
|
|
|
|
2020-07-09 21:30:37 +00:00
|
|
|
# Some microcontrollers have a different CPU ID; uncomment this if yours is one
|
|
|
|
set CPUTAPID 0x2ba01477
|
|
|
|
|
2020-07-08 04:55:16 +00:00
|
|
|
# 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/stm32f1x.cfg]
|