// SPDX-License-Identifier: MIT OR Apache-2.0 // // Copyright (c) 2018-2019 Andre Richter //! The board's memory map. /// Physical devices. #[rustfmt::skip] pub mod mmio { #[cfg(feature = "bsp_rpi3")] pub const BASE: usize = 0x3F00_0000; #[cfg(feature = "bsp_rpi4")] pub const BASE: usize = 0xFE00_0000; pub const GPIO_BASE: usize = BASE + 0x0020_0000; pub const PL011_UART_BASE: usize = BASE + 0x0020_1000; }