You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
344 B
Rust
18 lines
344 B
Rust
5 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
//
|
||
|
// Copyright (c) 2018-2019 Andre Richter <andre.o.richter@gmail.com>
|
||
|
|
||
|
//! Drivers.
|
||
|
|
||
|
#[cfg(feature = "bsp_rpi3")]
|
||
|
mod bcm2837_gpio;
|
||
|
|
||
|
#[cfg(feature = "bsp_rpi3")]
|
||
|
mod bcm2xxx_mini_uart;
|
||
|
|
||
|
#[cfg(feature = "bsp_rpi3")]
|
||
|
pub use bcm2837_gpio::GPIO;
|
||
|
|
||
|
#[cfg(feature = "bsp_rpi3")]
|
||
|
pub use bcm2xxx_mini_uart::MiniUart;
|