Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to defmt 0.2.0 #17

Merged
merged 1 commit into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ maintenance = { status = "actively-developed" }

[dependencies]
bitflags = "1.2.1"
defmt = "0.1.3"
defmt = "0.2.0"
vcell = "0.1.2"
nb = "1.0.0"
embedded-can = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ impl PartialEq for Data {
impl Eq for Data {}

impl Format for Data {
fn format(&self, fmt: &mut defmt::Formatter) {
fn format(&self, fmt: defmt::Formatter<'_>) {
self.as_ref().format(fmt)
}
}
Expand Down
10 changes: 5 additions & 5 deletions testsuite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ harness = false
bxcan = { path = ".." }
cortex-m = "0.6.3"
cortex-m-rt = "0.6.13"
defmt = "0.1.3"
defmt-rtt = "0.1.0"
defmt-test = "0.1.1"
panic-probe = "0.1.0"
#panic-probe = { version = "0.1.0", features = ["print-defmt"] }
defmt = "0.2.0"
defmt-rtt = "0.2.0"
defmt-test = "0.2.0"
panic-probe = "0.2.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"] }
Expand Down