bootloader: Add the flash module.
[gps-watch.git] / src / bootloader / main.rs
index 198eb44e88355a21a44b746fb10d198a604a5054..16255f601b4a0c2ab8874fe19d434174a3312a59 100644 (file)
 
 extern crate common;
 
+mod flash;
+
+use common::clock;
+use common::usb_serial;
+
 #[no_mangle]
 pub unsafe extern fn main() {
-    loop {
+    clock::configure();
+
+    if true {
+        usb_serial::init();
+
+        loop {
+        }
     }
 }