mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-20 21:55:22 +00:00
In recent pyocd versions, `stm32g071rbtx` should be used as target name. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
8 lines
326 B
CMake
8 lines
326 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")
|
|
|
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|