mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
wip
This commit is contained in:
parent
baa3df4b0f
commit
fffbb9371f
2 changed files with 5 additions and 2 deletions
|
|
@ -22,6 +22,7 @@ artybio = [
|
||||||
"linked_list_allocator",
|
"linked_list_allocator",
|
||||||
"xous-bio-bdma/artybio",
|
"xous-bio-bdma/artybio",
|
||||||
"xous-bio-bdma/baremetal",
|
"xous-bio-bdma/baremetal",
|
||||||
|
"nto-bio"
|
||||||
]
|
]
|
||||||
artyvexii = ["utralib/artyvexii", "linked_list_allocator"]
|
artyvexii = ["utralib/artyvexii", "linked_list_allocator"]
|
||||||
v0p9 = []
|
v0p9 = []
|
||||||
|
|
|
||||||
|
|
@ -224,7 +224,7 @@ impl Repl {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "nto-bio")]
|
#[cfg(feature = "nto-bio")]
|
||||||
"bio_test" => {
|
"bio" => {
|
||||||
crate::println!("--- Starting On-Demand BIO Test Suite ---");
|
crate::println!("--- Starting On-Demand BIO Test Suite ---");
|
||||||
// Local counter to replace `self.passing_tests` from the TestRunner
|
// Local counter to replace `self.passing_tests` from the TestRunner
|
||||||
let mut passing_tests = 0;
|
let mut passing_tests = 0;
|
||||||
|
|
@ -261,7 +261,7 @@ impl Repl {
|
||||||
|
|
||||||
passing_tests += bio_tests::units::hello_world();
|
passing_tests += bio_tests::units::hello_world();
|
||||||
passing_tests += bio_tests::arith::stack_test();
|
passing_tests += bio_tests::arith::stack_test();
|
||||||
#[cfg(feature = "bio-mul")]
|
|
||||||
{
|
{
|
||||||
// safety: this is safe only if the target supports multiplication
|
// safety: this is safe only if the target supports multiplication
|
||||||
passing_tests += unsafe { bio_tests::arith::mac_test() }; // 1
|
passing_tests += unsafe { bio_tests::arith::mac_test() }; // 1
|
||||||
|
|
@ -305,6 +305,8 @@ impl Repl {
|
||||||
crate::print!(", rram");
|
crate::print!(", rram");
|
||||||
#[cfg(not(feature = "cramium-soc"))]
|
#[cfg(not(feature = "cramium-soc"))]
|
||||||
crate::print!(", mon");
|
crate::print!(", mon");
|
||||||
|
#[cfg(not(feature = "nto-bio"))]
|
||||||
|
crate::print!(", bio");
|
||||||
crate::println!("");
|
crate::println!("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue