Skip to content

Commit 5741861

Browse files
committed
Convert all logging to defmt
1 parent 625502c commit 5741861

File tree

8 files changed

+287
-81
lines changed

8 files changed

+287
-81
lines changed

.cargo/config.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
[target.riscv32imac-unknown-none-elf]
22
runner = "probe-rs run --chip=esp32c6 --preverify --always-print-stacktrace --no-location --catch-hardfault"
33

4-
[env]
5-
64
[build]
75
rustflags = [
86
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
97
# NOTE: May negatively impact performance of produced code
108
"-C", "force-frame-pointers",
9+
# Needed for the defmt package
10+
# "-C", "link-arg=-Tlink.x",
11+
"-C", "link-arg=-Tdefmt.x",
1112
]
1213

1314
target = "riscv32imac-unknown-none-elf"
1415

1516
[unstable]
1617
build-std = ["alloc", "core"]
18+
19+

0 commit comments

Comments
 (0)