defmt
defmt copied to clipboard
Efficient, deferred formatting for logging on embedded systems
Run `cargo-semver-checks` in CI for every pull request. This is to ensure we do not accidentally break the API of our crates (again 😅). When a PR does break the...
## Problem With the changes introduced in PR #765 it is not possible to show the location of test functions with the stdout logger. Only `(/) running ...` will be...
I just realized that `probe-rs` does not set RTT to blocking, at least that is how I understand the documentation ([link](https://github.com/probe-rs/probe-rs/blob/e42b0badd7c2c90e41ceea1b8ca8e69731249fc4/probe-rs/src/rtt.rs#L3-L6)). While this is generally good, this means the `defmt-rtt`...
...and while already working with this repo, add some info about `mdbook` to make future writers life a bit easier.
This impl is useful for panic handlers that use `defmt` to report panics, for example, `panic_probe` with the `defmt` feature. The default `core::fmt` implementation for `PanicInfo` pulls in number formatting,...
There are a number of potential uses of `defmt` that don't actually require the ELF binary, such as: * Using `defmt` in device logs for compact storage * Using `defmt`...
I have updated the default log format to something I consider more sensible. Whether this proposal is the best default or not is of course a very subjective matter. The...
I have a file name 00_Hello_world in my bin folder which contains the following code: ```rust #![no_std] #![no_main] use embassy_executor::Spawner; use embassy_stm32::gpio::{Level, Output, Speed}; use embassy_time::Timer; use {defmt_rtt as _,...
This might seem like a longshot but how would I go about supporting defmt logs in [PlotJuggler](https://github.com/facontidavide/PlotJuggler)? My idea is to bring the functionality similar to Arduino's Serial Plotter to...
Currently published [defmt book](https://defmt.ferrous-systems.com/) seems to be seriously outdated as its version is: `commit e1fd1e6 on 2024-02-07 19:08:44`.