rivet_bsp_support/lib.rs
1//! Shared helpers for `rivet-bsp-*` crates.
2//!
3//! Small, board-shape-agnostic pieces that would otherwise be
4//! reimplemented per board: a software watchdog fallback for boards
5//! without real watchdog hardware, and an NS16550-compatible UART driver
6//! (the most common "some UART is mapped somewhere" case on RV32
7//! platforms). Nothing here is wired to the port contract directly —
8//! each BSP's own `#[no_mangle]` functions call into these.
9
10#![no_std]
11
12pub mod delay;
13pub mod ns16550;
14pub mod serial;
15pub mod sw_watchdog;