defmt
defmt copied to clipboard
Efficient, deferred formatting for logging on embedded systems
I'm using defmt as my logging library. I like the efficiency that it enables. However sometimes, I want to be able to view the data without running a printer on...
- Useful for tracking RUSTSEC advisories Not sure if there is any interest in this. There are at least two RUSTSEC advisories for defmt dependencies right now. ```bash [main]: cargo...
The `esp32c3` is a riscv based cpu, _without_ the atomic extension. Unlike the arm `thumbv6` target, it does _not_ have atomic load/stores for the following types `u8`, `u16`, `u32`, which...
The log of a big Vec is buggy (it doesn't happen for a small one), for example, with this example code the log is not displayed. ```rust #![no_std] #![no_main] extern...
When panic-probe depends on rtt-target 0.4 while the binary depends on version 0.5, the panics will fail to print. Hence the bump.
Our team is using defmt-test as a foundation for several unit and integration tests. Our target processor is a Cortex R core, and we build for the following architecture targets:...
The code at https://github.com/knurling-rs/defmt/blob/4db33ca5df8d7a7b5d9036c49b1ea535cc3986c0/firmware/defmt-rtt/src/lib.rs#L140 uses a `static mut`. It goes to some trouble to ensure that the `handle()` function cannot be called twice, but perhaps we can use the type...
Hello, I am using defmt_rtt in an Embassy application. In order to view output messages using probe_rs, I was forced to change the jlink usb driver. I had previously attempted...
I don't know whether is general, but in my case this causes that in a "backtrace list" we miss the most important item, the point where the "user code" exactly...
The readme states the MSRV is the latest stable Rust, but I think now that defmt is a staple in the embedded-rust ecosystem you should consider picking an MSRV and...