Skip to content

Commit

Permalink
boards: st: b_u585_iot02a: add segger jlink support
Browse files Browse the repository at this point in the history
This PR adds the possibility to use the Segger JLink debugger with
b_u858_iot02a board.

Signed-off-by: Mario Paja <[email protected]>
  • Loading branch information
mariopaja authored and aescolar committed Apr 19, 2024
1 parent 34629d2 commit a6400b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boards/st/b_u585i_iot02a/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ board_runner_args(openocd "--tcl-port=6666")
board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable")
board_runner_args(openocd "--no-halt")

board_runner_args(jlink "--device=STM32U585AI" "--reset-after-load")

include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
# FIXME: openocd runner requires use of STMicro openocd fork.
# Check board documentation for more details.
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)

0 comments on commit a6400b4

Please sign in to comment.