Skip to content

Commit

Permalink
add nucleo_h723zg open-ocd config
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-kie committed Feb 15, 2023
1 parent 190bc78 commit 3cee015
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modm/board/nucleo_h723zg/module.lb
Expand Up @@ -42,4 +42,6 @@ def build(env):
env.template("../board.cpp.in", "board.cpp")
env.copy('.')
env.copy("../nucleo144_arduino.hpp", "nucleo144_arduino.hpp")
env.collect(":build:openocd.source", "board/st_nucleo_h743zi.cfg");
env.outbasepath = "modm/openocd/modm/board/"
env.copy(repopath("tools/openocd/modm/st_nucleo_h723zg.cfg"), "st_nucleo_h723zg.cfg")
env.collect(":build:openocd.source", "modm/board/st_nucleo_h723zg.cfg")
10 changes: 10 additions & 0 deletions tools/openocd/modm/st_nucleo_h723zg.cfg
@@ -0,0 +1,10 @@
# This is an ST NUCLEO-H723ZG board with single STM32H723ZG chip.
# http://www.st.com/en/evaluation-tools/nucleo-h723zg.html

source [find interface/stlink.cfg]

transport select hla_swd

source [find target/stm32h7x.cfg]

reset_config srst_only

0 comments on commit 3cee015

Please sign in to comment.