zephyr/boards/arm/nucleo_g071rb/board.cmake
Erwan Gouriou cbbadfd688 boards: nucleo_g071rb: Fix pyocd target
In recent pyocd versions, `stm32g071rbtx` should be used as target
name.


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-09-03 21:54:37 +02:00

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)