Skip to content

Commit

Permalink
boards: arm: disco_l475_iot1: add stm32cubeprogrammer
Browse files Browse the repository at this point in the history
add stm32cubeprogrammer runner
for disco_l475_iot1 boards

Signed-off-by: Marc Desvaux <[email protected]>
  • Loading branch information
Desvauxm-st authored and jhedberg committed Oct 19, 2023
1 parent 7d32b55 commit 1137494
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/arm/disco_l475_iot1/board.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# SPDX-License-Identifier: Apache-2.0

board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(jlink "--device=STM32L475VG" "--speed=4000")

include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)

0 comments on commit 1137494

Please sign in to comment.