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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 17 additions & 0 deletions
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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy