nuttx/drivers/segger
yinshengkai 9c6f48e57b drivers/segger: add RTT serial support
usage:
  1. Connect Jlink, start JLinkGDBServer
     JLinkGDBServer -if SWD -device stm32h743zi -speed 16000
  2. Listen to the RTT port data and forward it to the virtual serial port
     sudo socat -d -d PTY,link=/dev/ttyRTT0,raw,ignoreeof TCP:127.0.0.1:19021,reuseaddr
  3. Read serial data
     minicom -D /dev/ttyRTT0

Performance:(STM32H743, 400MHZ)
time "dd if=/dev/zero of=/dev/console bs=512 count=2048"
6.67 sec  157KB/s

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-07-12 09:54:50 +08:00
..
config drivers/rtt: check whether Jlink is connected 2023-07-12 09:54:50 +08:00
.gitignore
0001-segger-RTT-include-the-SEGGER_RTT_Conf.h-from-custom.patch segger/RTT: hotfix for RTT compile warning 2022-01-29 17:26:04 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig drivers/segger: add RTT serial support 2023-07-12 09:54:50 +08:00
Make.defs drivers/segger: add RTT serial support 2023-07-12 09:54:50 +08:00
note_sysview.c arch/arm64: the arm64 perf interface supports pmu 2023-04-10 16:23:49 -03:00
serial_rtt.c drivers/segger: add RTT serial support 2023-07-12 09:54:50 +08:00
stream_rtt.c drivers/rtt: check whether Jlink is connected 2023-07-12 09:54:50 +08:00
syslog_rtt.c drivers/rtt: check whether Jlink is connected 2023-07-12 09:54:50 +08:00