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

Federico Pellegrin notifications at github.com
Mon Jan 28 04:30:40 CET 2019

### Contribution description
This PR add the support for the SAM0 family CPU for the additional RWWEE memory (also called Dataflash in the saml1x series) on the chip (varies between 2KB in saml1x and 8KB in others).

The PR adds a basic support giving the possibility to use this space but without the actual "read-while-write" feature that would give the possibility to write this area while the main one is read. This would require a rewrite of the flashpage support (going from currently blocking implementation to an interrupt one).

This PR is in big work-in-progress as discussions (see devel mailing list) were done on whatever this would be done as part of previous flashpage (reducing redundant code but making it more complicated) or totally standalone. Currently the second approach is being followed.

### Testing procedure
The tests/periph_flashpage has been extended to cover the tests also for this area. The _rwwee functions in the test can be used to performs (for now manually) the same tests as on the normal area.

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sam0 flashpage RWWEE flash support

-- File Changes --

    M cpu/sam0_common/Makefile.features (1)
    M cpu/sam0_common/include/cpu_conf.h (12)
    M cpu/sam0_common/periph/flashpage.c (94)
    M drivers/include/periph/flashpage.h (109)
    M drivers/periph_common/flashpage.c (33)
    M tests/periph_flashpage/Makefile (3)
    M tests/periph_flashpage/main.c (165)

-- Patch Links --


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/20190127/bc6e3395/attachment-0001.html>

More information about the notifications mailing list