Closed nilfit closed 1 year ago
Hmm that's indeed bad. The rtt
feature should be a default feature. Why is it not enabled. I will dig a bit :)
target-gen
opts out of default features: https://github.com/probe-rs/probe-rs/blob/dc5eb11ba23a5abfd1dd734385b93c7edd60f490/target-gen/Cargo.toml
Thanks. building target-gen locally with this change worked.
-probe-rs = { path = "../probe-rs", version = "0.19.0", default-features = false }
+probe-rs = { path = "../probe-rs", version = "0.19.0", default-features = false, features = [ "rtt" ] }
When running with
cargo run
, RTT messages are not printed.Actual behavior:
Expected:
This happens because
target-gen
disables the defaultrtt
feature of probe-rs when installed according to the README.Installing
target-gen
with the feature enabled gives the expected behavior.The README could be updated to suggest this, but I'm not sure if it makes more sense to change the default features of
target-gen
instead.