Skip to content
Commit 22d6bfa0 authored by Florian Larysch's avatar Florian Larysch Committed by Alberto Escolar
Browse files

logging: backend: swo: add Kconfig option for SWO protocol



The TPIU supports serializing the data stream both using an UART-like NRZ
protocol as well as using Manchester encoding. Using Manchester encoding
has the advantage that it enables receivers that support it to recover the
clock from the SWO signal itself. This is particularly useful in situations
where the clock rate changes dynamically or is unknown (for example when
debugging the clock tree setup or working with a device with a misbehaving
main oscillator).

Add a Kconfig choice to switch the protocol, keeping the current default of
using the NRZ encoding.

Signed-off-by: default avatarFlorian Larysch <larysch@fixme.gmbh>
parent 706ba43b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment