Rakefile: openocd STLINKV2 interface is now stlink

This commit is contained in:
King Kévin 2019-04-01 15:17:06 +02:00
parent 534b4d89b1
commit 90431d5fcb
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ SWD_ADAPTER = ENV["SWD_ADAPTER"] || "BMP"
# openOCD path to control the adapter
OOCD = ENV["OOCD"] || "openocd"
# openOCD adapted name
OOCD_INTERFACE = ENV["OOCD_INTERFACE"] || (SWD_ADAPTER=="STLINKV2" ? "stlink-v2" : "")
OOCD_INTERFACE = ENV["OOCD_INTERFACE"] || (SWD_ADAPTER=="STLINKV2" ? "stlink" : "")
# openOCD target for the micro-controller
OOCD_TARGET = "stm32f1x"
# Black Magic Probe port