-
-
Notifications
You must be signed in to change notification settings - Fork 873
Expand file tree
/
Copy pathbcm.rs
More file actions
33 lines (27 loc) · 803 Bytes
/
bcm.rs
File metadata and controls
33 lines (27 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2023 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2026 Devansh Lodha <devanshlodha12@gmail.com>
//! BCM driver top level.
#[cfg(not(feature = "bsp_rpi5"))]
mod bcm2xxx_gpio;
#[cfg(feature = "bsp_rpi3")]
mod bcm2xxx_interrupt_controller;
mod bcm2xxx_pl011_uart;
#[cfg(not(feature = "bsp_rpi5"))]
pub use bcm2xxx_gpio::*;
#[cfg(feature = "bsp_rpi3")]
pub use bcm2xxx_interrupt_controller::*;
pub use bcm2xxx_pl011_uart::*;
#[cfg(feature = "bsp_rpi5")]
mod rp1_gpio;
#[cfg(feature = "bsp_rpi5")]
pub use rp1_gpio::*;
#[cfg(feature = "bsp_rpi5")]
mod bcm2712_ic;
#[cfg(feature = "bsp_rpi5")]
pub use bcm2712_ic::*;
#[cfg(feature = "bsp_rpi5")]
mod bcm2712_pcie;
#[cfg(feature = "bsp_rpi5")]
pub use bcm2712_pcie::*;