[riot-notifications] [RIOT-OS/RIOT] stm32f{2, 4, 7}: Initial flashpage support (#15420)

Koen Zandberg notifications at github.com
Thu Jan 28 10:48:19 CET 2021


@bergzand commented on this pull request.



> @@ -118,8 +126,19 @@ static void _erase_page(void *page_addr)
     pn = (uint8_t)page;
 #endif
     CNTRL_REG &= ~FLASH_CR_PNB;
+#if defined(CPU_FAM_STM32F4) || defined(CPU_FAM_STM32F7)

Can't do this without defining a fallback macro for `FLASH_CR_SNB_4` for all families that don't implement this.

-- 
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/15420#discussion_r565954058
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210128/4c26c7f7/attachment.htm>


More information about the notifications mailing list