[riot-notifications] [RIOT-OS/RIOT] sam0 flashpage RWWEE flash support [WIP] (#10884)

Federico Pellegrin notifications at github.com
Wed Jan 30 07:40:23 CET 2019


I did some improvements in the last commit a few moments ago:

-) Build time detection of devices with RWWEE is now more accurate, as it came out not all SAMD21 for example have the RWWEE but just some (see http://ww1.microchip.com/downloads/en/AppNotes/Atmel-32219-Differences-between-SAMD21-Variants-A-B-and-L_ApplicationNote_AT04470.pdf). So a better define is used to know if it is present or not (and this define changes for SAML1x).

-) SAML1x fixes: as SAML1x uses the same WP/ER command (and not a specific one) this is now taken into account

-) When a board has no dataflash no extra code will be generated as compared to the original version. This was done with a bit of #defines that cut out the extra layer for main/rwwee differentiation that was introduced. This makes probably the code less readable, but improves speed/size for boards with no RWWEE. Hope the code didn't get too bloated now....

As usual I just tested it running on my saml21-xpro (although I now build it for a couple others) so please let me know.


-- 
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/10884#issuecomment-458830234
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190129/cba2b275/attachment.html>


More information about the notifications mailing list