mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
Update examples to defmt 0.3
Current version of probe-run is 0.3.3, which uses defmt 0.3.2. With a firmware using defmt 0.2, this causes the following error message: ``` Error: defmt wire format version mismatch: firmware is using 0.2, `probe-run` supports 3 suggestion: `cargo install` a different version of `probe-run` that supports defmt 0.2 ``` Therefore, upgrade defmt dependency, and also fix the linker script in .cargo/config.
This commit is contained in:
parent
32411b8652
commit
46110c0d32
|
@ -31,6 +31,7 @@ rustflags = [
|
|||
"-C", "link-arg=-Tlink.x",
|
||||
"-C", "inline-threshold=5",
|
||||
"-C", "no-vectorize-loops",
|
||||
"-C", "link-arg=-Tdefmt.x",
|
||||
]
|
||||
|
||||
# This runner will make a UF2 file and then copy it to a mounted RP2040 in USB
|
||||
|
|
|
@ -16,7 +16,7 @@ rp2040-boot2 = { version = "0.2.0", optional = true }
|
|||
rp2040-hal = { path = "../../rp2040-hal", version = "0.5.0" }
|
||||
cortex-m-rt = { version = "0.7.0", optional = true }
|
||||
embedded-hal = { version = "0.2.4", features = ["unproven"] }
|
||||
panic-probe = { version = "0.2.0", features = ["print-defmt"] }
|
||||
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
|
||||
embedded-time = "0.12.0"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -23,8 +23,8 @@ panic-halt= "0.2.0"
|
|||
nb = "1.0"
|
||||
embedded-graphics = "0.7.1"
|
||||
|
||||
defmt = "0.2.0"
|
||||
defmt-rtt = "0.2.0"
|
||||
defmt = "0.3.0"
|
||||
defmt-rtt = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
|
|
|
@ -23,8 +23,8 @@ embedded-hal ="0.2.5"
|
|||
smart-leds = "0.3.0"
|
||||
ws2812-pio = "0.3.0"
|
||||
|
||||
defmt = "0.2.0"
|
||||
defmt-rtt = "0.2.0"
|
||||
defmt = "0.3.0"
|
||||
defmt-rtt = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
|
|
|
@ -21,8 +21,8 @@ embedded-time = "0.12.0"
|
|||
panic-halt= "0.2.0"
|
||||
embedded-hal ="0.2.5"
|
||||
|
||||
defmt = "0.2.0"
|
||||
defmt-rtt = "0.2.0"
|
||||
defmt = "0.3.0"
|
||||
defmt-rtt = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
|
|
|
@ -37,8 +37,8 @@ hd44780-driver = "0.4.0"
|
|||
pio = "0.2.0"
|
||||
pio-proc = "0.2.1"
|
||||
|
||||
defmt = "0.2.0"
|
||||
defmt-rtt = "0.2.0"
|
||||
defmt = "0.3.0"
|
||||
defmt-rtt = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
|
|
|
@ -37,8 +37,8 @@ hd44780-driver = "0.4.0"
|
|||
pio = "0.2.0"
|
||||
pio-proc = "0.2.1"
|
||||
|
||||
defmt = "0.2.0"
|
||||
defmt-rtt = "0.2.0"
|
||||
defmt = "0.3.0"
|
||||
defmt-rtt = "0.3.0"
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt"]
|
||||
|
|
Loading…
Reference in a new issue