[riot-notifications] [RIOT-OS/RIOT] riotboot/flashwrite: support non-uniform flash page sizes (#15423)

benpicco notifications at github.com
Fri Nov 27 12:06:50 CET 2020


@benpicco commented on this pull request.



> @@ -56,6 +54,8 @@ int riotboot_flashwrite_init_raw(riotboot_flashwrite_t *state, int target_slot,
     state->target_slot = target_slot;
     state->flashpage = flashpage_page((void *)riotboot_slot_get_hdr(target_slot));
 
+    assert(offset <= flashpage_size(state->flashpage));

`flashpage_size()` does not exist yet

-- 
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/15423#pullrequestreview-539895136
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201127/1426fb6a/attachment.htm>


More information about the notifications mailing list