Skip to content

Commit c15f2c6

Browse files
committed
decoder: improve version mismatch error message, don't mention probe-run.
1 parent afebfc5 commit c15f2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decoder/src/elf2table/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ pub fn parse_impl(elf: &[u8], check_version: bool) -> Result<Option<Table>, anyh
229229
fn check_version(version: &str) -> Result<(), String> {
230230
if !DEFMT_VERSIONS.contains(&version) {
231231
let msg = format!(
232-
"defmt wire format version mismatch: firmware is using {}, `probe-run` supports {}\nsuggestion: use a newer version of `defmt` or `cargo install` a different version of `probe-run` that supports defmt {}",
232+
"defmt wire format version mismatch: firmware is using {}, this tool supports {}\nsuggestion: install a newer version of this tool that supports defmt wire format version {}",
233233
version, DEFMT_VERSIONS.join(", "), version
234234
);
235235

0 commit comments

Comments
 (0)