Remove K210 support.
This commit is contained in:
parent
82aff1d510
commit
19964a0ced
3 changed files with 1 additions and 11 deletions
|
@ -11,9 +11,5 @@ riscv = { git = "https://github.com/rcore-os/riscv", features = ["inline-asm"] }
|
||||||
lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
|
lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
|
||||||
cfg-if = { version = "1.0.0" }
|
cfg-if = { version = "1.0.0" }
|
||||||
|
|
||||||
[features]
|
|
||||||
board_qemu = []
|
|
||||||
board_k210 = []
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = true
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
//! Constants used in rCore for K210 devel board
|
|
||||||
|
|
||||||
pub const CLOCK_FREQ: usize = 403000000 / 62;
|
|
|
@ -23,12 +23,9 @@
|
||||||
|
|
||||||
use core::arch::global_asm;
|
use core::arch::global_asm;
|
||||||
|
|
||||||
#[cfg(feature = "board_k210")]
|
|
||||||
#[path = "boards/k210.rs"]
|
|
||||||
mod board;
|
|
||||||
#[cfg(not(any(feature = "board_k210")))]
|
|
||||||
#[path = "boards/qemu.rs"]
|
#[path = "boards/qemu.rs"]
|
||||||
mod board;
|
mod board;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
mod console;
|
mod console;
|
||||||
mod config;
|
mod config;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue