monitor: Add interface for J-Link library

System Internals / BlueZ - Andrzej Kaczmarek [codecoup.pl] - 14 October 2019 10:12 EDT

This adds simple interface to libjlinkarm.so which will be used to read data from RTT buffer. It was mostly made by trial and error since there is no public documentation for this library so it may lack something, but seems to work fine with few Cortex-M devices I tried.

7ce36e236 monitor: Add interface for J-Link library
monitor/jlink.c | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
monitor/jlink.h | 27 ++++++
2 files changed, 310 insertions(+)

Upstream: git.kernel.org


  • Share