add #![deny(missing_docs)] AND #![deny(warnings)] in main.rs, and add more comments

This commit is contained in:
Yu Chen 2022-03-25 11:17:40 +08:00
parent 2b53281dd8
commit 745ea760d0
20 changed files with 126 additions and 13 deletions

View file

@ -1 +1,3 @@
//! Constants used in rCore for K210 devel board
pub const CLOCK_FREQ: usize = 403000000 / 62;

View file

@ -1 +1,3 @@
//! Constants used in rCore for K210 devel board
pub const CLOCK_FREQ: usize = 12500000;