1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//! Board support crate for HiFive1 and LoFive boards

#![deny(missing_docs)]
#![deny(warnings)]
#![no_std]

pub extern crate e310x_hal as hal;

pub mod clock;
#[cfg(feature = "board-hifive1")]
pub mod led;
pub mod serial;

#[cfg(feature = "board-hifive1")]
pub use led::{RED, GREEN, BLUE, rgb, Led};
pub use serial::{TX, RX, TxPin, RxPin, tx_rx};