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

firas-hamdi notifications at github.com
Sat Nov 28 16:50:20 CET 2020

@firas-hamdi commented on this pull request.

> +    if (riotboot_slot_numof == 1){
+        LOG_WARNING(LOG_PREFIX "Only one slot configured\n");
+        return -1;
+    }

This check is done to make sure the device still has at least one firmware image to be running after invalidation, so a reboot after calling the API won't make the device with no image to run. And thus the warning generated to not allow the invalidation in this case.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201128/589428d0/attachment.htm>

More information about the notifications mailing list