mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
13 lines
467 B
INI
13 lines
467 B
INI
# OpenOCD currently uses a single configuration file for all ST-Link
|
|
# adapters. However not all supported distributions use the latest
|
|
# OpenOCD.
|
|
# If the default script isn't available then use the old method via
|
|
# specifying the correct version.
|
|
try {
|
|
source [find interface/stlink.cfg]
|
|
} on error {} {
|
|
puts "WARNING: using old version of OpenOCD"
|
|
puts "Using STLINK_VERSION $stlink_version"
|
|
source [find interface/stlink-v${stlink_version}.cfg]
|
|
}
|