diff --git a/Cargo.lock b/Cargo.lock index ab27109..cccde7e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -268,9 +268,9 @@ dependencies = [ [[package]] name = "defmt-rtt" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cac3b8a5644a9e02b75085ebad3b6deafdbdbdec04bb25086523828aa4dfd1" +checksum = "93d5a25c99d89c40f5676bec8cefe0614f17f0f40e916f98e345dae941807f9e" dependencies = [ "critical-section", "defmt 1.0.1", diff --git a/Cargo.toml b/Cargo.toml index 65c4e28..a40927a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ embassy-usb = { version = "0.4.0", features = ["defmt"] } embassy-futures = { version = "0.1.0"} defmt = "1.0.1" -defmt-rtt = "1.0.0" +defmt-rtt = "1.1.0" bitflags = "2.9.4" diff --git a/src/main.rs b/src/main.rs index a1303bf..f3f88cd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -67,6 +67,10 @@ async fn main(spawner: Spawner) { } let p = embassy_stm32::init(config); + + // Small delay to allow power to stabilize + Timer::after_millis(100).await; + info!("Hello World!"); // let mut led = Output::new(p.PA5, Level::High, Speed::Low);