@@ -71,30 +71,19 @@ If this simple logger implementation isn't sufficient for your needs, you can im
71
71
72
72
## ` defmt `
73
73
74
- Using the ` defmt-espflash ` feature, esp-println will install a defmt global logger. The logger will
74
+ Using the ` defmt-espflash ` feature, ` esp-println ` will install a ` defmt ` global logger. The logger will
75
75
output to the same data stream as ` println!() ` , and adds framing bytes so it can be used even with
76
- other, non-defmt output. Using the ` defmt-espflash ` feature automatically uses the Rzcobs encoding and does
76
+ other, non-` defmt ` output. Using the ` defmt-espflash ` feature automatically uses the [ rzCOBS ] encoding and does
77
77
not allow changing the encoding.
78
78
79
79
Follow the [ ` defmt ` book's setup instructions] on how to
80
80
set up ` defmt ` . Remember, the global logger is already installed for you by ` esp-println ` !
81
81
82
- # ` esp-backtrace `
83
-
84
- ` esp-println ` is usually used alongside [ ` esp-backtrace ` ] . When using this
85
- two crates together, make sure to use the same communication methods for
86
- both dependencies. Table matching features:
87
- | ` esp-println ` | ` esp-backtrace ` |
88
- | ------------- | ------------------- |
89
- | ` uart ` | ` print-uart ` |
90
- | ` jtag-serial ` | ` print-jtag-serial ` |
91
-
92
82
[ `defmt` ] : https://github.com/knurling-rs/defmt
93
83
[ `log` crate ] : https://github.com/rust-lang/log
94
84
[ rzCOBS ] : https://github.com/Dirbaio/rzcobs
95
85
[ `espflash` ] : https://github.com/esp-rs/espflash
96
86
[ disable the default features ] : https://doc.rust-lang.org/cargo/reference/features.html#the-default-feature
97
- [ `esp-backtrace` ] : https://github.com/esp-rs/esp-backtrace
98
87
[ Implementing a Logger section log documentaion ] : https://docs.rs/log/0.4.17/log/#implementing-a-logger
99
88
[ `defmt` book's setup instructions ] : https://defmt.ferrous-systems.com/setup
100
89
0 commit comments