We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00030e8 commit 6f4fcd7Copy full SHA for 6f4fcd7
.cargo/config.toml
@@ -2,6 +2,8 @@
2
runner = 'probe-rs run --protocol=swd --chip STM32F042K6'
3
rustflags = [
4
"-C", "link-arg=-Tlink.x",
5
+ "-C", "link-arg=--nmagic",
6
+ "-C", "link-arg=-Tdefmt.x",
7
]
8
9
[build]
examples/defmt.rs
@@ -3,7 +3,6 @@
use panic_halt as _;
use defmt_rtt as _;
-use defmt as _;
use stm32f0xx_hal as _;
@@ -12,7 +11,6 @@ use cortex_m_rt::entry;
12
11
#[entry]
13
fn main() -> ! {
14
defmt::println!("Hello, world!");
15
- defmt::timestamp!("Hello, world!");
16
17
loop { }
18
}
0 commit comments