[riot-notifications] [RIOT-OS/RIOT] periph_flashpage: Make pagewise API optional (#15412)

Koen Zandberg notifications at github.com
Wed Nov 11 10:49:37 CET 2020


@bergzand commented on this pull request.



> @@ -3,7 +3,7 @@ CPU_FAM = cc2538
 
 FEATURES_PROVIDED += periph_cpuid
 FEATURES_PROVIDED += periph_flashpage
-FEATURES_PROVIDED += periph_flashpage_raw
+FEATURES_PROVIDED += periph_flashpage_pagewise

Yes, the stm32f2, f4 and f7. These have sectors with different flash ~~page~~ sector sizes (erases also per sector). The stm32f401re has 4 ~~pages~~ sectors of 16 KB, a 64 KB one and the rest is 128 KB large. Using flashpage_pagewise would be very complex as the amount of data provided varies with the sector number to be written, ignoring for a second that the pages are so big that it becomes impractical to have a full page in memory before writing it.

-- 
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/15412#discussion_r521238835
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201111/9381fed6/attachment.htm>


More information about the notifications mailing list