mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
note deprecated pin config
This commit is contained in:
parent
b85ed18cd8
commit
d265ce3398
1 changed files with 1 additions and 6 deletions
|
|
@ -98,12 +98,7 @@ impl<'a> ShellCmdApi<'a> for Test {
|
||||||
log::info!("sent shutdown to axp2101");
|
log::info!("sent shutdown to axp2101");
|
||||||
}
|
}
|
||||||
"keepon" => {
|
"keepon" => {
|
||||||
use bao1x_api::*;
|
todo!("Fix this to use DCDC2 for keepon (as per baosec v2)");
|
||||||
let iox = bao1x_api::IoxHal::new();
|
|
||||||
let (port, pin) = bao1x_hal::board::setup_keep_on_pin(&iox);
|
|
||||||
iox.set_gpio_pin_value(port, pin, IoxValue::High);
|
|
||||||
let _ = bao1x_hal::board::setup_kb_pins(&iox);
|
|
||||||
log::info!("keepon got {:x?}", iox.get_gpio_pin_value(IoxPort::PF, 0));
|
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
write!(ret, "{}", helpstring).unwrap();
|
write!(ret, "{}", helpstring).unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue