Skip to content

Commit

Permalink
feat(debugger): set dapdirect_swd as default transport
Browse files Browse the repository at this point in the history
hla_swd deprecated since STLink V2 (2015).

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Feb 18, 2025
1 parent 345138a commit 463335f
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 @@ -474,7 +474,6 @@ Nucleo_64.menu.pnum.NUCLEO_C071RB.build.variant=STM32C0xx/C071R(8-B)T
Nucleo_64.menu.pnum.NUCLEO_C071RB.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
Nucleo_64.menu.pnum.NUCLEO_C071RB.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
Nucleo_64.menu.pnum.NUCLEO_C071RB.openocd.target=stm32c0x
Nucleo_64.menu.pnum.NUCLEO_C071RB.debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_dapdirect.cfg
Nucleo_64.menu.pnum.NUCLEO_C071RB.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32C0xx/STM32C071.svd

# NUCLEO_F030R8 board
Expand Down Expand Up @@ -831,7 +830,6 @@ Nucleo_64.menu.pnum.NUCLEO_U083RC.build.product_line=STM32U083xx
Nucleo_64.menu.pnum.NUCLEO_U083RC.build.variant=STM32U0xx/U073R(8-B-C)(I-T)_U083RC(I-T)
Nucleo_64.menu.pnum.NUCLEO_U083RC.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
Nucleo_64.menu.pnum.NUCLEO_U083RC.openocd.target=stm32u0x
Nucleo_64.menu.pnum.NUCLEO_U083RC.debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_dapdirect.cfg
Nucleo_64.menu.pnum.NUCLEO_U083RC.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32U0xx/STM32U083.svd

# NUCLEO_WB15CC
Expand Down
2 changes: 1 addition & 1 deletion platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,5 +258,5 @@ debug.server.openocd.path={openocd_dir}/bin/openocd
debug.server.openocd.scripts_dir={openocd_dir}/openocd/scripts
# Common config
debug.server.openocd.scripts.0=interface/stlink.cfg
debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_hla.cfg
debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_dapdirect.cfg
debug.server.openocd.scripts.2=target/{openocd.target}.cfg

0 comments on commit 463335f

Please sign in to comment.