Add boards/ && cargo clippy

This commit is contained in:
Yifan Wu 2022-01-24 16:12:56 -08:00
parent 3a120122ba
commit 3731e84460
10 changed files with 33 additions and 32 deletions

View file

@ -14,8 +14,4 @@ pub fn kernel_stack_position(app_id: usize) -> (usize, usize) {
(bottom, top)
}
#[cfg(feature = "board_k210")]
pub const CLOCK_FREQ: usize = 403000000 / 62;
#[cfg(feature = "board_qemu")]
pub const CLOCK_FREQ: usize = 12500000;
pub use crate::board::CLOCK_FREQ;