Documentation
¶
Overview ¶
Package jlink reads from SeggerRTT with the SEGGER app JLinkRTTLogger.
It provides a ReadCloser interface and makes no assumptiona about the delivered data. It is also agnostic concerning the RTT channel and other setup parameters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Param contails the command line parameters for JLinkRTTLogger Param string )
Functions ¶
This section is empty.
Types ¶
type RTTL ¶
type RTTL struct {
// contains filtered or unexported fields
}
RTTL is the Segger RealTime Transfer logger reader interface.
func New ¶
New creates an instance of RTT ReadCloser.
It is intended to be used by receiver.New() which embeds its interface. The param string is used as JLinkRTTLogger parameter string. See SEGGER UM08001_JLink.pdf for details.
func (*RTTL) Close ¶
Close is part of the exported interface io.ReadCloser. It ends the connection.
See https://stackoverflow.com/questions/11886531/terminating-a-process-started-with-os-exec-in-golang