Add boards/ && cargo clippy
This commit is contained in:
parent
3a120122ba
commit
3731e84460
10 changed files with 33 additions and 32 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue