[riot-notifications] [RIOT-OS/RIOT] riotboot: add riotboot_flashwrite module (#11181)

Kaspar Schleiser notifications at github.com
Thu Mar 14 22:59:07 CET 2019


kaspar030 commented on this pull request.



> +} riotboot_flashwrite_t;
+
+/**
+ * @brief Amount of bytes to skip at initial write of first page
+ */
+#define RIOTBOOT_FLASHWRITE_SKIPLEN 4
+
+/**
+ * @brief   Initialize firmware update (raw version)
+ *
+ * Allows setting the initial offset to @p offset, which would mean that the
+ * first bytes passed in via @ref riotboot_flashwrite_putbytes() will be
+ * written to (slot_start + offset).
+ *
+ * @note offset *should* be <= FLASHPAGE_SIZE, otherwise the results are
+ *       undefined.

yup, added.

-- 
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/11181#discussion_r265782679
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190314/39b35300/attachment.html>


More information about the notifications mailing list