11 lines
386 B
CMake
11 lines
386 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# keep first
|
|
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
|
board_runner_args(openocd --cmd-post-verify "reset halt")
|
|
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
|
|
|
|
# keep first
|
|
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/openocd-stm32.board.cmake)
|