[riot-notifications] [RIOT-OS/RIOT] sys: provide over-the-air update mechanism (#8902)

Kaspar Schleiser notifications at github.com
Tue Apr 10 23:25:23 CEST 2018


kaspar030 commented on this pull request.



> +    uint32_t start_addr;                /**< Start address in flash                 */
+    uint32_t chksum;                    /**< checksum of metadata                   */
+    uint8_t hash[SHA256_DIGEST_LENGTH]; /**< SHA256 Hash of firmware image          */
+    uint8_t sig[FIRMWARE_SIG_LEN];      /**< Firmware signature                     */
+    uint8_t pad[FIRMWARE_PADDING];      /**< padding to total of
+                                             FIRMWARE_METADATA_SIZE bytes           */
+} firmware_metadata_t;
+/** @} */
+
+/**
+ * @brief  Print formatted FW image metadata to STDIO
+ *
+ * @param[in] metadata  ptr to firmware metadata
+ *
+ */
+void firmware_metadata_print(firmware_metadata_t *metadata);

yes, in the whole file. folo?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/8902#discussion_r180572514
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180410/10287531/attachment.html>


More information about the notifications mailing list