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 board;
10#[cfg(all(feature = "esp-hal", target_arch = "xtensa"))]
11pub mod bsp;
12pub mod devices;
13pub mod display;
14pub mod pins;
15pub mod power;
16
17#[cfg(feature = "gateway-h2")]
18pub mod gateway_h2;
19
20pub use board::{Board, CoreS3};
21
22#[cfg(test)]
23extern crate std;