By default, when an "up" RTT buffer in the target is full, writes to that buffer will be skipped (docs). At the debug terminal, this looks just like a gap in output; it's a silent failure which seems a bit bothersome and not very Rusty.
So, I wonder if we could use a bit in RttChannel::flags to indicate that the buffer overflowed? Once that was in place, RTT software on the host would be able to indicate that the target tried to send output but was unable to.
By default, when an "up" RTT buffer in the target is full, writes to that buffer will be skipped (docs). At the debug terminal, this looks just like a gap in output; it's a silent failure which seems a bit bothersome and not very Rusty.
So, I wonder if we could use a bit in
RttChannel::flagsto indicate that the buffer overflowed? Once that was in place, RTT software on the host would be able to indicate that the target tried to send output but was unable to.