common: Add the spi module.
[gps-watch.git] / src / common / lib.rs
index 3ed90e8b70cd52bb48da04e3909c6ba636423a77..c74704c4ef5612b9f7803e31c146d6d0c030f2e8 100644 (file)
 #![no_std]
 #![crate_name="common"]
 #![crate_type="rlib"]
-#![feature(lang_items)]
 
-#[lang="eh_personality"]
-extern fn eh_personality() {
-}
-
-#[lang="panic_fmt"]
-#[no_mangle]
-pub fn rust_begin_unwind(_fmt: &core::fmt::Arguments, _file_line: &(&'static str, usize)) -> ! {
-    loop {
-    }
-}
+pub mod register;
+pub mod nvic;
+pub mod clock;
+pub mod systick;
+pub mod port;
+pub mod gpio;
+pub mod i2c;
+pub mod spi;
+pub mod uart;
+pub mod watchdog;
+pub mod crc32;
+pub mod ringbuf;
+pub mod buffer;
+pub mod usb_serial;
+pub mod screen;
+pub mod display;
+pub mod gps;
+pub mod fmt;
+pub mod time;