From 5897e4ea6cc3ba413190f475a29bb3f745b66887 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Wed, 8 Jan 2020 11:50:50 +0100 Subject: [PATCH] application: Integrate flash storage via Mx25l. --- src/application/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/application/main.rs b/src/application/main.rs index 4096dc4..cf06f64 100644 --- a/src/application/main.rs +++ b/src/application/main.rs @@ -43,6 +43,7 @@ use common::display; use common::gps; use common::screen; use common::time::Time; +use common::mx25l::Mx25l; use common::shell::Shell; extern { @@ -189,6 +190,8 @@ pub unsafe extern "C" fn _start() -> ! { let mut shell = Shell::new(&mut cdc_tx_buf); + let mut mx25l = Mx25l::new(gpio::GPIOD, 1 << 0); + let mut gps = gps::Gps::new(); let mut gps_has_fix = false; -- 2.30.2