add some debug for the trng CI process

This commit is contained in:
bunnie 2021-04-27 01:37:58 +08:00
parent 6a703def63
commit 3fe52b31c5

View file

@ -354,6 +354,12 @@ fn xmain() -> ! {
#[cfg(not(target_os = "none"))]
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"))]
xous::create_thread_1(tester_thread, trng.get_trng_csr() as usize).expect("couldn't create test thread");