mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 10:18:24 +08:00
8a021b49db
Zephyr SDK now features an openocd version compatible with stm32g0 targets. Set openocd as the default zephyr runner for this target. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
12 lines
580 B
CMake
12 lines
580 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
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/openocd.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|