From bfa4501cd703149f4720a4ef6cdbe74ef6c3e361 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sun, 30 Aug 2026 17:35:22 -0400 Subject: Add RP2040 support --- crates/rp-pico-2040/src/main.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 crates/rp-pico-2040/src/main.rs (limited to 'crates/rp-pico-2040/src/main.rs') diff --git a/crates/rp-pico-2040/src/main.rs b/crates/rp-pico-2040/src/main.rs new file mode 100644 index 0000000..b155870 --- /dev/null +++ b/crates/rp-pico-2040/src/main.rs @@ -0,0 +1,11 @@ +use rust_threadx_rp_pico_2040 as _; + +use std::{thread, time::Duration}; + +fn main() { + // Nothing interesting yet. Nevertheless, the LED should + // be blinking on a background thread. + loop { + thread::sleep(Duration::from_millis(100)); + } +} -- cgit v1.2.3