From: Tilman Sauerbeck Date: Wed, 8 Jan 2020 10:50:50 +0000 (+0100) Subject: application: Integrate flash storage via Mx25l. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=5897e4ea6cc3ba413190f475a29bb3f745b66887;p=gps-watch.git application: Integrate flash storage via Mx25l. --- 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;