extern crate common;
mod flash;
+mod bootloader;
use common::clock;
use common::usb_serial;
+const APPLICATION_ADDR: u32 = 0x0;
+
#[no_mangle]
pub unsafe extern fn main() {
clock::configure();
if true {
usb_serial::init();
+ let mut b = bootloader::Bootloader::new();
+
loop {
+ b.run();
}
}
}