mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add some debug for the trng CI process
This commit is contained in:
parent
6a703def63
commit
3fe52b31c5
1 changed files with 6 additions and 0 deletions
|
|
@ -354,6 +354,12 @@ fn xmain() -> ! {
|
||||||
#[cfg(not(target_os = "none"))]
|
#[cfg(not(target_os = "none"))]
|
||||||
let mut trng = Trng::new();
|
let mut trng = Trng::new();
|
||||||
|
|
||||||
|
#[cfg(feature = "avalanchetest")]
|
||||||
|
log::info!("TRNG built with avalanche test enabled");
|
||||||
|
|
||||||
|
#[cfg(feature = "ringosctest")]
|
||||||
|
log::info!("TRNG built with ring oscillator test enabled");
|
||||||
|
|
||||||
#[cfg(any(feature = "avalanchetest", feature="ringosctest"))]
|
#[cfg(any(feature = "avalanchetest", feature="ringosctest"))]
|
||||||
xous::create_thread_1(tester_thread, trng.get_trng_csr() as usize).expect("couldn't create test thread");
|
xous::create_thread_1(tester_thread, trng.get_trng_csr() as usize).expect("couldn't create test thread");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue