Skip to content

Commit

Permalink
platform.txt: Added windows pattern and modified linux pattern.
Browse files Browse the repository at this point in the history
Signed-off-by: jaenrig-ifx <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Oct 2, 2024
1 parent 301e0b4 commit 8cfe226
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ recipe.output.save_file={build.project_name}.{build.variant}.bin
# Upload .hex file
# ----------------

tools.openocd.path={runtime.tools.ModusToolbox.path}/openocd
tools.openocd.shell.linux=bash
tools.openocd.upload.params.verbose=-v
tools.openocd.upload.params.quiet=
tools.openocd.upload.pattern= {shell} {runtime.platform.path}/tools/upload.sh upload {path} {runtime.platform.path} {build.path} {build.variant} {upload.port.properties.serialNumber} {upload.target_openocd_cfg} {build.project_name} {upload.verbose}
tools.openocd.upload.params.args=upload {runtime.tools.ModusToolbox.path} {runtime.platform.path} {build.path} {build.variant} {upload.port.properties.serialNumber} {upload.target_openocd_cfg} {build.project_name} {upload.verbose}

tools.openocd.upload.pattern.linux=bash {runtime.platform.path}/tools/upload.sh {upload.params.args}
tools.openocd.upload.pattern.windows={runtime.platform.path}/tools/upload.bat {upload.params.args}

0 comments on commit 8cfe226

Please sign in to comment.