[riot-notifications] [RIOT-OS/RIOT] drivers/mtd_flashpage: fix erasure of multiple sectors (#15366)

Juergen Fitschen notifications at github.com
Tue Nov 3 12:43:13 CET 2020


### Contribution description

This PR fixes erasure of mutliple sectors in one go.

### Testing procedure

I've extended the driver's test.

Just cherry-pick 2c85ba2af2931d1ec00446413bf5e0e6229c1d02 on master and see the test failing.

### Issues/PRs references

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

  https://github.com/RIOT-OS/RIOT/pull/15366

-- Commit Summary --

  * test/mtd_flashpage: extend test to erase multiple sectors in one go
  * drivers/mtd_flashpage: fix erasure of multiple sectors

-- File Changes --

    M drivers/mtd_flashpage/mtd_flashpage.c (2)
    M tests/mtd_flashpage/main.c (8)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15366.patch
https://github.com/RIOT-OS/RIOT/pull/15366.diff

-- 
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/15366
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201103/101a315a/attachment.htm>


More information about the notifications mailing list