tcl/board: add st_nucleo_g4.cfg to cover known STM32G4 NUCLEO boards
[fw/openocd] / tcl / board / st_nucleo_g4.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # This is for all ST NUCLEO with any STM32G4. Known boards at the moment:
4 # NUCLEO-G431KB
5 # https://www.st.com/en/evaluation-tools/nucleo-g431kb.html
6 # NUCLEO-G431RB
7 # https://www.st.com/en/evaluation-tools/nucleo-g431rb.html
8 # NUCLEO-G474RE
9 # https://www.st.com/en/evaluation-tools/nucleo-g474re.html
10 # NUCLEO-G491RE
11 # https://www.st.com/en/evaluation-tools/nucleo-g491re.html
12
13 source [find interface/stlink.cfg]
14
15 transport select hla_swd
16
17 source [find target/stm32g4x.cfg]
18
19 reset_config srst_only