Use the "adapter speed" option for OpenOCD

Issue #917
This commit is contained in:
Valerii Koval
2022-09-27 12:30:15 +03:00
parent 752d771c71
commit 03d59c608b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -463,7 +463,7 @@ elif upload_protocol in debug_tools:
openocd_args.extend(
[
"-c",
"adapter_khz %s" % env.GetProjectOption("debug_speed", "5000"),
"adapter speed %s" % env.GetProjectOption("debug_speed", "5000"),
"-c",
"program_esp {{$SOURCE}} %s verify"
% (
+1 -1
View File
@@ -247,7 +247,7 @@ class Espressif32Platform(PlatformBase):
if "openocd" in (debug_config.server or {}).get("executable", ""):
debug_config.server["arguments"].extend(
["-c", "adapter_khz %s" % (debug_config.speed or "5000")]
["-c", "adapter speed %s" % (debug_config.speed or "5000")]
)
ignore_conds = [