Skip to content

Commit 244853d

Browse files
committed
Update OpenOCD to v0.12.0-7
Resolves #906, resolves #908
1 parent a4c20dd commit 244853d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

platform.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
"type": "uploader",
323323
"optional": true,
324324
"owner": "platformio",
325-
"version": "~3.1200.0"
325+
"version": "~3.1200.7"
326326
},
327327
"tool-jlink": {
328328
"type": "uploader",

platform.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ def _add_default_debug_tools(self, board):
201201
"Missing target configuration for %s" % board.id)
202202
server_args.extend([
203203
"-f", "interface/%s.cfg" % link,
204-
"-c", "transport select %s" % (
205-
"hla_swd" if link == "stlink" else "swd"),
204+
"-c", "transport select swd",
206205
"-f", "target/%s.cfg" % debug.get("openocd_target")
207206
])
208207
server_args.extend(debug.get("openocd_extra_args", []))

0 commit comments

Comments
 (0)