mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
add code to test the random seed
This commit is contained in:
parent
fcc6fc5538
commit
01475137bb
1 changed files with 4 additions and 0 deletions
|
|
@ -121,6 +121,10 @@ impl<'a> ShellCmdApi<'a> for Test {
|
|||
iox.set_gpio_pin_value(IoxPort::PF, 6, IoxValue::Low);
|
||||
log::info!("sent shutdown to axp2101");
|
||||
}
|
||||
"seed" => {
|
||||
let (_, value) = std::env::vars().find(|(key, _value)| key == "SEED").unwrap();
|
||||
log::info!("Seed: {:?}", value);
|
||||
}
|
||||
"keepon" => {
|
||||
todo!("Fix this to use DCDC2 for keepon (as per baosec v2)");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue