Skip to main content

core_s3/
lib.rs

1#![no_std]
2
3//! Typed board metadata and small reusable drivers for the M5Stack CoreS3.
4//!
5//! The crate intentionally keeps most APIs HAL-agnostic. Examples can bind these
6//! constants and helper types to `esp-hal`, while tests and UI code can exercise
7//! display logic on the host.
8
9pub mod audio;
10pub mod aw9523b;
11pub mod board;
12#[cfg(all(feature = "esp-hal", target_arch = "xtensa"))]
13pub mod bsp;
14pub mod devices;
15pub mod display;
16pub mod motion;
17pub mod pins;
18pub mod power;
19pub mod rtc;
20pub mod sd;
21pub mod touch;
22pub mod ui;
23
24#[cfg(feature = "gateway-h2")]
25pub mod gateway_h2;
26
27pub use board::{Board, CoreS3};
28
29#[cfg(test)]
30extern crate std;