defmt-semihosting

Crates.iodefmt-semihosting
lib.rsdefmt-semihosting
version0.1.0
sourcesrc
created_at2024-11-27 18:31:48.718492
updated_at2024-11-27 18:31:48.718492
descriptionTransmit defmt log messages over the Cortex-M Semihosting protocol
homepage
repositoryhttps://github.com/knurling-rs/defmt
max_upload_size
id1463495
size17,591
crate-owners (github:knurling-rs:crate-owners)

documentation

README

defmt-semihosting

Transmit defmt log messages over the Cortex-M Debugger Semihosting protocol.

defmt ("de format", short for "deferred formatting") is a highly efficient logging framework that targets resource-constrained devices, like microcontrollers.

For more details about the framework check the book at https://defmt.ferrous-systems.com

Note that Semihosting operations are very slow. This is really only useful if you are running in QEMU can hence can't use RTT. See https://github.com/ferrous-systems/rust-training/tree/9d5f48c9a62ccadb11d942847de47146b15638d0/example-code/qemu-thumbv7em for an example of using this crate with QEMU.

Support

defmt-semihosting 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: 2176

cargo fmt