Skip to content

Commit a6400b4

Browse files
mariopajaaescolar
authored andcommitted
boards: st: b_u585_iot02a: add segger jlink support
This PR adds the possibility to use the Segger JLink debugger with b_u858_iot02a board. Signed-off-by: Mario Paja <[email protected]>
1 parent 34629d2 commit a6400b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boards/st/b_u585i_iot02a/board.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ board_runner_args(openocd "--tcl-port=6666")
1919
board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable")
2020
board_runner_args(openocd "--no-halt")
2121

22+
board_runner_args(jlink "--device=STM32U585AI" "--reset-after-load")
23+
2224
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
2325
# FIXME: openocd runner requires use of STMicro openocd fork.
2426
# Check board documentation for more details.
2527
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
28+
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)

0 commit comments

Comments
 (0)