aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMarc Schink <dev@zapb.de>2020-09-17 15:23:31 +0200
committerTomas Vanek <vanekt@fbl.cz>2020-12-02 23:15:52 +0000
commit7b641d3d4e9b0407e5410267459fcbc64f075fde (patch)
tree46203497ef929089045b30293730828e14239d03 /src/Makefile.am
parentd459a2d27df52643dc8932827a63467a14f7c162 (diff)
downloadriscv-openocd-7b641d3d4e9b0407e5410267459fcbc64f075fde.zip
riscv-openocd-7b641d3d4e9b0407e5410267459fcbc64f075fde.tar.gz
riscv-openocd-7b641d3d4e9b0407e5410267459fcbc64f075fde.tar.bz2
Add initial RTT support
Real Time Transfer (RTT) is an interface specified by SEGGER based on basic memory reads and writes to transfer data bidirectionally between target and host. Every target that supports so called "background memory access", which means that the target memory can be accessed by the debugger while the target is running, can be used. RTT is especially of interest for targets which do not support Serial Wire Output (SWO) (e.g. ARM Cortex-M0) or where using semihosting is not possible (e.g. real-time applications) [1]. The data transfer is organized in channels where each channel consists of an up- and/or down-channel. See [2] for more details. Channels are exposed via TCP connections. One or more RTT server can be assigned to each channel to make them accessible to an unlimited number of TCP connections. The current implementation does not respect buffer flags which are used to determine what happens when writing to a full buffer. Note that the implementation is designed in a way that the RTT operations can be directly performed by an adapter (e.g. J-Link). [1] https://devzone.nordicsemi.com/tutorials/6/ [2] https://www.segger.com/jlink-rtt.html Change-Id: I8bc8a1b381fb74e08b8752d5cf53804cc573c1e0 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/4055 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 07981aa..781c1e7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -53,7 +53,8 @@ endif
%D%/target/libtarget.la \
%D%/server/libserver.la \
%D%/rtos/librtos.la \
- %D%/helper/libhelper.la
+ %D%/helper/libhelper.la \
+ %D%/rtt/librtt.la
BIN2C = $(srcdir)/%D%/helper/bin2char.sh
@@ -83,3 +84,4 @@ include %D%/rtos/Makefile.am
include %D%/server/Makefile.am
include %D%/flash/Makefile.am
include %D%/pld/Makefile.am
+include %D%/rtt/Makefile.am