Skip to content

Commit

Permalink
Update defmt from 0.2 to 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM committed Nov 11, 2021
1 parent ae3d995 commit 0746ab4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ package = "embedded-can"

[dependencies.defmt]
optional = true
version = "0.2.3"
version = ">=0.2.3,<0.4.0"

[features]
unstable-defmt = ["defmt"]
Expand Down
30 changes: 7 additions & 23 deletions testsuite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,19 @@ name = "interrupts"
harness = false

[dependencies]
cortex-m = "0.6.3"
cortex-m-rt = "0.6.13"
defmt = "0.2.0"
defmt-rtt = "0.2.0"
defmt-test = "0.2.0"
panic-probe = "0.2.0"
cortex-m = "0.7.3"
cortex-m-rt = "0.7.0"
defmt = "0.3.0"
defmt-rtt = "0.3.0"
defmt-test = "0.3.0"
panic-probe = "0.3.0"
#panic-probe = { version = "0.2.0", features = ["print-defmt"] }
# NB: We use F107 here, which seems to share its SVD file with the F105. The difference is that the
# 107 has Ethernet, but we don't use that.
stm32f1 = { version = "0.12.1", features = ["stm32f107", "rt"] }
stm32f1 = { version = "0.14.0", features = ["stm32f107", "rt"] }
nb = "1.0.0"
irq = "0.2.3"

[dependencies.bxcan]
path = ".."
features = ["unstable-defmt"]

[features]
# set logging levels here
default = [
# in tests, enable all logs
"defmt-trace",
# "dependency-a/defmt-trace",
]

# do NOT modify these features
defmt-default = []
defmt-trace = []
defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []

0 comments on commit 0746ab4

Please sign in to comment.