giga_r1/lib.rs
1#![no_std]
2//! Runtime-neutral board support for the dual-core Arduino GIGA R1 WiFi.
3//!
4//! `giga-r1` supplies typed board metadata, pin mappings, owned RGB LED
5//! controls, peripheral configuration helpers, a shared dual-core mailbox,
6//! and self-contained CYW4343W initialization. Public hardware interfaces use
7//! [`embedded_hal`] and, when enabled, [`embedded_hal_async`] traits; the crate
8//! does not require a particular MCU HAL or executor.
9//!
10//! Hardware families are opt-in through the `audio`, `ble`, `camera`, `can`,
11//! `display`, `dual-core`, `ipc`, `qspi`, `sdcard`, `usb`, and `wifi`
12//! features. Logging support is independently enabled with `defmt`.
13//!
14//! See the
15//! [repository examples](https://github.com/anapeksha/giga-r1-rs/tree/main/examples)
16//! for tested Cortex-M7 and Cortex-M4 applications.
17
18#[cfg(feature = "audio")]
19pub mod audio;
20#[cfg(feature = "ble")]
21pub mod ble;
22mod board;
23#[cfg(feature = "dual-core")]
24pub mod bridge;
25#[cfg(feature = "ipc")]
26pub mod ipc;
27pub mod led;
28pub mod pins;
29
30#[cfg(feature = "can")]
31pub mod can;
32#[cfg(feature = "qspi")]
33pub mod qspi;
34#[cfg(feature = "usb")]
35pub mod usb;
36#[cfg(feature = "wifi")]
37pub mod wifi;
38
39pub use board::{Board, Core, GigaInfo};