Add initial project structure and implement async main for Pico W

This commit is contained in:
2026-06-04 14:46:22 -05:00
parent 688e5b404b
commit b1d9594b25
15 changed files with 79 additions and 9 deletions
View File
View File
View File
View File
+4
View File
@@ -0,0 +1,4 @@
#![no_std]
// Logic and hardware-independent code goes here.
// This allows you to run `cargo test` on your host machine.
+10 -2
View File
@@ -1,3 +1,11 @@
fn main() {
println!("Hello from Rust skeletal app. Edit src/main.rs to get started!");
#![no_std]
#![no_main]
use defmt_rtt as _;
use panic_probe as _;
use embassy_executor::Spawner;
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
defmt::info!("Hello from the Pico W!");
}
View File
+2
View File
@@ -0,0 +1,2 @@
mod mqtt;
mod wifi;
View File
View File