Remove K210 support.

This commit is contained in:
Yifan Wu 2022-12-14 00:04:55 +08:00
parent 82aff1d510
commit 19964a0ced
3 changed files with 1 additions and 11 deletions

View file

@ -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

View file

@ -1,3 +0,0 @@
//! Constants used in rCore for K210 devel board
pub const CLOCK_FREQ: usize = 403000000 / 62;

View file

@ -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;