2021-06-24 17:18:44 +08:00
|
|
|
board_runner_args(stm32cubeprogrammer "--erase" "--port=swd" "--reset=hw")
|
|
|
|
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset=hw")
|
|
|
|
|
2021-07-29 22:16:43 +08:00
|
|
|
board_runner_args(openocd "--tcl-port=6666")
|
|
|
|
board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable")
|
|
|
|
board_runner_args(openocd "--no-halt")
|
|
|
|
|
2021-06-24 17:18:44 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
2021-07-29 22:16:43 +08:00
|
|
|
# FIXME: openocd runner requires use of STMicro openocd fork.
|
|
|
|
# Check board documentation for more details.
|
|
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|