2014-10-01 19:39:55 +02:00
|
|
|
# stml1 Target
|
|
|
|
source [find interface/stlink-v2-1.cfg]
|
|
|
|
|
|
|
|
transport select hla_swd
|
|
|
|
|
2015-01-22 16:53:14 +01:00
|
|
|
# during development of openocd the existing configuration
|
|
|
|
# for this board's MCU got renamed. This tries to test against
|
|
|
|
# the different versions.
|
|
|
|
# See https://github.com/RIOT-OS/RIOT/pull/2343
|
|
|
|
# Should be obsolete with http://openocd.zylin.com/#/c/2489/
|
|
|
|
|
|
|
|
if [catch {find target/stm32l.cfg}] {
|
|
|
|
source [find target/stm32l1.cfg]
|
|
|
|
reset_config srst_only
|
|
|
|
} else {
|
|
|
|
source [find target/stm32l.cfg]
|
|
|
|
reset_config srst_only srst_nogate
|
|
|
|
}
|