update defmt deps to v0.3 (#56)
* bump defmt to v0.3 remove Cargo features which are no longer needed * remove `timestamp!` it's no longer mandatory and a monotonic counter does not add much value given that `defmt-rtt` works by disabling interrupts so one won't see logs out of order anyways (which would the case for a lock-free multi-channel `Logger`) * use println! in most the examples so that all examples print something when `DEFMT_LOG` is unset * make overflow example terminate in less steps also include an estimate of the stack pointer to show the stack grows downwards towards the RAM boundary
This commit is contained in:
+5
-20
@@ -9,29 +9,14 @@ version = "0.1.0"
|
||||
members = ["testsuite"]
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.7.1"
|
||||
cortex-m-rt = "0.6.13"
|
||||
defmt = "0.2.0"
|
||||
defmt-rtt = "0.2.0"
|
||||
panic-probe = { version = "0.2.0", features = ["print-defmt"] }
|
||||
cortex-m = "0.7.3"
|
||||
cortex-m-rt = "0.7.0"
|
||||
defmt = "0.3.0"
|
||||
defmt-rtt = "0.3.0"
|
||||
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
|
||||
# TODO(4) enter your HAL here
|
||||
# some-hal = "1.2.3"
|
||||
|
||||
[features]
|
||||
# set logging levels here
|
||||
default = [
|
||||
"defmt-default",
|
||||
# "dependency-a/defmt-trace",
|
||||
]
|
||||
|
||||
# do NOT modify these features
|
||||
defmt-default = []
|
||||
defmt-trace = []
|
||||
defmt-debug = []
|
||||
defmt-info = []
|
||||
defmt-warn = []
|
||||
defmt-error = []
|
||||
|
||||
# cargo build/run
|
||||
[profile.dev]
|
||||
codegen-units = 1
|
||||
|
||||
Reference in New Issue
Block a user