Initial support for new OpenOCD package

This commit is contained in:
valeros
2020-10-26 16:02:27 +02:00
parent 3688b7b79d
commit f5ffb5896c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@
"type": "debugger",
"optional": true,
"owner": "platformio",
"version": "~1.1000.20181026"
"version": "~2.1000.0"
},
"tool-mkspiffs": {
"type": "uploader",
+2 -1
View File
@@ -122,7 +122,8 @@ class Espressif32Platform(PlatformBase):
server_args = [
"-s", "$PACKAGE_DIR/share/openocd/scripts",
"-f", "interface/%s.cfg" % openocd_interface,
"-f", "board/%s" % debug.get("openocd_board")
"-f", "board/%s" % debug.get("openocd_board"),
"-c", "adapter_khz %d" % debug.get("adapter_speed", 20000)
]
debug['tools'][link] = {