aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-03-26 10:49:04 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2020-05-24 21:34:18 +0100
commit1156fcd79e2700c7094b0a5ab435a4b7f31a8f41 (patch)
treeaa8c13dd46c5a93338a09a6b9ce2102051bc5b4c /tcl/board
parentcc5889883f0b4660d5173f89543da02014f54b9c (diff)
downloadriscv-openocd-1156fcd79e2700c7094b0a5ab435a4b7f31a8f41.zip
riscv-openocd-1156fcd79e2700c7094b0a5ab435a4b7f31a8f41.tar.gz
riscv-openocd-1156fcd79e2700c7094b0a5ab435a4b7f31a8f41.tar.bz2
tcl/board: add board ST nucleo-8l152r8
The transport SWIM is selected twice, in board and in target, thus a warning is generated at run-time. It should be fixed by remove a line in the target file, but does not harm so let's keep it there for the time being. Change-Id: I479004dc16005a330d552c8dbd5def61690f9b9f Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5543 Tested-by: jenkins
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/st_nucleo_8l152r8.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/tcl/board/st_nucleo_8l152r8.cfg b/tcl/board/st_nucleo_8l152r8.cfg
new file mode 100644
index 0000000..d337269
--- /dev/null
+++ b/tcl/board/st_nucleo_8l152r8.cfg
@@ -0,0 +1,10 @@
+# This is a ST NUCLEO 8L152R8 board with a single STM8L152R8T6 chip.
+# http://www.st.com/en/evaluation-tools/nucleo-8l152r8.html
+
+source [find interface/stlink-dap.cfg]
+
+transport select swim
+
+source [find target/stm8l152.cfg]
+
+reset_config srst_only