mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add cramium target to xous-names
This commit is contained in:
parent
6920860427
commit
ea2e0cfbac
2 changed files with 4 additions and 2 deletions
|
|
@ -24,6 +24,8 @@ utralib = {version = "0.1.20", optional = true, default-features = false }
|
||||||
[target.'cfg(any(windows,unix))'.dependencies]
|
[target.'cfg(any(windows,unix))'.dependencies]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
cramium-soc = ["utralib/cramium-soc"]
|
||||||
|
cramium-fpga = ["utralib/cramium-fpga"]
|
||||||
precursor = ["utralib/precursor"]
|
precursor = ["utralib/precursor"]
|
||||||
hosted = ["utralib/hosted"]
|
hosted = ["utralib/hosted"]
|
||||||
renode = ["utralib/renode"]
|
renode = ["utralib/renode"]
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ enum ConnectSuccess {
|
||||||
// AuthenticationRequest
|
// AuthenticationRequest
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature="precursor", feature="renode"))]
|
#[cfg(any(feature="precursor", feature="renode", feature="cramium-fpga", feature="cramium-soc"))]
|
||||||
mod implementation {
|
mod implementation {
|
||||||
use utralib::generated::*;
|
use utralib::generated::*;
|
||||||
|
|
||||||
|
|
@ -83,7 +83,7 @@ mod implementation {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(not(target_os = "xous"),
|
#[cfg(any(not(target_os = "xous"),
|
||||||
not(any(feature="precursor", feature="renode", not(target_os = "xous"))) // default to pass crates.io build
|
not(any(feature="precursor", feature="renode", feature="cramium-fpga", feature="cramium-soc", not(target_os = "xous"))) // default to pass crates.io build
|
||||||
))]
|
))]
|
||||||
mod implementation {
|
mod implementation {
|
||||||
pub struct D11cTimeout {}
|
pub struct D11cTimeout {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue