Commit ce64b1e5 authored by Kuba Gryglak's avatar Kuba Gryglak Committed by Benjamin Cabé
Browse files

boards: st: add support for JLink in STM32G4 Nucleo board.cmake files

Add missing support for J-Link in board.cmake configuration
for Nucleo G4 boards so they can be
flashed and debugged using J-Link.

Signed-off-by: default avatarKuba Gryglak <gryglak.kuba@protonmail.com>
parent 99f4a078
Loading
Loading
Loading
Loading
+2 −0
Changes for boards/st/nucleo_g431kb/board.cmake: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,8 +3,10 @@
# keep first
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(pyocd "--target=stm32g431kbtx")
board_runner_args(jlink "--device=STM32G431KB" "--speed=4000")

# keep first
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
+2 −0
Changes for boards/st/nucleo_g431rb/board.cmake: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,8 +3,10 @@
# keep first
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(pyocd "--target=stm32g431rbtx")
board_runner_args(jlink "--device=STM32G431RB" "--speed=4000")

# keep first
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
+2 −0
Changes for boards/st/nucleo_g474re/board.cmake: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,8 +3,10 @@
# keep first
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(pyocd "--target=stm32g474retx")
board_runner_args(jlink "--device=STM32G474RE" "--speed=4000")

# keep first
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)