Skip to content

Commit 463335f

Browse files
committed
feat(debugger): set dapdirect_swd as default transport
hla_swd deprecated since STLink V2 (2015). Signed-off-by: Frederic Pillon <[email protected]>
1 parent 345138a commit 463335f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

boards.txt

-2
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,6 @@ Nucleo_64.menu.pnum.NUCLEO_C071RB.build.variant=STM32C0xx/C071R(8-B)T
474474
Nucleo_64.menu.pnum.NUCLEO_C071RB.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
475475
Nucleo_64.menu.pnum.NUCLEO_C071RB.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
476476
Nucleo_64.menu.pnum.NUCLEO_C071RB.openocd.target=stm32c0x
477-
Nucleo_64.menu.pnum.NUCLEO_C071RB.debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_dapdirect.cfg
478477
Nucleo_64.menu.pnum.NUCLEO_C071RB.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32C0xx/STM32C071.svd
479478

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

837835
# NUCLEO_WB15CC

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,5 +258,5 @@ debug.server.openocd.path={openocd_dir}/bin/openocd
258258
debug.server.openocd.scripts_dir={openocd_dir}/openocd/scripts
259259
# Common config
260260
debug.server.openocd.scripts.0=interface/stlink.cfg
261-
debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_hla.cfg
261+
debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_dapdirect.cfg
262262
debug.server.openocd.scripts.2=target/{openocd.target}.cfg

0 commit comments

Comments
 (0)