Skip to content

Commit

Permalink
fix: command line
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Sep 30, 2024
1 parent a810350 commit fe7a2a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -878,12 +878,10 @@ Nucleo_64.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg

Nucleo_64.menu.upload_method.OpenOCD=OpenOCD STLink (SWD)
Nucleo_64.menu.upload_method.OpenOCD.upload.protocol=stlink
Nucleo_64.menu.upload_method.OpenOCD.upload.setup_command=transport select hla_swd;
Nucleo_64.menu.upload_method.OpenOCD.upload.tool=openocd_upload

Nucleo_64.menu.upload_method.OpenOCDDap=OpenOCD DapLink (SWD)
Nucleo_64.menu.upload_method.OpenOCDDap.upload.protocol=cmsis-dap
Nucleo_64.menu.upload_method.OpenOCDDap.upload.setup_command=transport select swd;
Nucleo_64.menu.upload_method.OpenOCDDap.upload.tool=openocd_upload

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ tools.openocd_upload.cmd=bin/openocd
tools.openocd_upload.cmd.windows=bin/openocd.exe
tools.openocd_upload.upload.params.verbose=-d2
tools.openocd_upload.upload.params.quiet=-d0
tools.openocd_upload.upload.pattern="{path}/{cmd}" {upload.verbose} -f interface/{upload.protocol}.cfg -c "{upload.setup_command}" -f target/{openocd.target}.cfg -c "program {{build.path}/{build.project_name}.bin} verify reset; shutdown;"
tools.openocd_upload.upload.pattern="{path}/{cmd}" {upload.verbose} -f interface/{upload.protocol}.cfg -f target/{openocd.target}.cfg -c "program {build.path}/{build.project_name}.elf verify reset exit"

#
# Debugger
Expand Down

0 comments on commit fe7a2a8

Please sign in to comment.