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: Kuba Gryglak <gryglak.kuba@protonmail.com>
This commit is contained in:
parent
99f4a078d2
commit
ce64b1e571
3 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue