[riot-notifications] [RIOT-OS/RIOT] riotboot_flashwrite: Failure on the nrf52 (#11274)

Kaspar Schleiser notifications at github.com
Tue Mar 26 10:01:54 CET 2019


Nice catch!

> Ensure that `RIOTBOOT_LEN` is always at least 2 flash pages large.

I guess that should be "an even number of flash pages large", so the remaining flash pages can be divided cleanly between two. I think on samr21-xpro we were just lucky so far that "$RIOTBOOT_LEN" left an even amount of flash pages for the two slots.

Additionally, slot starts need to be checked against whether they are flash page aligned, as a precaution.

-- 
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/issues/11274#issuecomment-476532665
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190326/c6ab4c66/attachment-0001.html>


More information about the notifications mailing list