Skip to content

Commit afc08d3

Browse files
committed
replace k-flash with kflash.py on windows
1 parent 3867173 commit afc08d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ recipe.size.regex=\s*[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+).*
9090

9191
tools.kflash.path={runtime.tools.kflash.path}/
9292
tools.kflash.cmd=python3 {runtime.tools.kflash.path}/kflash.py
93-
tools.kflash.cmd.windows={runtime.tools.kflash.path}/k-flash
94-
tools.kflash.program.pattern={cmd} -n -p {serial.port} -b {build.burn_baudrate} -B {build.burn_tool_firmware} {build.path}/{build.project_name}.bin
95-
tools.kflash.program.pattern.windows="{cmd}" -d {serial.port} -b {build.burn_baudrate} {build.path}/{build.project_name}.bin
93+
tools.kflash.cmd.windows={runtime.tools.kflash.path}/kflash_py
94+
tools.kflash.program.pattern={cmd} -p {serial.port} -b {build.burn_baudrate} -B {build.burn_tool_firmware} {build.path}/{build.project_name}.bin
95+
tools.kflash.program.pattern.windows="{cmd}" -n -p {serial.port} -b {build.burn_baudrate} -B {build.burn_tool_firmware} {build.path}/{build.project_name}.bin
9696

9797

0 commit comments

Comments
 (0)