Browse Source

cfg: Added st nucleo board configs.

This patch adds board configs for Nucleo FXXX boards.

Change-Id: I25bfd7d63f734bad710917efa67bc6096aa60ef8
Signed-off-by: Jens Hoffmann <jehoffma@gmail.com>
Reviewed-on: http://openocd.zylin.com/2022
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tags/v0.8.0-rc1
Jens Hoffmann 7 years ago
committed by Spencer Oliver
parent
commit
075c3f8fe2
4 changed files with 30 additions and 0 deletions
  1. +3
    -0
      contrib/99-openocd.rules
  2. +9
    -0
      tcl/board/st_nucleo_f030r8.cfg
  3. +9
    -0
      tcl/board/st_nucleo_f103rb.cfg
  4. +9
    -0
      tcl/board/st_nucleo_f401re.cfg

+ 3
- 0
contrib/99-openocd.rules View File

@@ -60,6 +60,9 @@ ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", MODE="664", GROUP="plugdev"
# STLink v2
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE="664", GROUP="plugdev"

# STLink v2-1
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", MODE="664", GROUP="plugdev"

# Hilscher NXHX Boards
ATTRS{idVendor}=="0640", ATTRS{idProduct}=="0028", MODE="664", GROUP="plugdev"



+ 9
- 0
tcl/board/st_nucleo_f030r8.cfg View File

@@ -0,0 +1,9 @@
# This is an ST NUCLEO-F030R8 board with a single STM32F030R8T6 chip.
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997

source [find interface/stlink-v2-1.cfg]

source [find target/stm32f0x_stlink.cfg]

# use hardware reset, connect under reset
reset_config srst_only srst_nogate

+ 9
- 0
tcl/board/st_nucleo_f103rb.cfg View File

@@ -0,0 +1,9 @@
# This is an ST NUCLEO F103RB board with a single STM32F103RBT6 chip.
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259875

source [find interface/stlink-v2-1.cfg]

source [find target/stm32f1x_stlink.cfg]

# use hardware reset, connect under reset
reset_config srst_only srst_nogate

+ 9
- 0
tcl/board/st_nucleo_f401re.cfg View File

@@ -0,0 +1,9 @@
# This is an ST NUCLEO F401RE board with a single STM32F401RET6 chip.
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260000

source [find interface/stlink-v2-1.cfg]

source [find target/stm32f4x_stlink.cfg]

# use hardware reset, connect under reset
reset_config srst_only srst_nogate

Loading…
Cancel
Save