Skip to content

Commit

Permalink
boards/st/stm32f429i_disc1: add pyocd support
Browse files Browse the repository at this point in the history
This commit enables pyOCD support for the STM32F429I Discovery board.

Signed-off-by: Dominik Lau <[email protected]>
Signed-off-by: Filip Kokosinski <[email protected]>
  • Loading branch information
laudominik authored and nashif committed Aug 15, 2024
1 parent d3541fe commit 2f64e7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boards/st/stm32f429i_disc1/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(jlink "--device=STM32F429ZI" "--speed=4000")
board_runner_args(pyocd "--target=stm32f429xi")
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/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

0 comments on commit 2f64e7c

Please sign in to comment.