[riot-notifications] [RIOT-OS/RIOT] sam0 flashpage: wait for READY bit in INTFLAG after write command (#10880)

Federico Pellegrin notifications at github.com
Tue Jan 29 21:00:35 CET 2019

fedepell commented on this pull request.

> @@ -93,7 +93,11 @@ void flashpage_write_raw(void *target_addr, const void *data, size_t len)
         *dst++ = *data_addr++;
+#ifdef CPU_SAML1X
+    while(!_NVMCTRL->STATUS.bit.READY) {}

Sure no problem! Committed.

 I fixed also one more of the same (I copy&pasted before) slighly more down the code.

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/20190129/a302dbe2/attachment-0001.html>

More information about the notifications mailing list