riscv-openocd/src/server
fanoush cc02bd752c rtt server: fix for dropped data when target has no space
rtt_write_channel may write less data than requested,
default device buffer size for channel 0 is 16 bytes,
so currently anything larger than this is dropped.

This fix implements per connection buffer and uses the
connection->input_pending flag to retry writes.

Change-Id: I00c845fccb0248550ad0f0fd9cda7bac7976b92b
Signed-off-by: fanoush <fanoush@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8360
Reviewed-by: zapb <dev@zapb.de>
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2024-12-22 09:43:37 +00:00
..
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
gdb_server.c server: convert 'unsigned' to 'unsigned int' 2024-11-02 21:03:04 +00:00
gdb_server.h gdb_server: Improve const correctness 2024-10-20 09:25:25 +00:00
ipdbg.c ipdbg: fix double free of virtual-ir data 2024-05-04 08:36:50 +00:00
ipdbg.h ipdbg: split ipdbg command into multiple commands 2024-03-16 14:43:33 +00:00
rtt_server.c rtt server: fix for dropped data when target has no space 2024-12-22 09:43:37 +00:00
rtt_server.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
server.c ipdbg: split ipdbg command into multiple commands 2024-03-16 14:43:33 +00:00
server.h break from long loops on shutdown request 2023-12-24 14:24:38 +00:00
startup.tcl server/telnet: Restructure commands 2024-09-21 09:05:36 +00:00
tcl_server.c server/tcl: Restructure commands 2024-07-13 22:29:04 +00:00
tcl_server.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
telnet_server.c server: convert 'unsigned' to 'unsigned int' 2024-11-02 21:03:04 +00:00
telnet_server.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00