Hi!
The current RTT APIs provide a
The current debug logging APIs have a function of the following form:
Would it be possible to add a
Here's a draft diff based on RTT version 6.60d:\
github.com/henrygab/Adafruit_n…2d7c0b79b9773b165f8f8ea01
In combination with the implementation of
Thank you for considering this simple proposal.
Henry
[edit: for avoidance of doubt, the changes in both those diffs is given to the public domain]
The current RTT APIs provide a
SEGGER_RTT_TerminalOut()
function. That function requires a null-terminated string.The current debug logging APIs have a function of the following form:
size_t write(const char * buffer, size_t size);
Would it be possible to add a
SEGGER_RTT_TerminalOutBuffer()
function?Here's a draft diff based on RTT version 6.60d:\
github.com/henrygab/Adafruit_n…2d7c0b79b9773b165f8f8ea01
In combination with the implementation of
SEGGER_RTT_Peek()
(requested earlier), these two functions would simplify drop-in replacement use of RTT.Thank you for considering this simple proposal.
Henry
[edit: for avoidance of doubt, the changes in both those diffs is given to the public domain]