mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
select trng based on emulation mode
This commit is contained in:
parent
d1ec6e021a
commit
9297879f76
1 changed files with 3 additions and 0 deletions
|
|
@ -2,7 +2,10 @@ use core::fmt::Write;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use String;
|
use String;
|
||||||
|
#[cfg(feature = "cramium-soc")]
|
||||||
use cram_hal_service::trng;
|
use cram_hal_service::trng;
|
||||||
|
#[cfg(feature = "hosted-baosec")]
|
||||||
|
use cramium_emu::trng;
|
||||||
use xous::MessageEnvelope;
|
use xous::MessageEnvelope;
|
||||||
|
|
||||||
/////////////////////////// Common items to all commands
|
/////////////////////////// Common items to all commands
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue