boards: nucleo_g071rb: Enable comman line flashing using pyocd
On nucleo_g071rb, flashing using pyocd requested to hold reset button during flashing operation. Using newly available pyocd arguments this is no more needed and nucleo_g071rb can now be flashed in a fully automated way. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
a11405df52
commit
d9e6009a73
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
board_runner_args(pyocd "--target=stm32g071rb")
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue