Skip to content

Commit 92a4986

Browse files
gautierg-stfpistm
authored andcommitted
variants: add all openocd.cfg for all series (except c0)
STM32C0 has no target cfg file in openocd scripts directory. For all other variants, the openocd file is added. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
1 parent 63d567d commit 92a4986

File tree

17 files changed

+289
-0
lines changed

17 files changed

+289
-0
lines changed

variants/STM32F0xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32f0x.cfg]
16+
17+
reset_config srst_only

variants/STM32F1xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32f1x.cfg]
16+
17+
reset_config srst_only

variants/STM32F2xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32f2x.cfg]
16+
17+
reset_config srst_only

variants/STM32F3xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32f3x.cfg]
16+
17+
reset_config srst_only

variants/STM32F4xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32f4x.cfg]
16+
17+
reset_config srst_only

variants/STM32F7xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32f7x.cfg]
16+
17+
reset_config srst_only

variants/STM32G0xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32g0x.cfg]
16+
17+
reset_config srst_only

variants/STM32G4xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32g4x.cfg]
16+
17+
reset_config srst_only

variants/STM32H7xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32h7x.cfg]
16+
17+
reset_config srst_only

variants/STM32L0xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32l0.cfg]
16+
17+
reset_config srst_only

variants/STM32L1xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32l1.cfg]
16+
17+
reset_config srst_only

variants/STM32L4xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32l4x.cfg]
16+
17+
reset_config srst_only

variants/STM32L5xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32l5x.cfg]
16+
17+
reset_config srst_only

variants/STM32MP1xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32mp15x.cfg]
16+
17+
reset_config srst_only

variants/STM32U5xx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32u5x.cfg]
16+
17+
reset_config srst_only

variants/STM32WBxx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32wbx.cfg]
16+
17+
reset_config srst_only

variants/STM32WLxx/openocd.cfg

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023, STMicroelectronics
3+
# All rights reserved.
4+
#
5+
# This software component is licensed by ST under BSD 3-Clause license,
6+
# the "License"; You may not use this file except in compliance with the
7+
# License. You may obtain a copy of the License at:
8+
# opensource.org/licenses/BSD-3-Clause
9+
#
10+
11+
source [find interface/stlink.cfg]
12+
13+
transport select hla_swd
14+
15+
source [find target/stm32wlx.cfg]
16+
17+
reset_config srst_only

0 commit comments

Comments
 (0)