[riot-notifications] [RIOT-OS/RIOT] cpu/nrf52: add missing vendor files (#14061)

benpicco notifications at github.com
Tue May 12 15:19:57 CEST 2020


We can also do

```patch
--- a/cpu/nrf52/include/cpu_conf.h
+++ b/cpu/nrf52/include/cpu_conf.h
@@ -66,14 +66,12 @@ extern "C" {
  * @brief   Flash page configuration
  * @{
  */
-#define FLASHPAGE_SIZE                  (4096U)
-
-#if defined(CPU_MODEL_NRF52811XXAA)
-#define FLASHPAGE_NUMOF                 (48U)
-#elif defined(CPU_MODEL_NRF52832XXAA)
-#define FLASHPAGE_NUMOF                 (128U)
+#ifdef BPROT_PRESENT
+#define FLASHPAGE_SIZE              BPROT_REGIONS_SIZE
+#define FLASHPAGE_NUMOF             BPROT_REGIONS_NUM
 #elif defined(CPU_MODEL_NRF52840XXAA)
-#define FLASHPAGE_NUMOF                 (256U)
+#define FLASHPAGE_SIZE              (4096U)
+#define FLASHPAGE_NUMOF             (256U)
 #endif
```

now

-- 
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/14061#issuecomment-627339791
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/1deae665/attachment.htm>


More information about the notifications mailing list