feat: add basic fat32 read functionality

This commit is contained in:
2021-10-29 11:31:05 +03:00
parent b6a0710f0c
commit 9f62396ebc
16 changed files with 695 additions and 202 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ pub fn local_timer() -> &'static GenericTimer {
}
static IRQCHIP: Bcm283xIrqchip = Bcm283xIrqchip::new();
static EMMC: MassMediaController = unsafe { MassMediaController::new(EMMC_BASE) };
pub static EMMC: MassMediaController = unsafe { MassMediaController::new(EMMC_BASE) };
static UART: Pl011 = unsafe { Pl011::new(UART_BASE, UART_IRQ) };
pub(self) static BCM_MBOX: Bcm283xMailbox = unsafe { Bcm283xMailbox::new(BCM_MBOX_BASE) };
static LOCAL_TIMER: GenericTimer = GenericTimer::new(LOCAL_TIMER_IRQ);