Skip to content

Commit 5be76a6

Browse files
committed
feat(debugger): add dapdirect_swd transport
Signed-off-by: Frederic Pillon <[email protected]>
1 parent ccfd3d0 commit 5be76a6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: boards.txt

+3
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,8 @@ Nucleo_64.menu.pnum.NUCLEO_C071RB.build.product_line=STM32C071xx
473473
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
476+
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
476478
Nucleo_64.menu.pnum.NUCLEO_C071RB.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32C0xx/STM32C071.svd
477479

478480
# NUCLEO_F030R8 board
@@ -829,6 +831,7 @@ Nucleo_64.menu.pnum.NUCLEO_U083RC.build.product_line=STM32U083xx
829831
Nucleo_64.menu.pnum.NUCLEO_U083RC.build.variant=STM32U0xx/U073R(8-B-C)(I-T)_U083RC(I-T)
830832
Nucleo_64.menu.pnum.NUCLEO_U083RC.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
831833
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
832835
Nucleo_64.menu.pnum.NUCLEO_U083RC.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32U0xx/STM32U083.svd
833836

834837
# NUCLEO_WB15CC

Diff for: debugger/select_dapdirect.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
transport select dapdirect_swd

0 commit comments

Comments
 (0)