|
| 1 | +From 96c6236beca93c4e59c67fae3f760cd5e675fe05 Mon Sep 17 00:00:00 2001 |
| 2 | + |
| 3 | +Date: Thu, 16 Oct 2025 17:13:00 +0200 |
| 4 | +Subject: [PATCH 2/2] RIOT specific changes |
| 5 | + |
| 6 | +--- |
| 7 | + mdk/nrf52.h | 2 +- |
| 8 | + mdk/nrf52805.h | 2 +- |
| 9 | + mdk/nrf52810.h | 3 ++- |
| 10 | + mdk/nrf52811.h | 2 +- |
| 11 | + mdk/nrf52820.h | 2 +- |
| 12 | + mdk/nrf52832_peripherals.h | 8 ++++---- |
| 13 | + mdk/nrf52833.h | 2 +- |
| 14 | + mdk/nrf52840.h | 3 ++- |
| 15 | + 8 files changed, 13 insertions(+), 11 deletions(-) |
| 16 | + |
| 17 | +diff --git a/mdk/nrf52.h b/mdk/nrf52.h |
| 18 | +index 8f0ee64..6de6308 100644 |
| 19 | +--- a/mdk/nrf52.h |
| 20 | ++++ b/mdk/nrf52.h |
| 21 | +@@ -142,7 +142,7 @@ typedef enum { |
| 22 | + /** @} */ /* End of group Configuration_of_CMSIS */ |
| 23 | + |
| 24 | + #include "core_cm4.h" /*!< ARM Cortex-M4 processor and core peripherals */ |
| 25 | +-#include "system_nrf52.h" /*!< nrf52 System */ |
| 26 | ++/*#include "system_nrf52.h"*/ /*!< nrf52 System */ |
| 27 | + |
| 28 | + #ifndef __IM /*!< Fallback for older CMSIS versions */ |
| 29 | + #define __IM __I |
| 30 | +diff --git a/mdk/nrf52805.h b/mdk/nrf52805.h |
| 31 | +index 6de19ae..c9c7ae9 100644 |
| 32 | +--- a/mdk/nrf52805.h |
| 33 | ++++ b/mdk/nrf52805.h |
| 34 | +@@ -129,7 +129,7 @@ typedef enum { |
| 35 | + /** @} */ /* End of group Configuration_of_CMSIS */ |
| 36 | + |
| 37 | + #include "core_cm4.h" /*!< ARM Cortex-M4 processor and core peripherals */ |
| 38 | +-#include "system_nrf52805.h" /*!< nrf52805 System */ |
| 39 | ++/*#include "system_nrf52805.h"*/ /*!< nrf52805 System */ |
| 40 | + |
| 41 | + #ifndef __IM /*!< Fallback for older CMSIS versions */ |
| 42 | + #define __IM __I |
| 43 | +diff --git a/mdk/nrf52810.h b/mdk/nrf52810.h |
| 44 | +index ccdb0da..c3e053b 100644 |
| 45 | +--- a/mdk/nrf52810.h |
| 46 | ++++ b/mdk/nrf52810.h |
| 47 | +@@ -57,6 +57,7 @@ POSSIBILITY OF SUCH DAMAGE.\n |
| 48 | + extern "C" { |
| 49 | + #endif |
| 50 | + |
| 51 | ++#include "vendor/nrf52810_name_change.h" |
| 52 | + |
| 53 | + /** @addtogroup Configuration_of_CMSIS |
| 54 | + * @{ |
| 55 | +@@ -132,7 +133,7 @@ typedef enum { |
| 56 | + /** @} */ /* End of group Configuration_of_CMSIS */ |
| 57 | + |
| 58 | + #include "core_cm4.h" /*!< ARM Cortex-M4 processor and core peripherals */ |
| 59 | +-#include "system_nrf52810.h" /*!< nrf52810 System */ |
| 60 | ++/*#include "system_nrf52810.h"*/ /*!< nrf52810 System */ |
| 61 | + |
| 62 | + #ifndef __IM /*!< Fallback for older CMSIS versions */ |
| 63 | + #define __IM __I |
| 64 | +diff --git a/mdk/nrf52811.h b/mdk/nrf52811.h |
| 65 | +index cbc77d0..3eb547b 100644 |
| 66 | +--- a/mdk/nrf52811.h |
| 67 | ++++ b/mdk/nrf52811.h |
| 68 | +@@ -132,7 +132,7 @@ typedef enum { |
| 69 | + /** @} */ /* End of group Configuration_of_CMSIS */ |
| 70 | + |
| 71 | + #include "core_cm4.h" /*!< ARM Cortex-M4 processor and core peripherals */ |
| 72 | +-#include "system_nrf52811.h" /*!< nrf52811 System */ |
| 73 | ++/*#include "system_nrf52811.h"*/ /*!< nrf52811 System */ |
| 74 | + |
| 75 | + #ifndef __IM /*!< Fallback for older CMSIS versions */ |
| 76 | + #define __IM __I |
| 77 | +diff --git a/mdk/nrf52820.h b/mdk/nrf52820.h |
| 78 | +index 99d8ec6..b1e7b77 100644 |
| 79 | +--- a/mdk/nrf52820.h |
| 80 | ++++ b/mdk/nrf52820.h |
| 81 | +@@ -131,7 +131,7 @@ typedef enum { |
| 82 | + /** @} */ /* End of group Configuration_of_CMSIS */ |
| 83 | + |
| 84 | + #include "core_cm4.h" /*!< ARM Cortex-M4 processor and core peripherals */ |
| 85 | +-#include "system_nrf52820.h" /*!< nrf52820 System */ |
| 86 | ++/*#include "system_nrf52820.h"*/ /*!< nrf52820 System */ |
| 87 | + |
| 88 | + #ifndef __IM /*!< Fallback for older CMSIS versions */ |
| 89 | + #define __IM __I |
| 90 | +diff --git a/mdk/nrf52832_peripherals.h b/mdk/nrf52832_peripherals.h |
| 91 | +index 814b468..4d5d386 100644 |
| 92 | +--- a/mdk/nrf52832_peripherals.h |
| 93 | ++++ b/mdk/nrf52832_peripherals.h |
| 94 | +@@ -45,9 +45,9 @@ POSSIBILITY OF SUCH DAMAGE. |
| 95 | + #define POWER_COUNT 1 |
| 96 | + |
| 97 | + #define POWER_FEATURE_RAM_REGISTERS_PRESENT |
| 98 | +-#if defined(NRF52832_XXAA) |
| 99 | ++#if defined(CPU_MODEL_NRF52832XXAA) |
| 100 | + #define POWER_FEATURE_RAM_REGISTERS_COUNT 8 |
| 101 | +-#elif defined(NRF52832_XXAB) |
| 102 | ++#elif defined(CPU_MODEL_NRF52832XXAB) |
| 103 | + #define POWER_FEATURE_RAM_REGISTERS_COUNT 4 |
| 104 | + #endif |
| 105 | + |
| 106 | +@@ -86,9 +86,9 @@ POSSIBILITY OF SUCH DAMAGE. |
| 107 | + |
| 108 | + #define BPROT_REGIONS_SIZE 4096 |
| 109 | + |
| 110 | +-#if defined(NRF52832_XXAA) |
| 111 | ++#if defined(CPU_MODEL_NRF52832XXAA) |
| 112 | + #define BPROT_REGIONS_NUM 128 |
| 113 | +-#elif defined(NRF52832_XXAB) |
| 114 | ++#elif defined(CPU_MODEL_NRF52832XXAB) |
| 115 | + #define BPROT_REGIONS_NUM 64 |
| 116 | + #endif |
| 117 | + |
| 118 | +diff --git a/mdk/nrf52833.h b/mdk/nrf52833.h |
| 119 | +index b43f551..f2b74eb 100644 |
| 120 | +--- a/mdk/nrf52833.h |
| 121 | ++++ b/mdk/nrf52833.h |
| 122 | +@@ -146,7 +146,7 @@ typedef enum { |
| 123 | + /** @} */ /* End of group Configuration_of_CMSIS */ |
| 124 | + |
| 125 | + #include "core_cm4.h" /*!< ARM Cortex-M4 processor and core peripherals */ |
| 126 | +-#include "system_nrf52833.h" /*!< nrf52833 System */ |
| 127 | ++/*#include "system_nrf52833.h"*/ /*!< nrf52833 System */ |
| 128 | + |
| 129 | + #ifndef __IM /*!< Fallback for older CMSIS versions */ |
| 130 | + #define __IM __I |
| 131 | +diff --git a/mdk/nrf52840.h b/mdk/nrf52840.h |
| 132 | +index 778cc7d..b6a6929 100644 |
| 133 | +--- a/mdk/nrf52840.h |
| 134 | ++++ b/mdk/nrf52840.h |
| 135 | +@@ -57,6 +57,7 @@ POSSIBILITY OF SUCH DAMAGE. |
| 136 | + extern "C" { |
| 137 | + #endif |
| 138 | + |
| 139 | ++#include "vendor/nrf52840_name_change.h" |
| 140 | + |
| 141 | + /** @addtogroup Configuration_of_CMSIS |
| 142 | + * @{ |
| 143 | +@@ -149,7 +150,7 @@ typedef enum { |
| 144 | + /** @} */ /* End of group Configuration_of_CMSIS */ |
| 145 | + |
| 146 | + #include "core_cm4.h" /*!< ARM Cortex-M4 processor and core peripherals */ |
| 147 | +-#include "system_nrf52840.h" /*!< nrf52840 System */ |
| 148 | ++/*#include "system_nrf52840.h"*/ /*!< nrf52840 System */ |
| 149 | + |
| 150 | + #ifndef __IM /*!< Fallback for older CMSIS versions */ |
| 151 | + #define __IM __I |
| 152 | +-- |
| 153 | +2.43.0 |
0 commit comments