use common::gps;
use common::screen;
use common::time::Time;
+use common::mx25l::Mx25l;
+use common::shell::Shell;
extern {
fn enable_interrupts();
nvic::enable_irq(12); // UART0
+ 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;
}
});
+ shell.update(&mut mx25l);
+
if reset_requested() {
nvic::system_reset();
}