Skip to content

Commit 16d6042

Browse files
authored
change default picoprobe speed to 5000 kHz
To make it the same as with the Arduino IDE See earlephilhower/arduino-pico#1218
1 parent ac45b10 commit 16d6042

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,9 @@ def _jlink_cmd_script(env, source):
499499
]
500500
openocd_args.extend(
501501
debug_tools.get(upload_protocol).get("server").get("arguments", []))
502-
# always use a default speed directive of 1000khz or an otherwise configured speed
502+
# always use a default speed directive of 5000khz or an otherwise configured speed
503503
# otherwise, flash failures were observed
504-
speed = env.GetProjectOption("debug_speed") or "1000"
504+
speed = env.GetProjectOption("debug_speed") or "5000"
505505
openocd_args.extend(
506506
["-c", "adapter speed %s" % speed]
507507
)

0 commit comments

Comments
 (0)