uni_core/hardware/mod.rs
1//! Hardware-specific primitives for embedded targets
2//!
3//! Each hardware platform provides primitives for direct hardware access
4//! (buttons, LEDs, GPIO, etc.). These are feature-gated and only compiled
5//! when the corresponding hardware feature is enabled.
6//!
7//! Hardware features are optional - you can build uni-core without any
8//! hardware support for use in desktop/server environments.
9
10// Linux/desktop time source (requires std)
11#[cfg(feature = "std")]
12pub mod linux_time;
13
14#[cfg(feature = "hardware-microbit")]
15pub mod microbit;
16
17#[cfg(feature = "hardware-pico2")]
18pub mod pico2;