feat: OTA über HTTP mit Trailer-Prüfung

This commit is contained in:
Michael Sauer
2026-09-12 01:36:57 +02:00
parent ebee9e8e61
commit aa8151c3d6
8 changed files with 146 additions and 19 deletions
+2 -1
View File
@@ -6,7 +6,8 @@
/* Called by the SDK updater (sdk/Platform/Common/fwup/wm_fwup.c) after the image CRC
* matched. sha256 covers the T_BOOTER header plus payload, tail is the 512 byte block
* appended to the image. Return true to accept the image. */
* appended to the image. Return true to accept the image.
* Strong definition: src/sys/nl_ota.c (checks the trailer via nl_trailer_verify()). */
bool nl_fwup_verify_tail(const uint8_t sha256[32], const uint8_t *tail, uint32_t tail_len);
#endif