Skip to content

Commit

Permalink
replace k-flash with kflash.py on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Apr 3, 2019
1 parent 3867173 commit afc08d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ recipe.size.regex=\s*[0-9]+\s+[0-9]+\s+[0-9]+\s+([0-9]+).*

tools.kflash.path={runtime.tools.kflash.path}/
tools.kflash.cmd=python3 {runtime.tools.kflash.path}/kflash.py
tools.kflash.cmd.windows={runtime.tools.kflash.path}/k-flash
tools.kflash.program.pattern={cmd} -n -p {serial.port} -b {build.burn_baudrate} -B {build.burn_tool_firmware} {build.path}/{build.project_name}.bin
tools.kflash.program.pattern.windows="{cmd}" -d {serial.port} -b {build.burn_baudrate} {build.path}/{build.project_name}.bin
tools.kflash.cmd.windows={runtime.tools.kflash.path}/kflash_py
tools.kflash.program.pattern={cmd} -p {serial.port} -b {build.burn_baudrate} -B {build.burn_tool_firmware} {build.path}/{build.project_name}.bin
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


0 comments on commit afc08d3

Please sign in to comment.