Flash status: scan PICOBIN blocks for per-slot validity and version

This commit is contained in:
Ian Gulliver
2026-04-12 22:22:54 +09:00
parent 819632a7ea
commit 11c101c235
4 changed files with 62 additions and 10 deletions

View File

@@ -63,9 +63,17 @@ type RequestReboot struct{}
type ResponseReboot struct{}
type RequestFlashStatus struct{}
type SlotInfo struct {
Valid bool
Version uint32
HashOK bool
}
type ResponseFlashStatus struct {
BootPartition int8
BootType uint8
SlotA SlotInfo
SlotB SlotInfo
}
type RequestListTests struct{}