projects
/
gps-watch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
application: Visualize GPS fix state using the satellite icons.
[gps-watch.git]
/
src
/
common
/
lib.rs
diff --git
a/src/common/lib.rs
b/src/common/lib.rs
index ac388b4234656a6a132dd6373eb2801706bdd14f..2cae469cae338305e7f4c021aaa28ad0e51472e6 100644
(file)
--- a/
src/common/lib.rs
+++ b/
src/common/lib.rs
@@
-24,19
+24,29
@@
#![no_std]
#![crate_name="common"]
#![crate_type="rlib"]
#![no_std]
#![crate_name="common"]
#![crate_type="rlib"]
-#![feature(lang_items)]
pub mod register;
pub mod nvic;
pub mod clock;
pub mod register;
pub mod nvic;
pub mod clock;
+pub mod systick;
+pub mod port;
+pub mod gpio;
+pub mod i2c;
+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;
-#[lang="eh_personality"]
-extern fn eh_personality() {
-}
+use core::panic::PanicInfo;
-#[
lang="panic_fmt"
]
-#[
no_mangle
]
-
pub fn rust_begin_unwind(_fmt: &core::fmt::Arguments, _file_line: &(&'static str, usize)
) -> ! {
+#[
inline(never)
]
+#[
panic_handler
]
+
fn panic(_info: &PanicInfo
) -> ! {
loop {
}
}
loop {
}
}