Comments (4)
I'm not too familiar with defmt to be honest. Probably error!()
is more like dbg!
from the std-lib, then?
Sounds like you probably only want one invocation of error!
in your implementation
By "should I add this functionality to esp-println
" you mean printing the source code location? I don't think we should do that for println
but if you like you can add a dbg
macro just like https://github.com/rust-lang/rust/blob/efa717bc2d82c19c6957f362a936a6f95169d138/library/std/src/macros.rs#L339-L361 to esp-println
Otherwise, happy to receive a PR for this
from esp-backtrace.
By "should I add this functionality to esp-println" you mean printing the source code location?
No, I meant should I add a print-defmt
feature to esp-println
. I'm not sure if its a good match because defmt
introduces its own formatting by attaching line numbers and log levels to each print. See this example:
from esp-backtrace.
I'm just starting to learn defmt
myself, but esp-println
at least has support for it now. Maybe somebody can tackle this issue.
from esp-backtrace.
I guess this is covered by #43
from esp-backtrace.
Related Issues (15)
- Prettier panic formatting? HOT 4
- Adapt to changed ESP32-C3 trap frame
- Add support for the ESP32-C6
- Add support for the ESP32-H2
- Give a hint if there are no backtrace entries on RISCV
- Sleep modes? Are they available? How can I put my esp32 to deep sleep? HOT 1
- Halt all cores in case of a panic (on multi core targets)
- Prefix exception handler values with '0x'
- Extend `is_valid_ram_address` to LP (RTC) memories HOT 5
- file not found for module `arch` HOT 6
- Add support for the ESP32-P4
- Document that `"-C", "force-frame-pointers"` is only necessary on RISCV targets
- `colors` features not compatible with `panic-handler` feature HOT 1
- backtrace printings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-backtrace.