qemu-run

Crates.ioqemu-run
lib.rsqemu-run
version0.1.0
created_at2025-12-12 11:32:37.976005+00
updated_at2025-12-12 11:32:37.976005+00
descriptionRuns qemu-system-arm but decodes defmt data sent to semihosting
homepage
repositoryhttps://github.com/knurling-rs/defmt
max_upload_size
id1981392
size39,700
Jonathan Pallant (jonathanpallant)

documentation

README

qemu-run

Runs qemu-system-arm but decodes defmt data sent to semihosting

Using

Set as your cargo runner, e.g. in your .cargo/config.toml file:

[target.thumbv7em-none-eabihf]
runner = "qemu-run -machine lm3s6965evb"

It will execute qemu-system-arm, pass the given -machine argument, pass additional arguments to configure semihosting, and pipe semihosting data into defmt-decoder to be decoded and printed to the console.

Run qemu-run --help to see a list of other command-line arguments available.

Support

qemu-run is part of the Knurling project, Ferrous Systems' effort at improving tooling used to develop for embedded systems.

If you think that our work is useful, consider sponsoring it via GitHub Sponsors.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Commit count: 2295

cargo fmt