Flash status: scan PICOBIN blocks for per-slot validity and version
This commit is contained in:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user