From afc08d3dd188074c4db29ded535bfb94cf0cd019 Mon Sep 17 00:00:00 2001 From: Neucrack Date: Wed, 3 Apr 2019 14:51:07 +0800 Subject: [PATCH] replace k-flash with kflash.py on windows --- platform.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform.txt b/platform.txt index 650a359..5e1ae8e 100644 --- a/platform.txt +++ b/platform.txt @@ -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