[riot-notifications] [RIOT-OS/RIOT] cpu/kinetis: add flashpage for W & K series (#11422)

Alexandre Abadie notifications at github.com
Sun May 19 22:20:55 CEST 2019


aabadie commented on this pull request.

Looks good. Tested with success on usb-kw41z !

> @@ -77,6 +77,23 @@
 #endif
 #endif /* KINETIS_CORE_x */
 
+/**
+ * @name   Flash page configuration
+ * @{
+ */
+#define FLASHPAGE_SIZE      (2048U)
+#define FLASHPAGE_NUMOF     ((KINETIS_ROMSIZE * 1024) / FLASHPAGE_SIZE)
+
+/* The minimum block size which can be written is 4B. However, the erase
+ * block is always FLASHPAGE_SIZE witch.

There's an extra `witch` at the end of the comment. Letfover ?

-- 
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/11422#pullrequestreview-239253530
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190519/a723127c/attachment.html>


More information about the notifications mailing list