aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macros/src/lib.rs5
-rw-r--r--src/lib.rs4
2 files changed, 9 insertions, 0 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index 6ac7e2a4..02d472d1 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -1,5 +1,10 @@
// #![deny(warnings)]
+#![doc(
+ html_logo_url = "https://raw.githubusercontent.com/rtic-rs/cortex-m-rtic/master/book/en/src/RTIC.svg",
+ html_favicon_url = "https://raw.githubusercontent.com/rtic-rs/cortex-m-rtic/master/book/en/src/RTIC.svg"
+)]
+
extern crate proc_macro;
use proc_macro::TokenStream;
diff --git a/src/lib.rs b/src/lib.rs
index c96b53c7..71cc86b2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -34,6 +34,10 @@
#![deny(rust_2018_idioms)]
#![deny(warnings)]
#![no_std]
+#![doc(
+ html_logo_url = "https://raw.githubusercontent.com/rtic-rs/cortex-m-rtic/master/book/en/src/RTIC.svg",
+ html_favicon_url = "https://raw.githubusercontent.com/rtic-rs/cortex-m-rtic/master/book/en/src/RTIC.svg"
+)]
use cortex_m::{interrupt::InterruptNumber, peripheral::NVIC};
pub use cortex_m_rtic_macros::app;