From: OpenOCD-Gerrit <ope...@us...> - 2020-05-24 20:34:48
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 1156fcd79e2700c7094b0a5ab435a4b7f31a8f41 (commit) via cc5889883f0b4660d5173f89543da02014f54b9c (commit) from ce9e21b769358b6408aada59810c33544bd8df4d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1156fcd79e2700c7094b0a5ab435a4b7f31a8f41 Author: Antonio Borneo <bor...@gm...> Date: Thu Mar 26 10:49:04 2020 +0100 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 <bor...@gm...> Reviewed-on: http://openocd.zylin.com/5543 Tested-by: jenkins diff --git a/tcl/board/st_nucleo_8l152r8.cfg b/tcl/board/st_nucleo_8l152r8.cfg new file mode 100644 index 000000000..d3372693d --- /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 commit cc5889883f0b4660d5173f89543da02014f54b9c Author: Antonio Borneo <bor...@gm...> Date: Thu Mar 19 12:12:20 2020 +0100 Revert "adapter: expose HLA interface in struct adapter_driver" No reason to keep longer this temporary hack. Remove it by reverting the original commit. Change-Id: I5c6dcdb1f4755b7dba4c03a5033913ef8db35e18 Signed-off-by: Antonio Borneo <bor...@gm...> Reviewed-on: http://openocd.zylin.com/5533 Tested-by: jenkins diff --git a/src/jtag/hla/hla_interface.c b/src/jtag/hla/hla_interface.c index 064c268e4..6d5cdc5e7 100644 --- a/src/jtag/hla/hla_interface.c +++ b/src/jtag/hla/hla_interface.c @@ -361,7 +361,4 @@ struct adapter_driver hl_adapter_driver = { .poll_trace = &hl_interface_poll_trace, /* no ops for HLA, targets hla_target and stm8 intercept them all */ - - /* FIXME: helper to simplify transition of HLA drivers. To be removed */ - .hla_if = &hl_if, }; diff --git a/src/jtag/interface.h b/src/jtag/interface.h index a471aa96d..42598c1ae 100644 --- a/src/jtag/interface.h +++ b/src/jtag/interface.h @@ -38,9 +38,6 @@ */ -/* FIXME: prototype to simplify transition of HLA drivers. To be removed */ -struct hl_interface_s; - /** implementation of wrapper function tap_set_state() */ void tap_set_state_impl(tap_state_t new_state); @@ -366,9 +363,6 @@ struct adapter_driver { /* SWIM APIs */ const struct swim_driver *swim_ops; - - /* FIXME: helper to simplify transition of HLA drivers. To be removed */ - struct hl_interface_s *hla_if; }; extern const char * const jtag_only[]; ----------------------------------------------------------------------- Summary of changes: src/jtag/hla/hla_interface.c | 3 --- src/jtag/interface.h | 6 ------ tcl/board/st_nucleo_8l152r8.cfg | 10 ++++++++++ 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 tcl/board/st_nucleo_8l152r8.cfg hooks/post-receive -- Main OpenOCD repository |