Docs: add RTIC logo

This commit is contained in:
Henrik Tjäder 2021-11-25 10:04:37 +01:00
parent 4f2dd875ff
commit 2e5c6f8e36
2 changed files with 9 additions and 0 deletions

View file

@ -1,5 +1,10 @@
// #![deny(warnings)] // #![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; extern crate proc_macro;
use proc_macro::TokenStream; use proc_macro::TokenStream;

View file

@ -34,6 +34,10 @@
#![deny(rust_2018_idioms)] #![deny(rust_2018_idioms)]
#![deny(warnings)] #![deny(warnings)]
#![no_std] #![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}; use cortex_m::{interrupt::InterruptNumber, peripheral::NVIC};
pub use cortex_m_rtic_macros::app; pub use cortex_m_rtic_macros::app;