Renames the backend header to match the object name.
Adjusts the FinalizeUpdate() API to use Status again to report
finalize failures before the reboot.
Also changes ApplyTargetFile() to be pure virtual.
Changes the backend API to use the Manifest object instead of the
nanopb struct for the manifest.
Moves the Manifest definition to a separate header.
Adds missing pw_protobuf dependency.
Change-Id: I295db6021b26d8ba96512f4627e39b5a76d92815
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/61820
Commit-Queue: Ewout van Bekkum <ewout@google.com>
Reviewed-by: David Rogers <davidrogers@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
No-Docs-Update-Reason: this module is far from stablized
Change-Id: I408d575308bcfeb69d6fcb23448472734c729e95
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/59544
Reviewed-by: David Rogers <davidrogers@google.com>
Commit-Queue: Zihan Chen <zihanchen@google.com>
Adds an empty UpdateBundle class. It is used by the "Update
Manager" to parse, verify and provide access to a staged firmware
update bundle.
Bug: 456
Change-Id: I2df3e784ef50545f9066d4c1146f2558445ff5c8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/58043
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Reviewed-by: David Rogers <davidrogers@google.com>
Reviewed-by: Ali Zhang <alizhang@google.com>
Commit-Queue: Yecheng Zhao <zyecheng@google.com>