aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@grepit.se>2021-11-25 10:04:37 +0100
committerHenrik Tjäder <henrik@grepit.se>2021-11-25 10:06:58 +0100
commit2e5c6f8e36afca64b307cde04cf33e3d068be769 (patch)
tree58248fadd494e30289461daf16b011dc8b65f345
parent4f2dd875ffc9740b35b99adc11623266398275e0 (diff)
Docs: add RTIC logo
-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 6ac7e2a..02d472d 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 c96b53c..71cc86b 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;