tcl/board: Add ST NUCLEO-8S208RB
authorMarc Schink <dev@zapb.de>
Thu, 20 May 2021 16:29:10 +0000 (18:29 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 29 May 2021 20:36:21 +0000 (21:36 +0100)
Change-Id: I384c6ad9b4cbabbc004160677f600d8c4bd3eb71
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: http://openocd.zylin.com/6268
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/board/st_nucleo_8s208rb.cfg [new file with mode: 0644]

diff --git a/tcl/board/st_nucleo_8s208rb.cfg b/tcl/board/st_nucleo_8s208rb.cfg
new file mode 100644 (file)
index 0000000..0d3c0c9
--- /dev/null
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+# This is a ST NUCLEO 8S208RB board with a single STM8S208RBT6 chip.
+# https://www.st.com/en/evaluation-tools/nucleo-8s208rb.html
+
+source [find interface/stlink-dap.cfg]
+
+transport select swim
+
+# 128 KiB flash and 2 KiB EEPROM
+set FLASHEND 0x27fff
+set EEPROMEND 0x47ff
+
+source [find target/stm8s.cfg]
+
+reset_config srst_only