Expand description
Component for SeggerRttMemory.
This provides two Component
s:
SeggerRttMemoryComponent
, which creates suitable memory for the Segger RTT capsule.SeggerRttComponent
, which instantiates the Segger RTT capsule.
§Usage
let rtt_memory = components::segger_rtt::SeggerRttMemoryComponent::new()
.finalize(components::segger_rtt_memory_component_static!());
let rtt = components::segger_rtt::SeggerRttComponent::new(mux_alarm, rtt_memory)
.finalize(components::segger_rtt_component_static!(nrf52832::rtc::Rtc));