Skip to content

Commit 0a0ea97

Browse files
committed
fix: 修改调用参数
1 parent a3cad55 commit 0a0ea97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,14 @@ tools.AirISP.cmd.windows=AirISP-next.exe
176176
tools.AirISP.upload.protocol=serial
177177
tools.AirISP.upload.params.verbose=
178178
tools.AirISP.upload.params.quiet=
179-
tools.AirISP.upload.pattern_args=--chip "auto" --port "{serial.port}" --baud {upload.speed} --before {upload.boot} --after hard_reset write_flash -e -p 0x08000000 "{build.path}/{build.project_name}.bin"
179+
tools.AirISP.upload.pattern_args=--chip "auto" --port "{serial.port}" --baud {upload.speed} --before {upload.boot} --after hard_reset write_flash -e 0x08000000 "{build.path}/{build.project_name}.hex"
180180
tools.AirISP.upload.pattern="{path}/{cmd}" {upload.pattern_args}
181181

182182
## Program Application
183183
## -------------------
184184
tools.AirISP.program.params.verbose=
185185
tools.AirISP.program.params.quiet=
186-
tools.AirISP.program.pattern_args=--chip "auto" --port "{serial.port}" --baud {upload.speed} --before {upload.boot} --after hard_reset write_flash -e -p 0x08000000 "{build.path}/{build.project_name}.bin"
186+
tools.AirISP.program.pattern_args=--chip "auto" --port "{serial.port}" --baud {upload.speed} --before {upload.boot} --after hard_reset write_flash -e 0x08000000 "{build.path}/{build.project_name}.hex"
187187
tools.AirISP.program.pattern="{path}/{cmd}" {program.pattern_args}
188188

189189
## Erase Chip (before burning the bootloader)

0 commit comments

Comments
 (0)