Skip to content

Commit d3bbd63

Browse files
committed
Get rid of hardcoded upload speed value for mbctool
1 parent 53362d3 commit d3bbd63

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
@@ -348,8 +348,8 @@ def append_elf_hash(target, source, env):
348348
platform.get_package_dir("tool-mbctool") or "", "bin", "mbctool"),
349349
UPLOADERFLAGS=[
350350
"--device", "esp",
351-
"--speed", "1500000",
352-
"--port", "$UPLOAD_PORT",
351+
"--speed", "$UPLOAD_SPEED",
352+
"--port", '"$UPLOAD_PORT"',
353353
"--upload",
354354
"0x1000", join(
355355
platform.get_package_dir("framework-arduino-mbcwb"),

0 commit comments

Comments
 (0)