forked from BluePill_Rust/blue_pill_base
16 lines
493 B
INI
16 lines
493 B
INI
# Sample OpenOCD configuration for the blue pill board
|
|
|
|
# Some microcontrollers have a different CPU ID; uncomment this if yours is one
|
|
set CPUTAPID 0x2ba01477
|
|
|
|
# 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]
|