[riot-notifications] [RIOT-OS/RIOT] Feat/add flashwrite APIs (#15511)

benpicco notifications at github.com
Thu Nov 26 21:50:01 CET 2020


@benpicco commented on this pull request.



> @@ -128,6 +128,11 @@ typedef struct {
  */
 #define RIOTBOOT_FLASHWRITE_SKIPLEN     sizeof(RIOTBOOT_MAGIC)
 
+/**
+ * @brief Magic number used to invalidate a slot
+ */
+#define INVALIDATE_HDR                  0

we could also use `0xAA`, that should always clear half the bits of the signature. 

-- 
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/15511#discussion_r531220191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201126/c3dd0c0a/attachment.htm>


More information about the notifications mailing list