embassy icon indicating copy to clipboard operation
embassy copied to clipboard

rprintf macro

Open White-Rabbit-Scientific opened this issue 1 year ago • 2 comments

I have no idea where the rprintf macro documentation is, or has rprintf been deprecated? It is mentioned twice on this page:

https://embassy.dev/book/#_what_is_embassy

White-Rabbit-Scientific avatar Sep 17 '24 03:09 White-Rabbit-Scientific

Good question... I think that depends on what logger you have setup, and I guess 'defmt' would be the more common thing to use in the documentation.

lulf avatar Sep 17 '24 06:09 lulf

rprintln comes from the rtt-target crate: https://docs.rs/rtt-target/latest/rtt_target/macro.rprintln.html

Agreed that we could probably update those examples to use defmt instead.

jamesmunns avatar Sep 25 '24 18:09 jamesmunns