Crates.io | defmt-rtt |
lib.rs | defmt-rtt |
version | 0.4.1 |
source | src |
created_at | 2020-11-11 16:15:06.45165 |
updated_at | 2024-05-13 16:29:15.430589 |
description | Transmit defmt log messages over the RTT (Real-Time Transfer) protocol |
homepage | |
repository | https://github.com/knurling-rs/defmt |
max_upload_size | |
id | 311285 |
size | 13,573 |
defmt-rtt
Transmit
defmt
log messages over the RTT (Real-Time Transfer) protocol
defmt
("de format", short for "deferred formatting") is a highly efficient logging framework that targets resource-constrained devices, like microcontrollers.
The fastest way to get started with defmt
is to use our app-template to set up a new Cortex-M embedded project.
For more details about the framework check the book at https://defmt.ferrous-systems.com
When in a tight memory situation and logging over RTT, the buffer size (default: 1024 bytes) can be configured with the DEFMT_RTT_BUFFER_SIZE
environment variable. Use a power of 2 for best performance.
defmt-rtt
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.
Licensed under either of
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.