From 1156fcd79e2700c7094b0a5ab435a4b7f31a8f41 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Thu, 26 Mar 2020 10:49:04 +0100 Subject: [PATCH] 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 Reviewed-on: http://openocd.zylin.com/5543 Tested-by: jenkins --- tcl/board/st_nucleo_8l152r8.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tcl/board/st_nucleo_8l152r8.cfg diff --git a/tcl/board/st_nucleo_8l152r8.cfg b/tcl/board/st_nucleo_8l152r8.cfg new file mode 100644 index 0000000000..d3372693d1 --- /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 -- 2.30.2