boards: stm32g0: add jlink and stm32cubeprogrammer runners.
Add jlink and stm32cubeprogrammer runners to nucleo_g071rb and stm32g0316_disco boards. Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
parent
8397cae10e
commit
8ee96a5a9f
2 changed files with 8 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
board_runner_args(pyocd "--target=stm32g071rbtx")
|
||||
board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
|
||||
board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
|
||||
board_runner_args(jlink "--device=STM32G071RB" "--speed=4000")
|
||||
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset=hw")
|
||||
|
||||
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
board_runner_args(pyocd "--target=stm32g031j6mx")
|
||||
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset=hw")
|
||||
board_runner_args(jlink "--device=STM32G031J6" "--speed=4000")
|
||||
|
||||
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue