Add initial project structure and implement async main for Pico W
This commit is contained in:
@@ -23,11 +23,14 @@ static_cell = "2.1.0"
|
||||
portable-atomic = { version = "1.11.0", features = ["critical-section"] }
|
||||
|
||||
[lib]
|
||||
test = false
|
||||
harness = false
|
||||
|
||||
[[bin]]
|
||||
name = "rusty-dog"
|
||||
test = false
|
||||
path = "src/main.rs"
|
||||
|
||||
[[test]]
|
||||
name = "example_test"
|
||||
harness = false
|
||||
+1
-1
@@ -2,8 +2,8 @@
|
||||
#![no_main]
|
||||
|
||||
use defmt_rtt as _;
|
||||
use panic_probe as _;
|
||||
use embassy_executor::Spawner;
|
||||
use panic_probe as _;
|
||||
|
||||
#[embassy_executor::main]
|
||||
async fn main(_spawner: Spawner) {
|
||||
|
||||
Reference in New Issue
Block a user