kernel: add arm features and deps to Cargo.toml

This commit is contained in:
eupn 2023-03-14 18:39:19 +04:00
parent 10bffc55b6
commit 618392ca52
No known key found for this signature in database
GPG key ID: 0BBE77FB42014014

View file

@ -25,7 +25,15 @@ xous-kernel = { package = "xous", version = "0.9.35", features = [
[target.'cfg(target_arch = "riscv32")'.dependencies]
riscv = { version = "0.5.6", package = "xous-riscv" } # source is in "../imports/riscv-0.5.6"
[target.'cfg(target_arch = "arm")'.dependencies]
armv7 = { git = "https://github.com/Foundation-Devices/armv7.git", branch = "update" }
atsama5d27 = { git = "ssh://git@github.com/Foundation-Devices/atsama5d27.git", branch = "master" }
xous-kernel = { package = "xous", version = "0.9.33", features = [
"v2p",
] }
[features]
atsama5d27 = ["utralib/atsama5d27"]
precursor = ["utralib/precursor"]
hosted = ["utralib/hosted"]
renode = ["utralib/renode"]