mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
update baremetal APIs to track latest patches
This commit is contained in:
parent
1d5cc0806b
commit
252942ae0b
2 changed files with 3 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ bao1x = [
|
||||||
"utralib/bao1x",
|
"utralib/bao1x",
|
||||||
"linked_list_allocator",
|
"linked_list_allocator",
|
||||||
"bao1x-hal/loader-baosec",
|
"bao1x-hal/loader-baosec",
|
||||||
# "bao1x-hal/debug-print-uart",
|
"bao1x-hal/debug-print-uart",
|
||||||
"bao1x-api",
|
"bao1x-api",
|
||||||
"digest",
|
"digest",
|
||||||
"sha2-bao1x",
|
"sha2-bao1x",
|
||||||
|
|
|
||||||
|
|
@ -1013,11 +1013,11 @@ impl Repl {
|
||||||
let slot_man = bao1x_hal::protected_rram::SlotManager::new();
|
let slot_man = bao1x_hal::protected_rram::SlotManager::new();
|
||||||
crate::println!(
|
crate::println!(
|
||||||
"Slot 0(d): {:x?}",
|
"Slot 0(d): {:x?}",
|
||||||
slot_man.read(&bao1x_hal::protected_rram::SlotIndex::Data(0))
|
slot_man.read(&bao1x_api::offsets::SlotIndex::Data(0, PartitionAccess::All))
|
||||||
);
|
);
|
||||||
crate::println!(
|
crate::println!(
|
||||||
"Slot 1(d): {:x?}",
|
"Slot 1(d): {:x?}",
|
||||||
slot_man.read(&bao1x_hal::protected_rram::SlotIndex::Data(1))
|
slot_man.read(&bao1x_api::offsets::SlotIndex::Data(1, PartitionAccess::All))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
"echo" => {
|
"echo" => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue