loose ends - api caller-side fixups and lockfile changes

This commit is contained in:
bunnie 2025-10-20 23:40:50 +08:00
parent 4affb7e979
commit b8e856a15a
No known key found for this signature in database
2 changed files with 13 additions and 3 deletions

4
Cargo.lock generated
View file

@ -433,12 +433,14 @@ dependencies = [
"digest 0.10.7", "digest 0.10.7",
"ed25519-dalek-bao1x", "ed25519-dalek-bao1x",
"linked_list_allocator", "linked_list_allocator",
"rand_chacha 0.3.1",
"riscv", "riscv",
"sha2", "sha2-bao1x",
"simple-fatfs", "simple-fatfs",
"utralib 0.1.26", "utralib 0.1.26",
"ux-api", "ux-api",
"xous 0.9.67 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.67 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-bio-bdma",
"xous-riscv", "xous-riscv",
] ]

View file

@ -1013,11 +1013,19 @@ 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_api::offsets::SlotIndex::Data(0, PartitionAccess::All)) slot_man.read(&bao1x_api::offsets::SlotIndex::Data(
0,
PartitionAccess::Unspecified,
RwPerms::Unspecified
))
); );
crate::println!( crate::println!(
"Slot 1(d): {:x?}", "Slot 1(d): {:x?}",
slot_man.read(&bao1x_api::offsets::SlotIndex::Data(1, PartitionAccess::All)) slot_man.read(&bao1x_api::offsets::SlotIndex::Data(
1,
PartitionAccess::Unspecified,
RwPerms::Unspecified
))
); );
} }
"echo" => { "echo" => {