Skip to content

Commit 2f64e7c

Browse files
laudominiknashif
authored andcommitted
boards/st/stm32f429i_disc1: add pyocd support
This commit enables pyOCD support for the STM32F429I Discovery board. Signed-off-by: Dominik Lau <[email protected]> Signed-off-by: Filip Kokosinski <[email protected]>
1 parent d3541fe commit 2f64e7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

boards/st/stm32f429i_disc1/board.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
44
board_runner_args(jlink "--device=STM32F429ZI" "--speed=4000")
5+
board_runner_args(pyocd "--target=stm32f429xi")
6+
board_runner_args(pyocd "--flash-opt=-O reset_type=hw")
7+
board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset")
58

69
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
710
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
811
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
12+
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

0 commit comments

Comments
 (0)