Skip to content

Commit 88270f6

Browse files
Add ST-Link/OpenOCD support as a programmer
1 parent d85db44 commit 88270f6

File tree

14 files changed

+54
-0
lines changed

14 files changed

+54
-0
lines changed

tools/share/openocd/scripts/board/dk-tm4c129.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/board/stm32f7discovery.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/target/aducm360.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/target/cc2538.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/target/cc26xx.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/target/cc32xx.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/target/k1921vk01t.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/target/sim3x.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/target/stm32f7x.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/target/ti-cjtag.cfg

100755100644
File mode changed.

tools/share/openocd/scripts/test/selftest.cfg

100755100644
File mode changed.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This is an STM32L476G disco board with a single STM32L476VGT6 (1MB) chip.
2+
# ### To be updated ### http://www.st.com/internet/evalboard/product/.jsp
3+
#
4+
5+
# This is for using the onboard STLINK/V2
6+
source [find interface/stlink-v2.cfg]
7+
8+
transport select hla_swd
9+
10+
# increase working area to 96KB
11+
set WORKAREASIZE 0x18000
12+
13+
14+
# chip name
15+
set CHIPNAME STM32L476
16+
17+
source [find target/stm32l4.cfg]
18+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This is an STM32L476G disco board with a single STM32L476VGT6 (1MB) chip.
2+
# ### To be updated ### http://www.st.com/internet/evalboard/product/.jsp
3+
#
4+
5+
# This is for using the onboard STLINK/V2
6+
source [find interface/stlink-v2.cfg]
7+
8+
transport select hla_swd
9+
10+
# increase working area to 96KB
11+
set WORKAREASIZE 0x18000
12+
13+
# chip name
14+
set CHIPNAME STM32L476
15+
16+
source [find target/stm32l4.cfg]
17+
18+
reset_config none separate
19+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This is an STM32L476G disco board with a single STM32L476VGT6 (1MB) chip.
2+
# ### To be updated ### http://www.st.com/internet/evalboard/product/.jsp
3+
#
4+
5+
# This is for using the onboard STLINK/V2
6+
source [find interface/stlink-v2.cfg]
7+
8+
transport select hla_swd
9+
10+
# increase working area to 96KB
11+
set WORKAREASIZE 0x18000
12+
13+
# chip name
14+
set CHIPNAME STM32L476
15+
16+
source [find target/stm32l4.cfg]
17+

0 commit comments

Comments
 (0)