Fix k210 CLOCK_FREQ
This commit is contained in:
parent
fad341d03d
commit
77ba429c77
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ pub const TRAMPOLINE: usize = usize::MAX - PAGE_SIZE + 1;
|
||||||
pub const TRAP_CONTEXT: usize = TRAMPOLINE - PAGE_SIZE;
|
pub const TRAP_CONTEXT: usize = TRAMPOLINE - PAGE_SIZE;
|
||||||
|
|
||||||
#[cfg(feature = "board_k210")]
|
#[cfg(feature = "board_k210")]
|
||||||
pub const CPU_FREQ: usize = 10000000;
|
pub const CLOCK_FREQ: usize = 403000000 / 62;
|
||||||
|
|
||||||
#[cfg(feature = "board_qemu")]
|
#[cfg(feature = "board_qemu")]
|
||||||
pub const CPU_FREQ: usize = 12500000;
|
pub const CPU_FREQ: usize = 12500000;
|
Loading…
Add table
Add a link
Reference in a new issue