Fix k210 CLOCK_FREQ

This commit is contained in:
Yifan Wu 2021-01-26 15:33:23 +08:00
parent 40345eb3c2
commit 306c3a127d

View File

@ -9,7 +9,7 @@ pub const TRAMPOLINE: usize = usize::MAX - PAGE_SIZE + 1;
pub const TRAP_CONTEXT: usize = TRAMPOLINE - PAGE_SIZE;
#[cfg(feature = "board_k210")]
pub const CPU_FREQ: usize = 10000000;
pub const CLOCK_FREQ: usize = 403000000 / 62;
#[cfg(feature = "board_qemu")]
pub const CPU_FREQ: usize = 12500000;