embassy-rs / embassy

Modern embedded framework, using Rust and async.
https://embassy.dev
Apache License 2.0
5.52k stars 767 forks source link

rprintf macro #3346

Open Resonanz opened 1 month ago

Resonanz commented 1 month ago

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

lulf commented 1 month ago

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.

jamesmunns commented 1 month ago

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.