aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/lpc55s69/Cargo.toml4
-rw-r--r--examples/lpc55s69/src/bin/log_to_defmt.rs18
2 files changed, 0 insertions, 22 deletions
diff --git a/examples/lpc55s69/Cargo.toml b/examples/lpc55s69/Cargo.toml
index 7e3b82432..6ec6e51a8 100644
--- a/examples/lpc55s69/Cargo.toml
+++ b/examples/lpc55s69/Cargo.toml
@@ -18,9 +18,5 @@ defmt-rtt = "1.0.0"
18panic-probe = { version = "1.0.0", features = ["print-defmt"] } 18panic-probe = { version = "1.0.0", features = ["print-defmt"] }
19panic-semihosting = "0.6.0" 19panic-semihosting = "0.6.0"
20 20
21[features]
22## To test all-logs mode
23log-to-defmt = ["embassy-nxp/log-to-defmt"]
24
25[profile.release] 21[profile.release]
26debug = 2 22debug = 2
diff --git a/examples/lpc55s69/src/bin/log_to_defmt.rs b/examples/lpc55s69/src/bin/log_to_defmt.rs
deleted file mode 100644
index 7aaab5e54..000000000
--- a/examples/lpc55s69/src/bin/log_to_defmt.rs
+++ /dev/null
@@ -1,18 +0,0 @@
1/// To test log-to-defmt feature, you have to run the binary file with the corresponding flag
2/// Example: cargo run --bin <file> --feature log-to-defmt
3
4
5#![no_std]
6#![no_main]
7
8use log::*;
9use embassy_executor::Spawner;
10use {defmt_rtt as _, panic_halt as _};
11
12#[embassy_executor::main]
13async fn main(_spawner: Spawner) {
14 info!("Hello World");
15 loop{
16 info!("Another test");
17 }
18}