aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAndrzej Głąbek <andrzej.glabek@nordicsemi.no>2020-11-23 16:11:33 +0100
committerKen Liu <ken.liu@arm.com>2021-02-08 02:59:05 +0000
commit7d6d9c0924a9487d4690380c455be1d3ff70c1df (patch)
tree50287866c93181fcc8d84e5c576609446617e462 /platform
parentd0c7ed13b04242d288f75b9db98825679818518b (diff)
downloadtrusted-firmware-m-7d6d9c0924a9487d4690380c455be1d3ff70c1df.tar.gz
platform: nordic_nrf: Update nrfx to version 2.4.0
Update nrfx files to those copied from release v2.4.0: - URL: https://github.com/NordicSemiconductor/nrfx/tree/v2.4.0 - commit: d779b49fc59c7a165e7da1d7cd7d57b28a059f16 Also align accordingly the related glue layer. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no> Change-Id: I19eb901eaf608079be98c53535a3948749934d4c
Diffstat (limited to 'platform')
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_gpio.h2
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_spu.h3
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/compiler_abstraction.h15
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf.h67
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf51_erratas.h966
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf52_erratas.h3408
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf5340_application.h6
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf53_erratas.h2001
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf9160.h6
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf91_erratas.h275
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c5
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf53_approtect.h94
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx/nrfx.h2
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf5340_application.h1
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf9160.h1
-rw-r--r--platform/ext/target/nordic_nrf/common/core/nrfx_glue.h15
16 files changed, 6728 insertions, 139 deletions
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_gpio.h b/platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_gpio.h
index 05edf993a3..cc25f509e2 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_gpio.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_gpio.h
@@ -542,9 +542,11 @@ NRF_STATIC_INLINE NRF_GPIO_Type * nrf_gpio_pin_port_decode(uint32_t * p_pin)
default:
NRFX_ASSERT(0);
#if defined(P0_FEATURE_PINS_PRESENT)
+ /* FALLTHROUGH */
case 0: return NRF_P0;
#endif
#if defined(P1_FEATURE_PINS_PRESENT)
+ /* FALLTHROUGH */
case 1: return NRF_P1;
#endif
}
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_spu.h b/platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_spu.h
index 847068aecd..86e66ff542 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_spu.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/hal/nrf_spu.h
@@ -292,8 +292,7 @@ NRF_STATIC_INLINE void nrf_spu_event_clear(NRF_SPU_Type * p_reg,
nrf_spu_event_t event)
{
*((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL;
- volatile uint32_t dummy = *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event));
- (void)dummy;
+ nrf_event_readback((uint8_t *)p_reg + (uint32_t)event);
}
NRF_STATIC_INLINE bool nrf_spu_event_check(NRF_SPU_Type const * p_reg,
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/compiler_abstraction.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/compiler_abstraction.h
index 77a495ab08..00009be8d4 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/compiler_abstraction.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/compiler_abstraction.h
@@ -41,11 +41,6 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef NRF_STRING_CONCATENATE
#define NRF_STRING_CONCATENATE(lhs, rhs) NRF_STRING_CONCATENATE_IMPL(lhs, rhs)
#endif
-#if __LINT__ == 1
- #ifndef NRF_STATIC_ASSERT
- #define NRF_STATIC_ASSERT(cond, msg)
- #endif
-#endif
#if defined ( __CC_ARM )
@@ -109,6 +104,11 @@ POSSIBILITY OF SUCH DAMAGE.
#define GET_SP() __current_sp()
#ifndef NRF_STATIC_ASSERT
+ #ifdef __cplusplus
+ #ifndef _Static_assert
+ #define _Static_assert static_assert
+ #endif
+ #endif
#define NRF_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
#endif
@@ -181,6 +181,11 @@ POSSIBILITY OF SUCH DAMAGE.
}
#ifndef NRF_STATIC_ASSERT
+ #ifdef __cplusplus
+ #ifndef _Static_assert
+ #define _Static_assert static_assert
+ #endif
+ #endif
#define NRF_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
#endif
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf.h
index 660ddc3318..ed941bb32c 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf.h
@@ -35,9 +35,41 @@ POSSIBILITY OF SUCH DAMAGE.
/* MDK version */
#define MDK_MAJOR_VERSION 8
-#define MDK_MINOR_VERSION 35
+#define MDK_MINOR_VERSION 37
#define MDK_MICRO_VERSION 0
+
+/* Define coprocessor domains */
+#if defined (NRF5340_XXAA_APPLICATION) || defined (NRF5340_XXAA_NETWORK)
+ #ifndef NRF5340_XXAA
+ #define NRF5340_XXAA
+ #endif
+#endif
+#if defined (NRF5340_XXAA_APPLICATION)
+ #ifndef NRF_APPLICATION
+ #define NRF_APPLICATION
+ #endif
+#endif
+#if defined (NRF5340_XXAA_NETWORK)
+ #ifndef NRF_NETWORK
+ #define NRF_NETWORK
+ #endif
+#endif
+
+/* Apply compatibility macros for old nRF5340 macros */
+#if defined(NRF5340_XXAA)
+ #if defined (NRF_APPLICATION)
+ #ifndef NRF5340_XXAA_APPLICATION
+ #define NRF5340_XXAA_APPLICATION
+ #endif
+ #endif
+ #if defined (NRF_NETWORK)
+ #ifndef NRF5340_XXAA_NETWORK
+ #define NRF5340_XXAA_NETWORK
+ #endif
+ #endif
+#endif
+
/* Define NRF51_SERIES for common use in nRF51 series devices. Only if not previously defined. */
#if defined (NRF51) ||\
defined (NRF51422_XXAA) ||\
@@ -72,7 +104,7 @@ POSSIBILITY OF SUCH DAMAGE.
#endif
/* Define NRF53_SERIES for common use in nRF53 series devices. */
-#if defined (NRF5340_XXAA_APPLICATION) || defined (NRF5340_XXAA_NETWORK)
+#if defined (NRF5340_XXAA)
#ifndef NRF53_SERIES
#define NRF53_SERIES
#endif
@@ -84,37 +116,6 @@ POSSIBILITY OF SUCH DAMAGE.
#define NRF91_SERIES
#endif
#endif
-
-/* Define coprocessor domains */
-#if defined (NRF5340_XXAA_APPLICATION) || defined (NRF5340_XXAA_NETWORK)
- #ifndef NRF5340_XXAA
- #define NRF5340_XXAA
- #endif
-#endif
-#if defined (NRF5340_XXAA_APPLICATION)
- #ifndef NRF_APPLICATION
- #define NRF_APPLICATION
- #endif
-#endif
-#if defined (NRF5340_XXAA_NETWORK)
- #ifndef NRF_NETWORK
- #define NRF_NETWORK
- #endif
-#endif
-
-/* Apply compatibility macros for old nRF5340 macros */
-#if defined(NRF5340_XXAA)
- #if defined (NRF_APPLICATION)
- #ifndef NRF5340_XXAA_APPLICATION
- #define NRF5340_XXAA_APPLICATION
- #endif
- #endif
- #if defined (NRF_NETWORK)
- #ifndef NRF5340_XXAA_NETWORK
- #define NRF5340_XXAA_NETWORK
- #endif
- #endif
-#endif
/* Device selection for device includes. */
#if defined (NRF51)
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf51_erratas.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf51_erratas.h
index 44a0f928f1..0a4e845b0d 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf51_erratas.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf51_erratas.h
@@ -116,6 +116,19 @@ static bool nrf51_errata_76(void) __UNUSED;
static bool nrf51_errata_77(void) __UNUSED;
static bool nrf51_errata_78(void) __UNUSED;
+/* ========= Errata 1 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_1_PRESENT 1
+#else
+ #define NRF51_ERRATA_1_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_1_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_1_ENABLE_WORKAROUND NRF51_ERRATA_1_PRESENT
+#endif
+
static bool nrf51_errata_1(void)
{
#ifndef NRF51_SERIES
@@ -167,6 +180,19 @@ static bool nrf51_errata_1(void)
#endif
}
+/* ========= Errata 2 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_2_PRESENT 1
+#else
+ #define NRF51_ERRATA_2_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_2_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_2_ENABLE_WORKAROUND NRF51_ERRATA_2_PRESENT
+#endif
+
static bool nrf51_errata_2(void)
{
#ifndef NRF51_SERIES
@@ -218,6 +244,19 @@ static bool nrf51_errata_2(void)
#endif
}
+/* ========= Errata 3 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_3_PRESENT 1
+#else
+ #define NRF51_ERRATA_3_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_3_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_3_ENABLE_WORKAROUND NRF51_ERRATA_3_PRESENT
+#endif
+
static bool nrf51_errata_3(void)
{
#ifndef NRF51_SERIES
@@ -269,6 +308,13 @@ static bool nrf51_errata_3(void)
#endif
}
+/* ========= Errata 4 ========= */
+#define NRF51_ERRATA_4_PRESENT 0
+
+#ifndef NRF51_ERRATA_4_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_4_ENABLE_WORKAROUND NRF51_ERRATA_4_PRESENT
+#endif
+
static bool nrf51_errata_4(void)
{
#ifndef NRF51_SERIES
@@ -278,6 +324,13 @@ static bool nrf51_errata_4(void)
#endif
}
+/* ========= Errata 5 ========= */
+#define NRF51_ERRATA_5_PRESENT 0
+
+#ifndef NRF51_ERRATA_5_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_5_ENABLE_WORKAROUND NRF51_ERRATA_5_PRESENT
+#endif
+
static bool nrf51_errata_5(void)
{
#ifndef NRF51_SERIES
@@ -287,6 +340,19 @@ static bool nrf51_errata_5(void)
#endif
}
+/* ========= Errata 6 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_6_PRESENT 1
+#else
+ #define NRF51_ERRATA_6_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_6_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_6_ENABLE_WORKAROUND NRF51_ERRATA_6_PRESENT
+#endif
+
static bool nrf51_errata_6(void)
{
#ifndef NRF51_SERIES
@@ -338,6 +404,19 @@ static bool nrf51_errata_6(void)
#endif
}
+/* ========= Errata 7 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_7_PRESENT 1
+#else
+ #define NRF51_ERRATA_7_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_7_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_7_ENABLE_WORKAROUND NRF51_ERRATA_7_PRESENT
+#endif
+
static bool nrf51_errata_7(void)
{
#ifndef NRF51_SERIES
@@ -389,6 +468,19 @@ static bool nrf51_errata_7(void)
#endif
}
+/* ========= Errata 8 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_8_PRESENT 1
+#else
+ #define NRF51_ERRATA_8_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_8_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_8_ENABLE_WORKAROUND NRF51_ERRATA_8_PRESENT
+#endif
+
static bool nrf51_errata_8(void)
{
#ifndef NRF51_SERIES
@@ -440,6 +532,19 @@ static bool nrf51_errata_8(void)
#endif
}
+/* ========= Errata 9 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_9_PRESENT 1
+#else
+ #define NRF51_ERRATA_9_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_9_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_9_ENABLE_WORKAROUND NRF51_ERRATA_9_PRESENT
+#endif
+
static bool nrf51_errata_9(void)
{
#ifndef NRF51_SERIES
@@ -491,6 +596,19 @@ static bool nrf51_errata_9(void)
#endif
}
+/* ========= Errata 10 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_10_PRESENT 1
+#else
+ #define NRF51_ERRATA_10_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_10_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_10_ENABLE_WORKAROUND NRF51_ERRATA_10_PRESENT
+#endif
+
static bool nrf51_errata_10(void)
{
#ifndef NRF51_SERIES
@@ -542,6 +660,19 @@ static bool nrf51_errata_10(void)
#endif
}
+/* ========= Errata 11 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_11_PRESENT 1
+#else
+ #define NRF51_ERRATA_11_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_11_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_11_ENABLE_WORKAROUND NRF51_ERRATA_11_PRESENT
+#endif
+
static bool nrf51_errata_11(void)
{
#ifndef NRF51_SERIES
@@ -593,6 +724,19 @@ static bool nrf51_errata_11(void)
#endif
}
+/* ========= Errata 12 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_12_PRESENT 1
+#else
+ #define NRF51_ERRATA_12_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_12_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_12_ENABLE_WORKAROUND NRF51_ERRATA_12_PRESENT
+#endif
+
static bool nrf51_errata_12(void)
{
#ifndef NRF51_SERIES
@@ -644,6 +788,19 @@ static bool nrf51_errata_12(void)
#endif
}
+/* ========= Errata 13 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_13_PRESENT 1
+#else
+ #define NRF51_ERRATA_13_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_13_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_13_ENABLE_WORKAROUND NRF51_ERRATA_13_PRESENT
+#endif
+
static bool nrf51_errata_13(void)
{
#ifndef NRF51_SERIES
@@ -695,6 +852,19 @@ static bool nrf51_errata_13(void)
#endif
}
+/* ========= Errata 14 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_14_PRESENT 1
+#else
+ #define NRF51_ERRATA_14_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_14_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_14_ENABLE_WORKAROUND NRF51_ERRATA_14_PRESENT
+#endif
+
static bool nrf51_errata_14(void)
{
#ifndef NRF51_SERIES
@@ -746,6 +916,19 @@ static bool nrf51_errata_14(void)
#endif
}
+/* ========= Errata 15 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_15_PRESENT 1
+#else
+ #define NRF51_ERRATA_15_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_15_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_15_ENABLE_WORKAROUND NRF51_ERRATA_15_PRESENT
+#endif
+
static bool nrf51_errata_15(void)
{
#ifndef NRF51_SERIES
@@ -797,6 +980,19 @@ static bool nrf51_errata_15(void)
#endif
}
+/* ========= Errata 16 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_16_PRESENT 1
+#else
+ #define NRF51_ERRATA_16_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_16_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_16_ENABLE_WORKAROUND NRF51_ERRATA_16_PRESENT
+#endif
+
static bool nrf51_errata_16(void)
{
#ifndef NRF51_SERIES
@@ -848,6 +1044,19 @@ static bool nrf51_errata_16(void)
#endif
}
+/* ========= Errata 17 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_17_PRESENT 1
+#else
+ #define NRF51_ERRATA_17_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_17_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_17_ENABLE_WORKAROUND NRF51_ERRATA_17_PRESENT
+#endif
+
static bool nrf51_errata_17(void)
{
#ifndef NRF51_SERIES
@@ -899,6 +1108,19 @@ static bool nrf51_errata_17(void)
#endif
}
+/* ========= Errata 18 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_18_PRESENT 1
+#else
+ #define NRF51_ERRATA_18_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_18_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_18_ENABLE_WORKAROUND NRF51_ERRATA_18_PRESENT
+#endif
+
static bool nrf51_errata_18(void)
{
#ifndef NRF51_SERIES
@@ -950,6 +1172,19 @@ static bool nrf51_errata_18(void)
#endif
}
+/* ========= Errata 19 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_19_PRESENT 1
+#else
+ #define NRF51_ERRATA_19_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_19_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_19_ENABLE_WORKAROUND NRF51_ERRATA_19_PRESENT
+#endif
+
static bool nrf51_errata_19(void)
{
#ifndef NRF51_SERIES
@@ -1001,6 +1236,19 @@ static bool nrf51_errata_19(void)
#endif
}
+/* ========= Errata 20 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_20_PRESENT 1
+#else
+ #define NRF51_ERRATA_20_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_20_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_20_ENABLE_WORKAROUND NRF51_ERRATA_20_PRESENT
+#endif
+
static bool nrf51_errata_20(void)
{
#ifndef NRF51_SERIES
@@ -1052,6 +1300,19 @@ static bool nrf51_errata_20(void)
#endif
}
+/* ========= Errata 21 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_21_PRESENT 1
+#else
+ #define NRF51_ERRATA_21_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_21_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_21_ENABLE_WORKAROUND NRF51_ERRATA_21_PRESENT
+#endif
+
static bool nrf51_errata_21(void)
{
#ifndef NRF51_SERIES
@@ -1103,6 +1364,19 @@ static bool nrf51_errata_21(void)
#endif
}
+/* ========= Errata 22 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_22_PRESENT 1
+#else
+ #define NRF51_ERRATA_22_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_22_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_22_ENABLE_WORKAROUND NRF51_ERRATA_22_PRESENT
+#endif
+
static bool nrf51_errata_22(void)
{
#ifndef NRF51_SERIES
@@ -1154,6 +1428,19 @@ static bool nrf51_errata_22(void)
#endif
}
+/* ========= Errata 23 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_23_PRESENT 1
+#else
+ #define NRF51_ERRATA_23_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_23_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_23_ENABLE_WORKAROUND NRF51_ERRATA_23_PRESENT
+#endif
+
static bool nrf51_errata_23(void)
{
#ifndef NRF51_SERIES
@@ -1205,6 +1492,19 @@ static bool nrf51_errata_23(void)
#endif
}
+/* ========= Errata 24 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_24_PRESENT 1
+#else
+ #define NRF51_ERRATA_24_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_24_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_24_ENABLE_WORKAROUND NRF51_ERRATA_24_PRESENT
+#endif
+
static bool nrf51_errata_24(void)
{
#ifndef NRF51_SERIES
@@ -1256,6 +1556,19 @@ static bool nrf51_errata_24(void)
#endif
}
+/* ========= Errata 25 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_25_PRESENT 1
+#else
+ #define NRF51_ERRATA_25_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_25_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_25_ENABLE_WORKAROUND NRF51_ERRATA_25_PRESENT
+#endif
+
static bool nrf51_errata_25(void)
{
#ifndef NRF51_SERIES
@@ -1307,6 +1620,19 @@ static bool nrf51_errata_25(void)
#endif
}
+/* ========= Errata 26 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_26_PRESENT 1
+#else
+ #define NRF51_ERRATA_26_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_26_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_26_ENABLE_WORKAROUND NRF51_ERRATA_26_PRESENT
+#endif
+
static bool nrf51_errata_26(void)
{
#ifndef NRF51_SERIES
@@ -1358,6 +1684,19 @@ static bool nrf51_errata_26(void)
#endif
}
+/* ========= Errata 27 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_27_PRESENT 1
+#else
+ #define NRF51_ERRATA_27_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_27_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_27_ENABLE_WORKAROUND NRF51_ERRATA_27_PRESENT
+#endif
+
static bool nrf51_errata_27(void)
{
#ifndef NRF51_SERIES
@@ -1409,6 +1748,19 @@ static bool nrf51_errata_27(void)
#endif
}
+/* ========= Errata 28 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_28_PRESENT 1
+#else
+ #define NRF51_ERRATA_28_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_28_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_28_ENABLE_WORKAROUND NRF51_ERRATA_28_PRESENT
+#endif
+
static bool nrf51_errata_28(void)
{
#ifndef NRF51_SERIES
@@ -1460,6 +1812,19 @@ static bool nrf51_errata_28(void)
#endif
}
+/* ========= Errata 29 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_29_PRESENT 1
+#else
+ #define NRF51_ERRATA_29_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_29_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_29_ENABLE_WORKAROUND NRF51_ERRATA_29_PRESENT
+#endif
+
static bool nrf51_errata_29(void)
{
#ifndef NRF51_SERIES
@@ -1511,6 +1876,19 @@ static bool nrf51_errata_29(void)
#endif
}
+/* ========= Errata 30 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_30_PRESENT 1
+#else
+ #define NRF51_ERRATA_30_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_30_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_30_ENABLE_WORKAROUND NRF51_ERRATA_30_PRESENT
+#endif
+
static bool nrf51_errata_30(void)
{
#ifndef NRF51_SERIES
@@ -1562,6 +1940,19 @@ static bool nrf51_errata_30(void)
#endif
}
+/* ========= Errata 31 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_31_PRESENT 1
+#else
+ #define NRF51_ERRATA_31_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_31_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_31_ENABLE_WORKAROUND NRF51_ERRATA_31_PRESENT
+#endif
+
static bool nrf51_errata_31(void)
{
#ifndef NRF51_SERIES
@@ -1613,6 +2004,19 @@ static bool nrf51_errata_31(void)
#endif
}
+/* ========= Errata 32 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_32_PRESENT 1
+#else
+ #define NRF51_ERRATA_32_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_32_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_32_ENABLE_WORKAROUND NRF51_ERRATA_32_PRESENT
+#endif
+
static bool nrf51_errata_32(void)
{
#ifndef NRF51_SERIES
@@ -1664,6 +2068,19 @@ static bool nrf51_errata_32(void)
#endif
}
+/* ========= Errata 33 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_33_PRESENT 1
+#else
+ #define NRF51_ERRATA_33_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_33_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_33_ENABLE_WORKAROUND NRF51_ERRATA_33_PRESENT
+#endif
+
static bool nrf51_errata_33(void)
{
#ifndef NRF51_SERIES
@@ -1715,6 +2132,19 @@ static bool nrf51_errata_33(void)
#endif
}
+/* ========= Errata 34 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_34_PRESENT 1
+#else
+ #define NRF51_ERRATA_34_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_34_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_34_ENABLE_WORKAROUND NRF51_ERRATA_34_PRESENT
+#endif
+
static bool nrf51_errata_34(void)
{
#ifndef NRF51_SERIES
@@ -1766,6 +2196,19 @@ static bool nrf51_errata_34(void)
#endif
}
+/* ========= Errata 35 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_35_PRESENT 1
+#else
+ #define NRF51_ERRATA_35_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_35_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_35_ENABLE_WORKAROUND NRF51_ERRATA_35_PRESENT
+#endif
+
static bool nrf51_errata_35(void)
{
#ifndef NRF51_SERIES
@@ -1817,6 +2260,19 @@ static bool nrf51_errata_35(void)
#endif
}
+/* ========= Errata 36 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_36_PRESENT 1
+#else
+ #define NRF51_ERRATA_36_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_36_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_36_ENABLE_WORKAROUND NRF51_ERRATA_36_PRESENT
+#endif
+
static bool nrf51_errata_36(void)
{
#ifndef NRF51_SERIES
@@ -1868,6 +2324,19 @@ static bool nrf51_errata_36(void)
#endif
}
+/* ========= Errata 37 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_37_PRESENT 1
+#else
+ #define NRF51_ERRATA_37_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_37_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_37_ENABLE_WORKAROUND NRF51_ERRATA_37_PRESENT
+#endif
+
static bool nrf51_errata_37(void)
{
#ifndef NRF51_SERIES
@@ -1919,6 +2388,19 @@ static bool nrf51_errata_37(void)
#endif
}
+/* ========= Errata 38 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_38_PRESENT 1
+#else
+ #define NRF51_ERRATA_38_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_38_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_38_ENABLE_WORKAROUND NRF51_ERRATA_38_PRESENT
+#endif
+
static bool nrf51_errata_38(void)
{
#ifndef NRF51_SERIES
@@ -1970,6 +2452,19 @@ static bool nrf51_errata_38(void)
#endif
}
+/* ========= Errata 39 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_39_PRESENT 1
+#else
+ #define NRF51_ERRATA_39_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_39_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_39_ENABLE_WORKAROUND NRF51_ERRATA_39_PRESENT
+#endif
+
static bool nrf51_errata_39(void)
{
#ifndef NRF51_SERIES
@@ -2021,6 +2516,19 @@ static bool nrf51_errata_39(void)
#endif
}
+/* ========= Errata 40 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_40_PRESENT 1
+#else
+ #define NRF51_ERRATA_40_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_40_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_40_ENABLE_WORKAROUND NRF51_ERRATA_40_PRESENT
+#endif
+
static bool nrf51_errata_40(void)
{
#ifndef NRF51_SERIES
@@ -2072,6 +2580,19 @@ static bool nrf51_errata_40(void)
#endif
}
+/* ========= Errata 41 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_41_PRESENT 1
+#else
+ #define NRF51_ERRATA_41_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_41_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_41_ENABLE_WORKAROUND NRF51_ERRATA_41_PRESENT
+#endif
+
static bool nrf51_errata_41(void)
{
#ifndef NRF51_SERIES
@@ -2123,6 +2644,19 @@ static bool nrf51_errata_41(void)
#endif
}
+/* ========= Errata 42 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_42_PRESENT 1
+#else
+ #define NRF51_ERRATA_42_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_42_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_42_ENABLE_WORKAROUND NRF51_ERRATA_42_PRESENT
+#endif
+
static bool nrf51_errata_42(void)
{
#ifndef NRF51_SERIES
@@ -2174,6 +2708,19 @@ static bool nrf51_errata_42(void)
#endif
}
+/* ========= Errata 43 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_43_PRESENT 1
+#else
+ #define NRF51_ERRATA_43_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_43_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_43_ENABLE_WORKAROUND NRF51_ERRATA_43_PRESENT
+#endif
+
static bool nrf51_errata_43(void)
{
#ifndef NRF51_SERIES
@@ -2225,6 +2772,19 @@ static bool nrf51_errata_43(void)
#endif
}
+/* ========= Errata 44 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_44_PRESENT 1
+#else
+ #define NRF51_ERRATA_44_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_44_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_44_ENABLE_WORKAROUND NRF51_ERRATA_44_PRESENT
+#endif
+
static bool nrf51_errata_44(void)
{
#ifndef NRF51_SERIES
@@ -2276,6 +2836,19 @@ static bool nrf51_errata_44(void)
#endif
}
+/* ========= Errata 45 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_45_PRESENT 1
+#else
+ #define NRF51_ERRATA_45_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_45_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_45_ENABLE_WORKAROUND NRF51_ERRATA_45_PRESENT
+#endif
+
static bool nrf51_errata_45(void)
{
#ifndef NRF51_SERIES
@@ -2327,6 +2900,19 @@ static bool nrf51_errata_45(void)
#endif
}
+/* ========= Errata 46 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_46_PRESENT 1
+#else
+ #define NRF51_ERRATA_46_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_46_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_46_ENABLE_WORKAROUND NRF51_ERRATA_46_PRESENT
+#endif
+
static bool nrf51_errata_46(void)
{
#ifndef NRF51_SERIES
@@ -2378,6 +2964,19 @@ static bool nrf51_errata_46(void)
#endif
}
+/* ========= Errata 47 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_47_PRESENT 1
+#else
+ #define NRF51_ERRATA_47_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_47_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_47_ENABLE_WORKAROUND NRF51_ERRATA_47_PRESENT
+#endif
+
static bool nrf51_errata_47(void)
{
#ifndef NRF51_SERIES
@@ -2429,6 +3028,19 @@ static bool nrf51_errata_47(void)
#endif
}
+/* ========= Errata 48 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_48_PRESENT 1
+#else
+ #define NRF51_ERRATA_48_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_48_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_48_ENABLE_WORKAROUND NRF51_ERRATA_48_PRESENT
+#endif
+
static bool nrf51_errata_48(void)
{
#ifndef NRF51_SERIES
@@ -2480,6 +3092,19 @@ static bool nrf51_errata_48(void)
#endif
}
+/* ========= Errata 49 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_49_PRESENT 1
+#else
+ #define NRF51_ERRATA_49_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_49_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_49_ENABLE_WORKAROUND NRF51_ERRATA_49_PRESENT
+#endif
+
static bool nrf51_errata_49(void)
{
#ifndef NRF51_SERIES
@@ -2531,6 +3156,13 @@ static bool nrf51_errata_49(void)
#endif
}
+/* ========= Errata 50 ========= */
+#define NRF51_ERRATA_50_PRESENT 0
+
+#ifndef NRF51_ERRATA_50_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_50_ENABLE_WORKAROUND NRF51_ERRATA_50_PRESENT
+#endif
+
static bool nrf51_errata_50(void)
{
#ifndef NRF51_SERIES
@@ -2540,6 +3172,13 @@ static bool nrf51_errata_50(void)
#endif
}
+/* ========= Errata 51 ========= */
+#define NRF51_ERRATA_51_PRESENT 0
+
+#ifndef NRF51_ERRATA_51_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_51_ENABLE_WORKAROUND NRF51_ERRATA_51_PRESENT
+#endif
+
static bool nrf51_errata_51(void)
{
#ifndef NRF51_SERIES
@@ -2549,6 +3188,13 @@ static bool nrf51_errata_51(void)
#endif
}
+/* ========= Errata 52 ========= */
+#define NRF51_ERRATA_52_PRESENT 0
+
+#ifndef NRF51_ERRATA_52_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_52_ENABLE_WORKAROUND NRF51_ERRATA_52_PRESENT
+#endif
+
static bool nrf51_errata_52(void)
{
#ifndef NRF51_SERIES
@@ -2558,6 +3204,13 @@ static bool nrf51_errata_52(void)
#endif
}
+/* ========= Errata 53 ========= */
+#define NRF51_ERRATA_53_PRESENT 0
+
+#ifndef NRF51_ERRATA_53_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_53_ENABLE_WORKAROUND NRF51_ERRATA_53_PRESENT
+#endif
+
static bool nrf51_errata_53(void)
{
#ifndef NRF51_SERIES
@@ -2567,6 +3220,13 @@ static bool nrf51_errata_53(void)
#endif
}
+/* ========= Errata 54 ========= */
+#define NRF51_ERRATA_54_PRESENT 0
+
+#ifndef NRF51_ERRATA_54_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_54_ENABLE_WORKAROUND NRF51_ERRATA_54_PRESENT
+#endif
+
static bool nrf51_errata_54(void)
{
#ifndef NRF51_SERIES
@@ -2576,6 +3236,19 @@ static bool nrf51_errata_54(void)
#endif
}
+/* ========= Errata 55 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_55_PRESENT 1
+#else
+ #define NRF51_ERRATA_55_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_55_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_55_ENABLE_WORKAROUND NRF51_ERRATA_55_PRESENT
+#endif
+
static bool nrf51_errata_55(void)
{
#ifndef NRF51_SERIES
@@ -2627,6 +3300,19 @@ static bool nrf51_errata_55(void)
#endif
}
+/* ========= Errata 56 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_56_PRESENT 1
+#else
+ #define NRF51_ERRATA_56_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_56_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_56_ENABLE_WORKAROUND NRF51_ERRATA_56_PRESENT
+#endif
+
static bool nrf51_errata_56(void)
{
#ifndef NRF51_SERIES
@@ -2678,6 +3364,19 @@ static bool nrf51_errata_56(void)
#endif
}
+/* ========= Errata 57 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_57_PRESENT 1
+#else
+ #define NRF51_ERRATA_57_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_57_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_57_ENABLE_WORKAROUND NRF51_ERRATA_57_PRESENT
+#endif
+
static bool nrf51_errata_57(void)
{
#ifndef NRF51_SERIES
@@ -2729,6 +3428,19 @@ static bool nrf51_errata_57(void)
#endif
}
+/* ========= Errata 58 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_58_PRESENT 1
+#else
+ #define NRF51_ERRATA_58_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_58_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_58_ENABLE_WORKAROUND NRF51_ERRATA_58_PRESENT
+#endif
+
static bool nrf51_errata_58(void)
{
#ifndef NRF51_SERIES
@@ -2780,6 +3492,19 @@ static bool nrf51_errata_58(void)
#endif
}
+/* ========= Errata 59 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_59_PRESENT 1
+#else
+ #define NRF51_ERRATA_59_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_59_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_59_ENABLE_WORKAROUND NRF51_ERRATA_59_PRESENT
+#endif
+
static bool nrf51_errata_59(void)
{
#ifndef NRF51_SERIES
@@ -2831,6 +3556,19 @@ static bool nrf51_errata_59(void)
#endif
}
+/* ========= Errata 60 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_60_PRESENT 1
+#else
+ #define NRF51_ERRATA_60_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_60_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_60_ENABLE_WORKAROUND NRF51_ERRATA_60_PRESENT
+#endif
+
static bool nrf51_errata_60(void)
{
#ifndef NRF51_SERIES
@@ -2882,6 +3620,19 @@ static bool nrf51_errata_60(void)
#endif
}
+/* ========= Errata 61 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_61_PRESENT 1
+#else
+ #define NRF51_ERRATA_61_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_61_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_61_ENABLE_WORKAROUND NRF51_ERRATA_61_PRESENT
+#endif
+
static bool nrf51_errata_61(void)
{
#ifndef NRF51_SERIES
@@ -2933,6 +3684,19 @@ static bool nrf51_errata_61(void)
#endif
}
+/* ========= Errata 62 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_62_PRESENT 1
+#else
+ #define NRF51_ERRATA_62_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_62_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_62_ENABLE_WORKAROUND NRF51_ERRATA_62_PRESENT
+#endif
+
static bool nrf51_errata_62(void)
{
#ifndef NRF51_SERIES
@@ -2984,6 +3748,19 @@ static bool nrf51_errata_62(void)
#endif
}
+/* ========= Errata 63 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_63_PRESENT 1
+#else
+ #define NRF51_ERRATA_63_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_63_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_63_ENABLE_WORKAROUND NRF51_ERRATA_63_PRESENT
+#endif
+
static bool nrf51_errata_63(void)
{
#ifndef NRF51_SERIES
@@ -3035,6 +3812,19 @@ static bool nrf51_errata_63(void)
#endif
}
+/* ========= Errata 64 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_64_PRESENT 1
+#else
+ #define NRF51_ERRATA_64_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_64_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_64_ENABLE_WORKAROUND NRF51_ERRATA_64_PRESENT
+#endif
+
static bool nrf51_errata_64(void)
{
#ifndef NRF51_SERIES
@@ -3086,6 +3876,19 @@ static bool nrf51_errata_64(void)
#endif
}
+/* ========= Errata 65 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_65_PRESENT 1
+#else
+ #define NRF51_ERRATA_65_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_65_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_65_ENABLE_WORKAROUND NRF51_ERRATA_65_PRESENT
+#endif
+
static bool nrf51_errata_65(void)
{
#ifndef NRF51_SERIES
@@ -3137,6 +3940,19 @@ static bool nrf51_errata_65(void)
#endif
}
+/* ========= Errata 66 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_66_PRESENT 1
+#else
+ #define NRF51_ERRATA_66_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_66_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_66_ENABLE_WORKAROUND NRF51_ERRATA_66_PRESENT
+#endif
+
static bool nrf51_errata_66(void)
{
#ifndef NRF51_SERIES
@@ -3188,6 +4004,19 @@ static bool nrf51_errata_66(void)
#endif
}
+/* ========= Errata 67 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_67_PRESENT 1
+#else
+ #define NRF51_ERRATA_67_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_67_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_67_ENABLE_WORKAROUND NRF51_ERRATA_67_PRESENT
+#endif
+
static bool nrf51_errata_67(void)
{
#ifndef NRF51_SERIES
@@ -3239,6 +4068,19 @@ static bool nrf51_errata_67(void)
#endif
}
+/* ========= Errata 68 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_68_PRESENT 1
+#else
+ #define NRF51_ERRATA_68_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_68_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_68_ENABLE_WORKAROUND NRF51_ERRATA_68_PRESENT
+#endif
+
static bool nrf51_errata_68(void)
{
#ifndef NRF51_SERIES
@@ -3290,6 +4132,19 @@ static bool nrf51_errata_68(void)
#endif
}
+/* ========= Errata 69 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_69_PRESENT 1
+#else
+ #define NRF51_ERRATA_69_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_69_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_69_ENABLE_WORKAROUND NRF51_ERRATA_69_PRESENT
+#endif
+
static bool nrf51_errata_69(void)
{
#ifndef NRF51_SERIES
@@ -3341,6 +4196,19 @@ static bool nrf51_errata_69(void)
#endif
}
+/* ========= Errata 70 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_70_PRESENT 1
+#else
+ #define NRF51_ERRATA_70_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_70_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_70_ENABLE_WORKAROUND NRF51_ERRATA_70_PRESENT
+#endif
+
static bool nrf51_errata_70(void)
{
#ifndef NRF51_SERIES
@@ -3392,6 +4260,19 @@ static bool nrf51_errata_70(void)
#endif
}
+/* ========= Errata 71 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_71_PRESENT 1
+#else
+ #define NRF51_ERRATA_71_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_71_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_71_ENABLE_WORKAROUND NRF51_ERRATA_71_PRESENT
+#endif
+
static bool nrf51_errata_71(void)
{
#ifndef NRF51_SERIES
@@ -3443,6 +4324,19 @@ static bool nrf51_errata_71(void)
#endif
}
+/* ========= Errata 72 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_72_PRESENT 1
+#else
+ #define NRF51_ERRATA_72_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_72_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_72_ENABLE_WORKAROUND NRF51_ERRATA_72_PRESENT
+#endif
+
static bool nrf51_errata_72(void)
{
#ifndef NRF51_SERIES
@@ -3494,6 +4388,19 @@ static bool nrf51_errata_72(void)
#endif
}
+/* ========= Errata 73 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_73_PRESENT 1
+#else
+ #define NRF51_ERRATA_73_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_73_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_73_ENABLE_WORKAROUND NRF51_ERRATA_73_PRESENT
+#endif
+
static bool nrf51_errata_73(void)
{
#ifndef NRF51_SERIES
@@ -3545,6 +4452,19 @@ static bool nrf51_errata_73(void)
#endif
}
+/* ========= Errata 74 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_74_PRESENT 1
+#else
+ #define NRF51_ERRATA_74_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_74_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_74_ENABLE_WORKAROUND NRF51_ERRATA_74_PRESENT
+#endif
+
static bool nrf51_errata_74(void)
{
#ifndef NRF51_SERIES
@@ -3596,6 +4516,19 @@ static bool nrf51_errata_74(void)
#endif
}
+/* ========= Errata 75 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_75_PRESENT 1
+#else
+ #define NRF51_ERRATA_75_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_75_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_75_ENABLE_WORKAROUND NRF51_ERRATA_75_PRESENT
+#endif
+
static bool nrf51_errata_75(void)
{
#ifndef NRF51_SERIES
@@ -3647,6 +4580,19 @@ static bool nrf51_errata_75(void)
#endif
}
+/* ========= Errata 76 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_76_PRESENT 1
+#else
+ #define NRF51_ERRATA_76_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_76_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_76_ENABLE_WORKAROUND NRF51_ERRATA_76_PRESENT
+#endif
+
static bool nrf51_errata_76(void)
{
#ifndef NRF51_SERIES
@@ -3698,6 +4644,13 @@ static bool nrf51_errata_76(void)
#endif
}
+/* ========= Errata 77 ========= */
+#define NRF51_ERRATA_77_PRESENT 0
+
+#ifndef NRF51_ERRATA_77_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_77_ENABLE_WORKAROUND NRF51_ERRATA_77_PRESENT
+#endif
+
static bool nrf51_errata_77(void)
{
#ifndef NRF51_SERIES
@@ -3707,6 +4660,19 @@ static bool nrf51_errata_77(void)
#endif
}
+/* ========= Errata 78 ========= */
+#if defined (NRF51422_XXAA) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAB) || defined (DEVELOP_IN_NRF51422) \
+ || defined (NRF51422_XXAC) || defined (DEVELOP_IN_NRF51422)
+ #define NRF51_ERRATA_78_PRESENT 1
+#else
+ #define NRF51_ERRATA_78_PRESENT 0
+#endif
+
+#ifndef NRF51_ERRATA_78_ENABLE_WORKAROUND
+ #define NRF51_ERRATA_78_ENABLE_WORKAROUND NRF51_ERRATA_78_PRESENT
+#endif
+
static bool nrf51_errata_78(void)
{
#ifndef NRF51_SERIES
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf52_erratas.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf52_erratas.h
index 228d330ae2..5ca1fc2d37 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf52_erratas.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf52_erratas.h
@@ -213,7 +213,26 @@ static bool nrf52_errata_232(void) __UNUSED;
static bool nrf52_errata_233(void) __UNUSED;
static bool nrf52_errata_236(void) __UNUSED;
static bool nrf52_errata_237(void) __UNUSED;
+static bool nrf52_errata_242(void) __UNUSED;
+static bool nrf52_errata_243(void) __UNUSED;
+static bool nrf52_errata_244(void) __UNUSED;
+static bool nrf52_errata_245(void) __UNUSED;
+static bool nrf52_errata_246(void) __UNUSED;
static bool nrf52_errata_248(void) __UNUSED;
+static bool nrf52_errata_249(void) __UNUSED;
+static bool nrf52_errata_250(void) __UNUSED;
+
+/* ========= Errata 1 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_1_PRESENT 1
+#else
+ #define NRF52_ERRATA_1_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_1_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_1_ENABLE_WORKAROUND NRF52_ERRATA_1_PRESENT
+#endif
static bool nrf52_errata_1(void)
{
@@ -248,6 +267,18 @@ static bool nrf52_errata_1(void)
#endif
}
+/* ========= Errata 2 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_2_PRESENT 1
+#else
+ #define NRF52_ERRATA_2_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_2_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_2_ENABLE_WORKAROUND NRF52_ERRATA_2_PRESENT
+#endif
+
static bool nrf52_errata_2(void)
{
#ifndef NRF52_SERIES
@@ -281,6 +312,18 @@ static bool nrf52_errata_2(void)
#endif
}
+/* ========= Errata 3 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_3_PRESENT 1
+#else
+ #define NRF52_ERRATA_3_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_3_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_3_ENABLE_WORKAROUND NRF52_ERRATA_3_PRESENT
+#endif
+
static bool nrf52_errata_3(void)
{
#ifndef NRF52_SERIES
@@ -314,6 +357,18 @@ static bool nrf52_errata_3(void)
#endif
}
+/* ========= Errata 4 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_4_PRESENT 1
+#else
+ #define NRF52_ERRATA_4_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_4_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_4_ENABLE_WORKAROUND NRF52_ERRATA_4_PRESENT
+#endif
+
static bool nrf52_errata_4(void)
{
#ifndef NRF52_SERIES
@@ -347,6 +402,18 @@ static bool nrf52_errata_4(void)
#endif
}
+/* ========= Errata 7 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_7_PRESENT 1
+#else
+ #define NRF52_ERRATA_7_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_7_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_7_ENABLE_WORKAROUND NRF52_ERRATA_7_PRESENT
+#endif
+
static bool nrf52_errata_7(void)
{
#ifndef NRF52_SERIES
@@ -380,6 +447,18 @@ static bool nrf52_errata_7(void)
#endif
}
+/* ========= Errata 8 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_8_PRESENT 1
+#else
+ #define NRF52_ERRATA_8_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_8_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_8_ENABLE_WORKAROUND NRF52_ERRATA_8_PRESENT
+#endif
+
static bool nrf52_errata_8(void)
{
#ifndef NRF52_SERIES
@@ -413,6 +492,18 @@ static bool nrf52_errata_8(void)
#endif
}
+/* ========= Errata 9 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_9_PRESENT 1
+#else
+ #define NRF52_ERRATA_9_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_9_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_9_ENABLE_WORKAROUND NRF52_ERRATA_9_PRESENT
+#endif
+
static bool nrf52_errata_9(void)
{
#ifndef NRF52_SERIES
@@ -446,6 +537,18 @@ static bool nrf52_errata_9(void)
#endif
}
+/* ========= Errata 10 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_10_PRESENT 1
+#else
+ #define NRF52_ERRATA_10_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_10_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_10_ENABLE_WORKAROUND NRF52_ERRATA_10_PRESENT
+#endif
+
static bool nrf52_errata_10(void)
{
#ifndef NRF52_SERIES
@@ -479,6 +582,18 @@ static bool nrf52_errata_10(void)
#endif
}
+/* ========= Errata 11 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_11_PRESENT 1
+#else
+ #define NRF52_ERRATA_11_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_11_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_11_ENABLE_WORKAROUND NRF52_ERRATA_11_PRESENT
+#endif
+
static bool nrf52_errata_11(void)
{
#ifndef NRF52_SERIES
@@ -512,6 +627,18 @@ static bool nrf52_errata_11(void)
#endif
}
+/* ========= Errata 12 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_12_PRESENT 1
+#else
+ #define NRF52_ERRATA_12_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_12_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_12_ENABLE_WORKAROUND NRF52_ERRATA_12_PRESENT
+#endif
+
static bool nrf52_errata_12(void)
{
#ifndef NRF52_SERIES
@@ -556,6 +683,22 @@ static bool nrf52_errata_12(void)
#endif
}
+/* ========= Errata 15 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_15_PRESENT 1
+#else
+ #define NRF52_ERRATA_15_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_15_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_15_ENABLE_WORKAROUND NRF52_ERRATA_15_PRESENT
+#endif
+
static bool nrf52_errata_15(void)
{
#ifndef NRF52_SERIES
@@ -615,6 +758,10 @@ static bool nrf52_errata_15(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -662,6 +809,18 @@ static bool nrf52_errata_15(void)
#endif
}
+/* ========= Errata 16 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_16_PRESENT 1
+#else
+ #define NRF52_ERRATA_16_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_16_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_16_ENABLE_WORKAROUND NRF52_ERRATA_16_PRESENT
+#endif
+
static bool nrf52_errata_16(void)
{
#ifndef NRF52_SERIES
@@ -695,6 +854,18 @@ static bool nrf52_errata_16(void)
#endif
}
+/* ========= Errata 17 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_17_PRESENT 1
+#else
+ #define NRF52_ERRATA_17_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_17_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_17_ENABLE_WORKAROUND NRF52_ERRATA_17_PRESENT
+#endif
+
static bool nrf52_errata_17(void)
{
#ifndef NRF52_SERIES
@@ -728,6 +899,24 @@ static bool nrf52_errata_17(void)
#endif
}
+/* ========= Errata 20 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_20_PRESENT 1
+#else
+ #define NRF52_ERRATA_20_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_20_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_20_ENABLE_WORKAROUND NRF52_ERRATA_20_PRESENT
+#endif
+
static bool nrf52_errata_20(void)
{
#ifndef NRF52_SERIES
@@ -789,8 +978,12 @@ static bool nrf52_errata_20(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -866,6 +1059,18 @@ static bool nrf52_errata_20(void)
#endif
}
+/* ========= Errata 23 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_23_PRESENT 1
+#else
+ #define NRF52_ERRATA_23_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_23_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_23_ENABLE_WORKAROUND NRF52_ERRATA_23_PRESENT
+#endif
+
static bool nrf52_errata_23(void)
{
#ifndef NRF52_SERIES
@@ -899,6 +1104,18 @@ static bool nrf52_errata_23(void)
#endif
}
+/* ========= Errata 24 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_24_PRESENT 1
+#else
+ #define NRF52_ERRATA_24_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_24_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_24_ENABLE_WORKAROUND NRF52_ERRATA_24_PRESENT
+#endif
+
static bool nrf52_errata_24(void)
{
#ifndef NRF52_SERIES
@@ -932,6 +1149,18 @@ static bool nrf52_errata_24(void)
#endif
}
+/* ========= Errata 25 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_25_PRESENT 1
+#else
+ #define NRF52_ERRATA_25_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_25_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_25_ENABLE_WORKAROUND NRF52_ERRATA_25_PRESENT
+#endif
+
static bool nrf52_errata_25(void)
{
#ifndef NRF52_SERIES
@@ -965,6 +1194,18 @@ static bool nrf52_errata_25(void)
#endif
}
+/* ========= Errata 26 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_26_PRESENT 1
+#else
+ #define NRF52_ERRATA_26_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_26_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_26_ENABLE_WORKAROUND NRF52_ERRATA_26_PRESENT
+#endif
+
static bool nrf52_errata_26(void)
{
#ifndef NRF52_SERIES
@@ -998,6 +1239,18 @@ static bool nrf52_errata_26(void)
#endif
}
+/* ========= Errata 27 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_27_PRESENT 1
+#else
+ #define NRF52_ERRATA_27_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_27_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_27_ENABLE_WORKAROUND NRF52_ERRATA_27_PRESENT
+#endif
+
static bool nrf52_errata_27(void)
{
#ifndef NRF52_SERIES
@@ -1031,6 +1284,18 @@ static bool nrf52_errata_27(void)
#endif
}
+/* ========= Errata 28 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_28_PRESENT 1
+#else
+ #define NRF52_ERRATA_28_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_28_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_28_ENABLE_WORKAROUND NRF52_ERRATA_28_PRESENT
+#endif
+
static bool nrf52_errata_28(void)
{
#ifndef NRF52_SERIES
@@ -1064,6 +1329,18 @@ static bool nrf52_errata_28(void)
#endif
}
+/* ========= Errata 29 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_29_PRESENT 1
+#else
+ #define NRF52_ERRATA_29_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_29_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_29_ENABLE_WORKAROUND NRF52_ERRATA_29_PRESENT
+#endif
+
static bool nrf52_errata_29(void)
{
#ifndef NRF52_SERIES
@@ -1097,6 +1374,18 @@ static bool nrf52_errata_29(void)
#endif
}
+/* ========= Errata 30 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_30_PRESENT 1
+#else
+ #define NRF52_ERRATA_30_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_30_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_30_ENABLE_WORKAROUND NRF52_ERRATA_30_PRESENT
+#endif
+
static bool nrf52_errata_30(void)
{
#ifndef NRF52_SERIES
@@ -1130,6 +1419,21 @@ static bool nrf52_errata_30(void)
#endif
}
+/* ========= Errata 31 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_31_PRESENT 1
+#else
+ #define NRF52_ERRATA_31_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_31_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_31_ENABLE_WORKAROUND NRF52_ERRATA_31_PRESENT
+#endif
+
static bool nrf52_errata_31(void)
{
#ifndef NRF52_SERIES
@@ -1217,6 +1521,18 @@ static bool nrf52_errata_31(void)
#endif
}
+/* ========= Errata 32 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_32_PRESENT 1
+#else
+ #define NRF52_ERRATA_32_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_32_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_32_ENABLE_WORKAROUND NRF52_ERRATA_32_PRESENT
+#endif
+
static bool nrf52_errata_32(void)
{
#ifndef NRF52_SERIES
@@ -1250,6 +1566,18 @@ static bool nrf52_errata_32(void)
#endif
}
+/* ========= Errata 33 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_33_PRESENT 1
+#else
+ #define NRF52_ERRATA_33_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_33_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_33_ENABLE_WORKAROUND NRF52_ERRATA_33_PRESENT
+#endif
+
static bool nrf52_errata_33(void)
{
#ifndef NRF52_SERIES
@@ -1283,6 +1611,18 @@ static bool nrf52_errata_33(void)
#endif
}
+/* ========= Errata 34 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_34_PRESENT 1
+#else
+ #define NRF52_ERRATA_34_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_34_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_34_ENABLE_WORKAROUND NRF52_ERRATA_34_PRESENT
+#endif
+
static bool nrf52_errata_34(void)
{
#ifndef NRF52_SERIES
@@ -1316,6 +1656,18 @@ static bool nrf52_errata_34(void)
#endif
}
+/* ========= Errata 35 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_35_PRESENT 1
+#else
+ #define NRF52_ERRATA_35_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_35_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_35_ENABLE_WORKAROUND NRF52_ERRATA_35_PRESENT
+#endif
+
static bool nrf52_errata_35(void)
{
#ifndef NRF52_SERIES
@@ -1349,6 +1701,24 @@ static bool nrf52_errata_35(void)
#endif
}
+/* ========= Errata 36 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_36_PRESENT 1
+#else
+ #define NRF52_ERRATA_36_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_36_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_36_ENABLE_WORKAROUND NRF52_ERRATA_36_PRESENT
+#endif
+
static bool nrf52_errata_36(void)
{
#ifndef NRF52_SERIES
@@ -1410,8 +1780,12 @@ static bool nrf52_errata_36(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -1487,6 +1861,18 @@ static bool nrf52_errata_36(void)
#endif
}
+/* ========= Errata 37 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_37_PRESENT 1
+#else
+ #define NRF52_ERRATA_37_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_37_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_37_ENABLE_WORKAROUND NRF52_ERRATA_37_PRESENT
+#endif
+
static bool nrf52_errata_37(void)
{
#ifndef NRF52_SERIES
@@ -1520,6 +1906,18 @@ static bool nrf52_errata_37(void)
#endif
}
+/* ========= Errata 38 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_38_PRESENT 1
+#else
+ #define NRF52_ERRATA_38_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_38_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_38_ENABLE_WORKAROUND NRF52_ERRATA_38_PRESENT
+#endif
+
static bool nrf52_errata_38(void)
{
#ifndef NRF52_SERIES
@@ -1553,6 +1951,18 @@ static bool nrf52_errata_38(void)
#endif
}
+/* ========= Errata 39 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_39_PRESENT 1
+#else
+ #define NRF52_ERRATA_39_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_39_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_39_ENABLE_WORKAROUND NRF52_ERRATA_39_PRESENT
+#endif
+
static bool nrf52_errata_39(void)
{
#ifndef NRF52_SERIES
@@ -1586,6 +1996,18 @@ static bool nrf52_errata_39(void)
#endif
}
+/* ========= Errata 40 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_40_PRESENT 1
+#else
+ #define NRF52_ERRATA_40_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_40_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_40_ENABLE_WORKAROUND NRF52_ERRATA_40_PRESENT
+#endif
+
static bool nrf52_errata_40(void)
{
#ifndef NRF52_SERIES
@@ -1619,6 +2041,18 @@ static bool nrf52_errata_40(void)
#endif
}
+/* ========= Errata 41 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_41_PRESENT 1
+#else
+ #define NRF52_ERRATA_41_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_41_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_41_ENABLE_WORKAROUND NRF52_ERRATA_41_PRESENT
+#endif
+
static bool nrf52_errata_41(void)
{
#ifndef NRF52_SERIES
@@ -1652,6 +2086,18 @@ static bool nrf52_errata_41(void)
#endif
}
+/* ========= Errata 42 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_42_PRESENT 1
+#else
+ #define NRF52_ERRATA_42_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_42_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_42_ENABLE_WORKAROUND NRF52_ERRATA_42_PRESENT
+#endif
+
static bool nrf52_errata_42(void)
{
#ifndef NRF52_SERIES
@@ -1685,6 +2131,18 @@ static bool nrf52_errata_42(void)
#endif
}
+/* ========= Errata 43 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_43_PRESENT 1
+#else
+ #define NRF52_ERRATA_43_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_43_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_43_ENABLE_WORKAROUND NRF52_ERRATA_43_PRESENT
+#endif
+
static bool nrf52_errata_43(void)
{
#ifndef NRF52_SERIES
@@ -1718,6 +2176,18 @@ static bool nrf52_errata_43(void)
#endif
}
+/* ========= Errata 44 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_44_PRESENT 1
+#else
+ #define NRF52_ERRATA_44_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_44_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_44_ENABLE_WORKAROUND NRF52_ERRATA_44_PRESENT
+#endif
+
static bool nrf52_errata_44(void)
{
#ifndef NRF52_SERIES
@@ -1751,6 +2221,18 @@ static bool nrf52_errata_44(void)
#endif
}
+/* ========= Errata 46 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_46_PRESENT 1
+#else
+ #define NRF52_ERRATA_46_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_46_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_46_ENABLE_WORKAROUND NRF52_ERRATA_46_PRESENT
+#endif
+
static bool nrf52_errata_46(void)
{
#ifndef NRF52_SERIES
@@ -1784,6 +2266,18 @@ static bool nrf52_errata_46(void)
#endif
}
+/* ========= Errata 47 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_47_PRESENT 1
+#else
+ #define NRF52_ERRATA_47_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_47_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_47_ENABLE_WORKAROUND NRF52_ERRATA_47_PRESENT
+#endif
+
static bool nrf52_errata_47(void)
{
#ifndef NRF52_SERIES
@@ -1817,6 +2311,18 @@ static bool nrf52_errata_47(void)
#endif
}
+/* ========= Errata 48 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_48_PRESENT 1
+#else
+ #define NRF52_ERRATA_48_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_48_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_48_ENABLE_WORKAROUND NRF52_ERRATA_48_PRESENT
+#endif
+
static bool nrf52_errata_48(void)
{
#ifndef NRF52_SERIES
@@ -1850,6 +2356,18 @@ static bool nrf52_errata_48(void)
#endif
}
+/* ========= Errata 49 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_49_PRESENT 1
+#else
+ #define NRF52_ERRATA_49_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_49_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_49_ENABLE_WORKAROUND NRF52_ERRATA_49_PRESENT
+#endif
+
static bool nrf52_errata_49(void)
{
#ifndef NRF52_SERIES
@@ -1883,6 +2401,18 @@ static bool nrf52_errata_49(void)
#endif
}
+/* ========= Errata 51 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_51_PRESENT 1
+#else
+ #define NRF52_ERRATA_51_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_51_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_51_ENABLE_WORKAROUND NRF52_ERRATA_51_PRESENT
+#endif
+
static bool nrf52_errata_51(void)
{
#ifndef NRF52_SERIES
@@ -1927,6 +2457,19 @@ static bool nrf52_errata_51(void)
#endif
}
+/* ========= Errata 54 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_54_PRESENT 1
+#else
+ #define NRF52_ERRATA_54_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_54_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_54_ENABLE_WORKAROUND NRF52_ERRATA_54_PRESENT
+#endif
+
static bool nrf52_errata_54(void)
{
#ifndef NRF52_SERIES
@@ -1983,6 +2526,10 @@ static bool nrf52_errata_54(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1992,6 +2539,21 @@ static bool nrf52_errata_54(void)
#endif
}
+/* ========= Errata 55 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_55_PRESENT 1
+#else
+ #define NRF52_ERRATA_55_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_55_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_55_ENABLE_WORKAROUND NRF52_ERRATA_55_PRESENT
+#endif
+
static bool nrf52_errata_55(void)
{
#ifndef NRF52_SERIES
@@ -2050,8 +2612,12 @@ static bool nrf52_errata_55(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -2089,6 +2655,18 @@ static bool nrf52_errata_55(void)
#endif
}
+/* ========= Errata 57 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_57_PRESENT 1
+#else
+ #define NRF52_ERRATA_57_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_57_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_57_ENABLE_WORKAROUND NRF52_ERRATA_57_PRESENT
+#endif
+
static bool nrf52_errata_57(void)
{
#ifndef NRF52_SERIES
@@ -2122,6 +2700,19 @@ static bool nrf52_errata_57(void)
#endif
}
+/* ========= Errata 58 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_58_PRESENT 1
+#else
+ #define NRF52_ERRATA_58_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_58_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_58_ENABLE_WORKAROUND NRF52_ERRATA_58_PRESENT
+#endif
+
static bool nrf52_errata_58(void)
{
#ifndef NRF52_SERIES
@@ -2178,6 +2769,10 @@ static bool nrf52_errata_58(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2187,6 +2782,18 @@ static bool nrf52_errata_58(void)
#endif
}
+/* ========= Errata 62 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_62_PRESENT 1
+#else
+ #define NRF52_ERRATA_62_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_62_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_62_ENABLE_WORKAROUND NRF52_ERRATA_62_PRESENT
+#endif
+
static bool nrf52_errata_62(void)
{
#ifndef NRF52_SERIES
@@ -2220,6 +2827,18 @@ static bool nrf52_errata_62(void)
#endif
}
+/* ========= Errata 63 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_63_PRESENT 1
+#else
+ #define NRF52_ERRATA_63_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_63_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_63_ENABLE_WORKAROUND NRF52_ERRATA_63_PRESENT
+#endif
+
static bool nrf52_errata_63(void)
{
#ifndef NRF52_SERIES
@@ -2253,6 +2872,18 @@ static bool nrf52_errata_63(void)
#endif
}
+/* ========= Errata 64 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_64_PRESENT 1
+#else
+ #define NRF52_ERRATA_64_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_64_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_64_ENABLE_WORKAROUND NRF52_ERRATA_64_PRESENT
+#endif
+
static bool nrf52_errata_64(void)
{
#ifndef NRF52_SERIES
@@ -2297,6 +2928,18 @@ static bool nrf52_errata_64(void)
#endif
}
+/* ========= Errata 65 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_65_PRESENT 1
+#else
+ #define NRF52_ERRATA_65_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_65_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_65_ENABLE_WORKAROUND NRF52_ERRATA_65_PRESENT
+#endif
+
static bool nrf52_errata_65(void)
{
#ifndef NRF52_SERIES
@@ -2330,6 +2973,24 @@ static bool nrf52_errata_65(void)
#endif
}
+/* ========= Errata 66 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_66_PRESENT 1
+#else
+ #define NRF52_ERRATA_66_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_66_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_66_ENABLE_WORKAROUND NRF52_ERRATA_66_PRESENT
+#endif
+
static bool nrf52_errata_66(void)
{
#ifndef NRF52_SERIES
@@ -2391,8 +3052,12 @@ static bool nrf52_errata_66(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -2468,6 +3133,18 @@ static bool nrf52_errata_66(void)
#endif
}
+/* ========= Errata 67 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_67_PRESENT 1
+#else
+ #define NRF52_ERRATA_67_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_67_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_67_ENABLE_WORKAROUND NRF52_ERRATA_67_PRESENT
+#endif
+
static bool nrf52_errata_67(void)
{
#ifndef NRF52_SERIES
@@ -2512,6 +3189,22 @@ static bool nrf52_errata_67(void)
#endif
}
+/* ========= Errata 68 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_68_PRESENT 1
+#else
+ #define NRF52_ERRATA_68_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_68_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_68_ENABLE_WORKAROUND NRF52_ERRATA_68_PRESENT
+#endif
+
static bool nrf52_errata_68(void)
{
#ifndef NRF52_SERIES
@@ -2571,6 +3264,10 @@ static bool nrf52_errata_68(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2618,6 +3315,18 @@ static bool nrf52_errata_68(void)
#endif
}
+/* ========= Errata 70 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_70_PRESENT 1
+#else
+ #define NRF52_ERRATA_70_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_70_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_70_ENABLE_WORKAROUND NRF52_ERRATA_70_PRESENT
+#endif
+
static bool nrf52_errata_70(void)
{
#ifndef NRF52_SERIES
@@ -2651,6 +3360,18 @@ static bool nrf52_errata_70(void)
#endif
}
+/* ========= Errata 71 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_71_PRESENT 1
+#else
+ #define NRF52_ERRATA_71_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_71_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_71_ENABLE_WORKAROUND NRF52_ERRATA_71_PRESENT
+#endif
+
static bool nrf52_errata_71(void)
{
#ifndef NRF52_SERIES
@@ -2684,6 +3405,18 @@ static bool nrf52_errata_71(void)
#endif
}
+/* ========= Errata 72 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_72_PRESENT 1
+#else
+ #define NRF52_ERRATA_72_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_72_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_72_ENABLE_WORKAROUND NRF52_ERRATA_72_PRESENT
+#endif
+
static bool nrf52_errata_72(void)
{
#ifndef NRF52_SERIES
@@ -2728,6 +3461,18 @@ static bool nrf52_errata_72(void)
#endif
}
+/* ========= Errata 73 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_73_PRESENT 1
+#else
+ #define NRF52_ERRATA_73_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_73_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_73_ENABLE_WORKAROUND NRF52_ERRATA_73_PRESENT
+#endif
+
static bool nrf52_errata_73(void)
{
#ifndef NRF52_SERIES
@@ -2761,6 +3506,18 @@ static bool nrf52_errata_73(void)
#endif
}
+/* ========= Errata 74 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_74_PRESENT 1
+#else
+ #define NRF52_ERRATA_74_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_74_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_74_ENABLE_WORKAROUND NRF52_ERRATA_74_PRESENT
+#endif
+
static bool nrf52_errata_74(void)
{
#ifndef NRF52_SERIES
@@ -2805,6 +3562,18 @@ static bool nrf52_errata_74(void)
#endif
}
+/* ========= Errata 75 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_75_PRESENT 1
+#else
+ #define NRF52_ERRATA_75_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_75_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_75_ENABLE_WORKAROUND NRF52_ERRATA_75_PRESENT
+#endif
+
static bool nrf52_errata_75(void)
{
#ifndef NRF52_SERIES
@@ -2849,6 +3618,18 @@ static bool nrf52_errata_75(void)
#endif
}
+/* ========= Errata 76 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_76_PRESENT 1
+#else
+ #define NRF52_ERRATA_76_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_76_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_76_ENABLE_WORKAROUND NRF52_ERRATA_76_PRESENT
+#endif
+
static bool nrf52_errata_76(void)
{
#ifndef NRF52_SERIES
@@ -2893,6 +3674,21 @@ static bool nrf52_errata_76(void)
#endif
}
+/* ========= Errata 77 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_77_PRESENT 1
+#else
+ #define NRF52_ERRATA_77_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_77_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_77_ENABLE_WORKAROUND NRF52_ERRATA_77_PRESENT
+#endif
+
static bool nrf52_errata_77(void)
{
#ifndef NRF52_SERIES
@@ -2980,6 +3776,24 @@ static bool nrf52_errata_77(void)
#endif
}
+/* ========= Errata 78 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_78_PRESENT 1
+#else
+ #define NRF52_ERRATA_78_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_78_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_78_ENABLE_WORKAROUND NRF52_ERRATA_78_PRESENT
+#endif
+
static bool nrf52_errata_78(void)
{
#ifndef NRF52_SERIES
@@ -3041,8 +3855,12 @@ static bool nrf52_errata_78(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -3118,6 +3936,18 @@ static bool nrf52_errata_78(void)
#endif
}
+/* ========= Errata 79 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_79_PRESENT 1
+#else
+ #define NRF52_ERRATA_79_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_79_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_79_ENABLE_WORKAROUND NRF52_ERRATA_79_PRESENT
+#endif
+
static bool nrf52_errata_79(void)
{
#ifndef NRF52_SERIES
@@ -3162,6 +3992,22 @@ static bool nrf52_errata_79(void)
#endif
}
+/* ========= Errata 81 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_81_PRESENT 1
+#else
+ #define NRF52_ERRATA_81_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_81_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_81_ENABLE_WORKAROUND NRF52_ERRATA_81_PRESENT
+#endif
+
static bool nrf52_errata_81(void)
{
#ifndef NRF52_SERIES
@@ -3221,8 +4067,12 @@ static bool nrf52_errata_81(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -3268,6 +4118,22 @@ static bool nrf52_errata_81(void)
#endif
}
+/* ========= Errata 83 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_83_PRESENT 1
+#else
+ #define NRF52_ERRATA_83_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_83_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_83_ENABLE_WORKAROUND NRF52_ERRATA_83_PRESENT
+#endif
+
static bool nrf52_errata_83(void)
{
#ifndef NRF52_SERIES
@@ -3327,6 +4193,10 @@ static bool nrf52_errata_83(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -3374,6 +4244,18 @@ static bool nrf52_errata_83(void)
#endif
}
+/* ========= Errata 84 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_84_PRESENT 1
+#else
+ #define NRF52_ERRATA_84_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_84_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_84_ENABLE_WORKAROUND NRF52_ERRATA_84_PRESENT
+#endif
+
static bool nrf52_errata_84(void)
{
#ifndef NRF52_SERIES
@@ -3418,6 +4300,18 @@ static bool nrf52_errata_84(void)
#endif
}
+/* ========= Errata 86 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_86_PRESENT 1
+#else
+ #define NRF52_ERRATA_86_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_86_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_86_ENABLE_WORKAROUND NRF52_ERRATA_86_PRESENT
+#endif
+
static bool nrf52_errata_86(void)
{
#ifndef NRF52_SERIES
@@ -3462,6 +4356,21 @@ static bool nrf52_errata_86(void)
#endif
}
+/* ========= Errata 87 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_87_PRESENT 1
+#else
+ #define NRF52_ERRATA_87_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_87_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_87_ENABLE_WORKAROUND NRF52_ERRATA_87_PRESENT
+#endif
+
static bool nrf52_errata_87(void)
{
#ifndef NRF52_SERIES
@@ -3520,8 +4429,12 @@ static bool nrf52_errata_87(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -3559,6 +4472,21 @@ static bool nrf52_errata_87(void)
#endif
}
+/* ========= Errata 88 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_88_PRESENT 1
+#else
+ #define NRF52_ERRATA_88_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_88_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_88_ENABLE_WORKAROUND NRF52_ERRATA_88_PRESENT
+#endif
+
static bool nrf52_errata_88(void)
{
#ifndef NRF52_SERIES
@@ -3646,6 +4574,19 @@ static bool nrf52_errata_88(void)
#endif
}
+/* ========= Errata 89 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_89_PRESENT 1
+#else
+ #define NRF52_ERRATA_89_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_89_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_89_ENABLE_WORKAROUND NRF52_ERRATA_89_PRESENT
+#endif
+
static bool nrf52_errata_89(void)
{
#ifndef NRF52_SERIES
@@ -3702,6 +4643,10 @@ static bool nrf52_errata_89(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -3711,6 +4656,18 @@ static bool nrf52_errata_89(void)
#endif
}
+/* ========= Errata 91 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_91_PRESENT 1
+#else
+ #define NRF52_ERRATA_91_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_91_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_91_ENABLE_WORKAROUND NRF52_ERRATA_91_PRESENT
+#endif
+
static bool nrf52_errata_91(void)
{
#ifndef NRF52_SERIES
@@ -3755,6 +4712,17 @@ static bool nrf52_errata_91(void)
#endif
}
+/* ========= Errata 94 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_94_PRESENT 1
+#else
+ #define NRF52_ERRATA_94_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_94_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_94_ENABLE_WORKAROUND NRF52_ERRATA_94_PRESENT
+#endif
+
static bool nrf52_errata_94(void)
{
#ifndef NRF52_SERIES
@@ -3777,6 +4745,10 @@ static bool nrf52_errata_94(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -3786,6 +4758,17 @@ static bool nrf52_errata_94(void)
#endif
}
+/* ========= Errata 96 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_96_PRESENT 1
+#else
+ #define NRF52_ERRATA_96_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_96_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_96_ENABLE_WORKAROUND NRF52_ERRATA_96_PRESENT
+#endif
+
static bool nrf52_errata_96(void)
{
#ifndef NRF52_SERIES
@@ -3808,6 +4791,10 @@ static bool nrf52_errata_96(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -3817,6 +4804,19 @@ static bool nrf52_errata_96(void)
#endif
}
+/* ========= Errata 97 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_97_PRESENT 1
+#else
+ #define NRF52_ERRATA_97_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_97_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_97_ENABLE_WORKAROUND NRF52_ERRATA_97_PRESENT
+#endif
+
static bool nrf52_errata_97(void)
{
#ifndef NRF52_SERIES
@@ -3873,6 +4873,10 @@ static bool nrf52_errata_97(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -3882,6 +4886,17 @@ static bool nrf52_errata_97(void)
#endif
}
+/* ========= Errata 98 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_98_PRESENT 1
+#else
+ #define NRF52_ERRATA_98_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_98_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_98_ENABLE_WORKAROUND NRF52_ERRATA_98_PRESENT
+#endif
+
static bool nrf52_errata_98(void)
{
#ifndef NRF52_SERIES
@@ -3904,6 +4919,10 @@ static bool nrf52_errata_98(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -3913,6 +4932,18 @@ static bool nrf52_errata_98(void)
#endif
}
+/* ========= Errata 101 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_101_PRESENT 1
+#else
+ #define NRF52_ERRATA_101_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_101_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_101_ENABLE_WORKAROUND NRF52_ERRATA_101_PRESENT
+#endif
+
static bool nrf52_errata_101(void)
{
#ifndef NRF52_SERIES
@@ -3957,6 +4988,18 @@ static bool nrf52_errata_101(void)
#endif
}
+/* ========= Errata 102 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_102_PRESENT 1
+#else
+ #define NRF52_ERRATA_102_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_102_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_102_ENABLE_WORKAROUND NRF52_ERRATA_102_PRESENT
+#endif
+
static bool nrf52_errata_102(void)
{
#ifndef NRF52_SERIES
@@ -4001,6 +5044,17 @@ static bool nrf52_errata_102(void)
#endif
}
+/* ========= Errata 103 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_103_PRESENT 1
+#else
+ #define NRF52_ERRATA_103_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_103_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_103_ENABLE_WORKAROUND NRF52_ERRATA_103_PRESENT
+#endif
+
static bool nrf52_errata_103(void)
{
#ifndef NRF52_SERIES
@@ -4023,6 +5077,10 @@ static bool nrf52_errata_103(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4032,6 +5090,17 @@ static bool nrf52_errata_103(void)
#endif
}
+/* ========= Errata 104 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_104_PRESENT 1
+#else
+ #define NRF52_ERRATA_104_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_104_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_104_ENABLE_WORKAROUND NRF52_ERRATA_104_PRESENT
+#endif
+
static bool nrf52_errata_104(void)
{
#ifndef NRF52_SERIES
@@ -4054,6 +5123,10 @@ static bool nrf52_errata_104(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4063,6 +5136,18 @@ static bool nrf52_errata_104(void)
#endif
}
+/* ========= Errata 106 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_106_PRESENT 1
+#else
+ #define NRF52_ERRATA_106_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_106_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_106_ENABLE_WORKAROUND NRF52_ERRATA_106_PRESENT
+#endif
+
static bool nrf52_errata_106(void)
{
#ifndef NRF52_SERIES
@@ -4107,6 +5192,18 @@ static bool nrf52_errata_106(void)
#endif
}
+/* ========= Errata 107 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_107_PRESENT 1
+#else
+ #define NRF52_ERRATA_107_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_107_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_107_ENABLE_WORKAROUND NRF52_ERRATA_107_PRESENT
+#endif
+
static bool nrf52_errata_107(void)
{
#ifndef NRF52_SERIES
@@ -4151,6 +5248,18 @@ static bool nrf52_errata_107(void)
#endif
}
+/* ========= Errata 108 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_108_PRESENT 1
+#else
+ #define NRF52_ERRATA_108_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_108_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_108_ENABLE_WORKAROUND NRF52_ERRATA_108_PRESENT
+#endif
+
static bool nrf52_errata_108(void)
{
#ifndef NRF52_SERIES
@@ -4195,6 +5304,18 @@ static bool nrf52_errata_108(void)
#endif
}
+/* ========= Errata 109 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_109_PRESENT 1
+#else
+ #define NRF52_ERRATA_109_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_109_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_109_ENABLE_WORKAROUND NRF52_ERRATA_109_PRESENT
+#endif
+
static bool nrf52_errata_109(void)
{
#ifndef NRF52_SERIES
@@ -4239,6 +5360,17 @@ static bool nrf52_errata_109(void)
#endif
}
+/* ========= Errata 110 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_110_PRESENT 1
+#else
+ #define NRF52_ERRATA_110_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_110_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_110_ENABLE_WORKAROUND NRF52_ERRATA_110_PRESENT
+#endif
+
static bool nrf52_errata_110(void)
{
#ifndef NRF52_SERIES
@@ -4261,6 +5393,10 @@ static bool nrf52_errata_110(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4270,6 +5406,17 @@ static bool nrf52_errata_110(void)
#endif
}
+/* ========= Errata 111 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_111_PRESENT 1
+#else
+ #define NRF52_ERRATA_111_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_111_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_111_ENABLE_WORKAROUND NRF52_ERRATA_111_PRESENT
+#endif
+
static bool nrf52_errata_111(void)
{
#ifndef NRF52_SERIES
@@ -4292,6 +5439,10 @@ static bool nrf52_errata_111(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4301,6 +5452,17 @@ static bool nrf52_errata_111(void)
#endif
}
+/* ========= Errata 112 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_112_PRESENT 1
+#else
+ #define NRF52_ERRATA_112_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_112_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_112_ENABLE_WORKAROUND NRF52_ERRATA_112_PRESENT
+#endif
+
static bool nrf52_errata_112(void)
{
#ifndef NRF52_SERIES
@@ -4323,6 +5485,10 @@ static bool nrf52_errata_112(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4332,6 +5498,19 @@ static bool nrf52_errata_112(void)
#endif
}
+/* ========= Errata 113 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_113_PRESENT 1
+#else
+ #define NRF52_ERRATA_113_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_113_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_113_ENABLE_WORKAROUND NRF52_ERRATA_113_PRESENT
+#endif
+
static bool nrf52_errata_113(void)
{
#ifndef NRF52_SERIES
@@ -4388,6 +5567,10 @@ static bool nrf52_errata_113(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4397,6 +5580,17 @@ static bool nrf52_errata_113(void)
#endif
}
+/* ========= Errata 115 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_115_PRESENT 1
+#else
+ #define NRF52_ERRATA_115_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_115_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_115_ENABLE_WORKAROUND NRF52_ERRATA_115_PRESENT
+#endif
+
static bool nrf52_errata_115(void)
{
#ifndef NRF52_SERIES
@@ -4419,6 +5613,10 @@ static bool nrf52_errata_115(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4428,6 +5626,17 @@ static bool nrf52_errata_115(void)
#endif
}
+/* ========= Errata 116 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_116_PRESENT 1
+#else
+ #define NRF52_ERRATA_116_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_116_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_116_ENABLE_WORKAROUND NRF52_ERRATA_116_PRESENT
+#endif
+
static bool nrf52_errata_116(void)
{
#ifndef NRF52_SERIES
@@ -4450,6 +5659,10 @@ static bool nrf52_errata_116(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4459,6 +5672,17 @@ static bool nrf52_errata_116(void)
#endif
}
+/* ========= Errata 117 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_117_PRESENT 1
+#else
+ #define NRF52_ERRATA_117_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_117_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_117_ENABLE_WORKAROUND NRF52_ERRATA_117_PRESENT
+#endif
+
static bool nrf52_errata_117(void)
{
#ifndef NRF52_SERIES
@@ -4481,6 +5705,10 @@ static bool nrf52_errata_117(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4490,6 +5718,17 @@ static bool nrf52_errata_117(void)
#endif
}
+/* ========= Errata 118 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_118_PRESENT 1
+#else
+ #define NRF52_ERRATA_118_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_118_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_118_ENABLE_WORKAROUND NRF52_ERRATA_118_PRESENT
+#endif
+
static bool nrf52_errata_118(void)
{
#ifndef NRF52_SERIES
@@ -4512,6 +5751,10 @@ static bool nrf52_errata_118(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4521,6 +5764,17 @@ static bool nrf52_errata_118(void)
#endif
}
+/* ========= Errata 119 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_119_PRESENT 1
+#else
+ #define NRF52_ERRATA_119_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_119_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_119_ENABLE_WORKAROUND NRF52_ERRATA_119_PRESENT
+#endif
+
static bool nrf52_errata_119(void)
{
#ifndef NRF52_SERIES
@@ -4543,6 +5797,10 @@ static bool nrf52_errata_119(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4552,6 +5810,17 @@ static bool nrf52_errata_119(void)
#endif
}
+/* ========= Errata 120 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_120_PRESENT 1
+#else
+ #define NRF52_ERRATA_120_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_120_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_120_ENABLE_WORKAROUND NRF52_ERRATA_120_PRESENT
+#endif
+
static bool nrf52_errata_120(void)
{
#ifndef NRF52_SERIES
@@ -4574,6 +5843,10 @@ static bool nrf52_errata_120(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4583,6 +5856,17 @@ static bool nrf52_errata_120(void)
#endif
}
+/* ========= Errata 121 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_121_PRESENT 1
+#else
+ #define NRF52_ERRATA_121_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_121_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_121_ENABLE_WORKAROUND NRF52_ERRATA_121_PRESENT
+#endif
+
static bool nrf52_errata_121(void)
{
#ifndef NRF52_SERIES
@@ -4605,6 +5889,10 @@ static bool nrf52_errata_121(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4614,6 +5902,17 @@ static bool nrf52_errata_121(void)
#endif
}
+/* ========= Errata 122 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_122_PRESENT 1
+#else
+ #define NRF52_ERRATA_122_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_122_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_122_ENABLE_WORKAROUND NRF52_ERRATA_122_PRESENT
+#endif
+
static bool nrf52_errata_122(void)
{
#ifndef NRF52_SERIES
@@ -4636,8 +5935,12 @@ static bool nrf52_errata_122(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -4645,6 +5948,17 @@ static bool nrf52_errata_122(void)
#endif
}
+/* ========= Errata 127 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_127_PRESENT 1
+#else
+ #define NRF52_ERRATA_127_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_127_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_127_ENABLE_WORKAROUND NRF52_ERRATA_127_PRESENT
+#endif
+
static bool nrf52_errata_127(void)
{
#ifndef NRF52_SERIES
@@ -4667,6 +5981,10 @@ static bool nrf52_errata_127(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4676,6 +5994,17 @@ static bool nrf52_errata_127(void)
#endif
}
+/* ========= Errata 128 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_128_PRESENT 1
+#else
+ #define NRF52_ERRATA_128_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_128_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_128_ENABLE_WORKAROUND NRF52_ERRATA_128_PRESENT
+#endif
+
static bool nrf52_errata_128(void)
{
#ifndef NRF52_SERIES
@@ -4698,6 +6027,10 @@ static bool nrf52_errata_128(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4707,6 +6040,17 @@ static bool nrf52_errata_128(void)
#endif
}
+/* ========= Errata 131 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_131_PRESENT 1
+#else
+ #define NRF52_ERRATA_131_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_131_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_131_ENABLE_WORKAROUND NRF52_ERRATA_131_PRESENT
+#endif
+
static bool nrf52_errata_131(void)
{
#ifndef NRF52_SERIES
@@ -4729,6 +6073,10 @@ static bool nrf52_errata_131(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4738,6 +6086,18 @@ static bool nrf52_errata_131(void)
#endif
}
+/* ========= Errata 132 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_132_PRESENT 1
+#else
+ #define NRF52_ERRATA_132_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_132_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_132_ENABLE_WORKAROUND NRF52_ERRATA_132_PRESENT
+#endif
+
static bool nrf52_errata_132(void)
{
#ifndef NRF52_SERIES
@@ -4782,6 +6142,17 @@ static bool nrf52_errata_132(void)
#endif
}
+/* ========= Errata 133 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_133_PRESENT 1
+#else
+ #define NRF52_ERRATA_133_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_133_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_133_ENABLE_WORKAROUND NRF52_ERRATA_133_PRESENT
+#endif
+
static bool nrf52_errata_133(void)
{
#ifndef NRF52_SERIES
@@ -4804,6 +6175,10 @@ static bool nrf52_errata_133(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4813,6 +6188,17 @@ static bool nrf52_errata_133(void)
#endif
}
+/* ========= Errata 134 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_134_PRESENT 1
+#else
+ #define NRF52_ERRATA_134_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_134_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_134_ENABLE_WORKAROUND NRF52_ERRATA_134_PRESENT
+#endif
+
static bool nrf52_errata_134(void)
{
#ifndef NRF52_SERIES
@@ -4835,6 +6221,10 @@ static bool nrf52_errata_134(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4844,6 +6234,17 @@ static bool nrf52_errata_134(void)
#endif
}
+/* ========= Errata 135 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_135_PRESENT 1
+#else
+ #define NRF52_ERRATA_135_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_135_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_135_ENABLE_WORKAROUND NRF52_ERRATA_135_PRESENT
+#endif
+
static bool nrf52_errata_135(void)
{
#ifndef NRF52_SERIES
@@ -4866,6 +6267,10 @@ static bool nrf52_errata_135(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -4875,6 +6280,24 @@ static bool nrf52_errata_135(void)
#endif
}
+/* ========= Errata 136 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_136_PRESENT 1
+#else
+ #define NRF52_ERRATA_136_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_136_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_136_ENABLE_WORKAROUND NRF52_ERRATA_136_PRESENT
+#endif
+
static bool nrf52_errata_136(void)
{
#ifndef NRF52_SERIES
@@ -4936,8 +6359,12 @@ static bool nrf52_errata_136(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -5013,6 +6440,18 @@ static bool nrf52_errata_136(void)
#endif
}
+/* ========= Errata 138 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_138_PRESENT 1
+#else
+ #define NRF52_ERRATA_138_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_138_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_138_ENABLE_WORKAROUND NRF52_ERRATA_138_PRESENT
+#endif
+
static bool nrf52_errata_138(void)
{
#ifndef NRF52_SERIES
@@ -5057,6 +6496,17 @@ static bool nrf52_errata_138(void)
#endif
}
+/* ========= Errata 140 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_140_PRESENT 1
+#else
+ #define NRF52_ERRATA_140_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_140_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_140_ENABLE_WORKAROUND NRF52_ERRATA_140_PRESENT
+#endif
+
static bool nrf52_errata_140(void)
{
#ifndef NRF52_SERIES
@@ -5079,6 +6529,10 @@ static bool nrf52_errata_140(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5088,6 +6542,18 @@ static bool nrf52_errata_140(void)
#endif
}
+/* ========= Errata 141 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_141_PRESENT 1
+#else
+ #define NRF52_ERRATA_141_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_141_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_141_ENABLE_WORKAROUND NRF52_ERRATA_141_PRESENT
+#endif
+
static bool nrf52_errata_141(void)
{
#ifndef NRF52_SERIES
@@ -5132,6 +6598,17 @@ static bool nrf52_errata_141(void)
#endif
}
+/* ========= Errata 142 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_142_PRESENT 1
+#else
+ #define NRF52_ERRATA_142_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_142_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_142_ENABLE_WORKAROUND NRF52_ERRATA_142_PRESENT
+#endif
+
static bool nrf52_errata_142(void)
{
#ifndef NRF52_SERIES
@@ -5154,6 +6631,10 @@ static bool nrf52_errata_142(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5163,6 +6644,19 @@ static bool nrf52_errata_142(void)
#endif
}
+/* ========= Errata 143 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_143_PRESENT 1
+#else
+ #define NRF52_ERRATA_143_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_143_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_143_ENABLE_WORKAROUND NRF52_ERRATA_143_PRESENT
+#endif
+
static bool nrf52_errata_143(void)
{
#ifndef NRF52_SERIES
@@ -5219,6 +6713,10 @@ static bool nrf52_errata_143(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5228,6 +6726,17 @@ static bool nrf52_errata_143(void)
#endif
}
+/* ========= Errata 144 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_144_PRESENT 1
+#else
+ #define NRF52_ERRATA_144_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_144_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_144_ENABLE_WORKAROUND NRF52_ERRATA_144_PRESENT
+#endif
+
static bool nrf52_errata_144(void)
{
#ifndef NRF52_SERIES
@@ -5250,6 +6759,10 @@ static bool nrf52_errata_144(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5259,6 +6772,17 @@ static bool nrf52_errata_144(void)
#endif
}
+/* ========= Errata 145 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_145_PRESENT 1
+#else
+ #define NRF52_ERRATA_145_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_145_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_145_ENABLE_WORKAROUND NRF52_ERRATA_145_PRESENT
+#endif
+
static bool nrf52_errata_145(void)
{
#ifndef NRF52_SERIES
@@ -5281,6 +6805,10 @@ static bool nrf52_errata_145(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5290,6 +6818,18 @@ static bool nrf52_errata_145(void)
#endif
}
+/* ========= Errata 146 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_146_PRESENT 1
+#else
+ #define NRF52_ERRATA_146_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_146_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_146_ENABLE_WORKAROUND NRF52_ERRATA_146_PRESENT
+#endif
+
static bool nrf52_errata_146(void)
{
#ifndef NRF52_SERIES
@@ -5334,6 +6874,17 @@ static bool nrf52_errata_146(void)
#endif
}
+/* ========= Errata 147 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_147_PRESENT 1
+#else
+ #define NRF52_ERRATA_147_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_147_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_147_ENABLE_WORKAROUND NRF52_ERRATA_147_PRESENT
+#endif
+
static bool nrf52_errata_147(void)
{
#ifndef NRF52_SERIES
@@ -5356,6 +6907,10 @@ static bool nrf52_errata_147(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5365,6 +6920,18 @@ static bool nrf52_errata_147(void)
#endif
}
+/* ========= Errata 149 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_149_PRESENT 1
+#else
+ #define NRF52_ERRATA_149_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_149_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_149_ENABLE_WORKAROUND NRF52_ERRATA_149_PRESENT
+#endif
+
static bool nrf52_errata_149(void)
{
#ifndef NRF52_SERIES
@@ -5409,6 +6976,20 @@ static bool nrf52_errata_149(void)
#endif
}
+/* ========= Errata 150 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_150_PRESENT 1
+#else
+ #define NRF52_ERRATA_150_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_150_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_150_ENABLE_WORKAROUND NRF52_ERRATA_150_PRESENT
+#endif
+
static bool nrf52_errata_150(void)
{
#ifndef NRF52_SERIES
@@ -5466,6 +7047,10 @@ static bool nrf52_errata_150(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5489,6 +7074,17 @@ static bool nrf52_errata_150(void)
#endif
}
+/* ========= Errata 151 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_151_PRESENT 1
+#else
+ #define NRF52_ERRATA_151_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_151_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_151_ENABLE_WORKAROUND NRF52_ERRATA_151_PRESENT
+#endif
+
static bool nrf52_errata_151(void)
{
#ifndef NRF52_SERIES
@@ -5511,6 +7107,10 @@ static bool nrf52_errata_151(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5520,6 +7120,17 @@ static bool nrf52_errata_151(void)
#endif
}
+/* ========= Errata 153 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_153_PRESENT 1
+#else
+ #define NRF52_ERRATA_153_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_153_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_153_ENABLE_WORKAROUND NRF52_ERRATA_153_PRESENT
+#endif
+
static bool nrf52_errata_153(void)
{
#ifndef NRF52_SERIES
@@ -5542,8 +7153,12 @@ static bool nrf52_errata_153(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -5551,6 +7166,17 @@ static bool nrf52_errata_153(void)
#endif
}
+/* ========= Errata 154 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_154_PRESENT 1
+#else
+ #define NRF52_ERRATA_154_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_154_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_154_ENABLE_WORKAROUND NRF52_ERRATA_154_PRESENT
+#endif
+
static bool nrf52_errata_154(void)
{
#ifndef NRF52_SERIES
@@ -5573,6 +7199,10 @@ static bool nrf52_errata_154(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5582,6 +7212,22 @@ static bool nrf52_errata_154(void)
#endif
}
+/* ========= Errata 155 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_155_PRESENT 1
+#else
+ #define NRF52_ERRATA_155_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_155_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_155_ENABLE_WORKAROUND NRF52_ERRATA_155_PRESENT
+#endif
+
static bool nrf52_errata_155(void)
{
#ifndef NRF52_SERIES
@@ -5641,8 +7287,12 @@ static bool nrf52_errata_155(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -5688,6 +7338,22 @@ static bool nrf52_errata_155(void)
#endif
}
+/* ========= Errata 156 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_156_PRESENT 1
+#else
+ #define NRF52_ERRATA_156_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_156_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_156_ENABLE_WORKAROUND NRF52_ERRATA_156_PRESENT
+#endif
+
static bool nrf52_errata_156(void)
{
#ifndef NRF52_SERIES
@@ -5747,6 +7413,10 @@ static bool nrf52_errata_156(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5794,6 +7464,17 @@ static bool nrf52_errata_156(void)
#endif
}
+/* ========= Errata 158 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_158_PRESENT 1
+#else
+ #define NRF52_ERRATA_158_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_158_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_158_ENABLE_WORKAROUND NRF52_ERRATA_158_PRESENT
+#endif
+
static bool nrf52_errata_158(void)
{
#ifndef NRF52_SERIES
@@ -5816,6 +7497,10 @@ static bool nrf52_errata_158(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5825,6 +7510,17 @@ static bool nrf52_errata_158(void)
#endif
}
+/* ========= Errata 160 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_160_PRESENT 1
+#else
+ #define NRF52_ERRATA_160_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_160_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_160_ENABLE_WORKAROUND NRF52_ERRATA_160_PRESENT
+#endif
+
static bool nrf52_errata_160(void)
{
#ifndef NRF52_SERIES
@@ -5847,6 +7543,10 @@ static bool nrf52_errata_160(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5856,6 +7556,17 @@ static bool nrf52_errata_160(void)
#endif
}
+/* ========= Errata 162 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_162_PRESENT 1
+#else
+ #define NRF52_ERRATA_162_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_162_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_162_ENABLE_WORKAROUND NRF52_ERRATA_162_PRESENT
+#endif
+
static bool nrf52_errata_162(void)
{
#ifndef NRF52_SERIES
@@ -5878,6 +7589,10 @@ static bool nrf52_errata_162(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5887,6 +7602,18 @@ static bool nrf52_errata_162(void)
#endif
}
+/* ========= Errata 163 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_163_PRESENT 1
+#else
+ #define NRF52_ERRATA_163_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_163_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_163_ENABLE_WORKAROUND NRF52_ERRATA_163_PRESENT
+#endif
+
static bool nrf52_errata_163(void)
{
#ifndef NRF52_SERIES
@@ -5931,6 +7658,17 @@ static bool nrf52_errata_163(void)
#endif
}
+/* ========= Errata 164 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_164_PRESENT 1
+#else
+ #define NRF52_ERRATA_164_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_164_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_164_ENABLE_WORKAROUND NRF52_ERRATA_164_PRESENT
+#endif
+
static bool nrf52_errata_164(void)
{
#ifndef NRF52_SERIES
@@ -5953,6 +7691,10 @@ static bool nrf52_errata_164(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -5962,6 +7704,17 @@ static bool nrf52_errata_164(void)
#endif
}
+/* ========= Errata 166 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_166_PRESENT 1
+#else
+ #define NRF52_ERRATA_166_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_166_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_166_ENABLE_WORKAROUND NRF52_ERRATA_166_PRESENT
+#endif
+
static bool nrf52_errata_166(void)
{
#ifndef NRF52_SERIES
@@ -5984,8 +7737,12 @@ static bool nrf52_errata_166(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -5993,6 +7750,19 @@ static bool nrf52_errata_166(void)
#endif
}
+/* ========= Errata 170 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_170_PRESENT 1
+#else
+ #define NRF52_ERRATA_170_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_170_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_170_ENABLE_WORKAROUND NRF52_ERRATA_170_PRESENT
+#endif
+
static bool nrf52_errata_170(void)
{
#ifndef NRF52_SERIES
@@ -6017,8 +7787,12 @@ static bool nrf52_errata_170(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6056,6 +7830,17 @@ static bool nrf52_errata_170(void)
#endif
}
+/* ========= Errata 171 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_171_PRESENT 1
+#else
+ #define NRF52_ERRATA_171_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_171_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_171_ENABLE_WORKAROUND NRF52_ERRATA_171_PRESENT
+#endif
+
static bool nrf52_errata_171(void)
{
#ifndef NRF52_SERIES
@@ -6078,8 +7863,12 @@ static bool nrf52_errata_171(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6087,6 +7876,17 @@ static bool nrf52_errata_171(void)
#endif
}
+/* ========= Errata 172 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_172_PRESENT 1
+#else
+ #define NRF52_ERRATA_172_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_172_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_172_ENABLE_WORKAROUND NRF52_ERRATA_172_PRESENT
+#endif
+
static bool nrf52_errata_172(void)
{
#ifndef NRF52_SERIES
@@ -6109,8 +7909,12 @@ static bool nrf52_errata_172(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6118,6 +7922,24 @@ static bool nrf52_errata_172(void)
#endif
}
+/* ========= Errata 173 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_173_PRESENT 1
+#else
+ #define NRF52_ERRATA_173_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_173_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_173_ENABLE_WORKAROUND NRF52_ERRATA_173_PRESENT
+#endif
+
static bool nrf52_errata_173(void)
{
#ifndef NRF52_SERIES
@@ -6179,8 +8001,12 @@ static bool nrf52_errata_173(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6256,6 +8082,17 @@ static bool nrf52_errata_173(void)
#endif
}
+/* ========= Errata 174 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_174_PRESENT 1
+#else
+ #define NRF52_ERRATA_174_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_174_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_174_ENABLE_WORKAROUND NRF52_ERRATA_174_PRESENT
+#endif
+
static bool nrf52_errata_174(void)
{
#ifndef NRF52_SERIES
@@ -6278,8 +8115,12 @@ static bool nrf52_errata_174(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6287,6 +8128,24 @@ static bool nrf52_errata_174(void)
#endif
}
+/* ========= Errata 176 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_176_PRESENT 1
+#else
+ #define NRF52_ERRATA_176_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_176_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_176_ENABLE_WORKAROUND NRF52_ERRATA_176_PRESENT
+#endif
+
static bool nrf52_errata_176(void)
{
#ifndef NRF52_SERIES
@@ -6348,8 +8207,12 @@ static bool nrf52_errata_176(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6425,6 +8288,18 @@ static bool nrf52_errata_176(void)
#endif
}
+/* ========= Errata 178 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_178_PRESENT 1
+#else
+ #define NRF52_ERRATA_178_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_178_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_178_ENABLE_WORKAROUND NRF52_ERRATA_178_PRESENT
+#endif
+
static bool nrf52_errata_178(void)
{
#ifndef NRF52_SERIES
@@ -6469,6 +8344,22 @@ static bool nrf52_errata_178(void)
#endif
}
+/* ========= Errata 179 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_179_PRESENT 1
+#else
+ #define NRF52_ERRATA_179_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_179_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_179_ENABLE_WORKAROUND NRF52_ERRATA_179_PRESENT
+#endif
+
static bool nrf52_errata_179(void)
{
#ifndef NRF52_SERIES
@@ -6528,8 +8419,12 @@ static bool nrf52_errata_179(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6575,6 +8470,17 @@ static bool nrf52_errata_179(void)
#endif
}
+/* ========= Errata 180 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_180_PRESENT 1
+#else
+ #define NRF52_ERRATA_180_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_180_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_180_ENABLE_WORKAROUND NRF52_ERRATA_180_PRESENT
+#endif
+
static bool nrf52_errata_180(void)
{
#ifndef NRF52_SERIES
@@ -6597,6 +8503,10 @@ static bool nrf52_errata_180(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -6606,6 +8516,19 @@ static bool nrf52_errata_180(void)
#endif
}
+/* ========= Errata 181 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_181_PRESENT 1
+#else
+ #define NRF52_ERRATA_181_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_181_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_181_ENABLE_WORKAROUND NRF52_ERRATA_181_PRESENT
+#endif
+
static bool nrf52_errata_181(void)
{
#ifndef NRF52_SERIES
@@ -6662,6 +8585,10 @@ static bool nrf52_errata_181(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -6671,6 +8598,18 @@ static bool nrf52_errata_181(void)
#endif
}
+/* ========= Errata 182 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_182_PRESENT 1
+#else
+ #define NRF52_ERRATA_182_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_182_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_182_ENABLE_WORKAROUND NRF52_ERRATA_182_PRESENT
+#endif
+
static bool nrf52_errata_182(void)
{
#ifndef NRF52_SERIES
@@ -6704,6 +8643,23 @@ static bool nrf52_errata_182(void)
#endif
}
+/* ========= Errata 183 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_183_PRESENT 1
+#else
+ #define NRF52_ERRATA_183_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_183_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_183_ENABLE_WORKAROUND NRF52_ERRATA_183_PRESENT
+#endif
+
static bool nrf52_errata_183(void)
{
#ifndef NRF52_SERIES
@@ -6764,8 +8720,12 @@ static bool nrf52_errata_183(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6829,6 +8789,22 @@ static bool nrf52_errata_183(void)
#endif
}
+/* ========= Errata 184 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_184_PRESENT 1
+#else
+ #define NRF52_ERRATA_184_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_184_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_184_ENABLE_WORKAROUND NRF52_ERRATA_184_PRESENT
+#endif
+
static bool nrf52_errata_184(void)
{
#ifndef NRF52_SERIES
@@ -6856,8 +8832,12 @@ static bool nrf52_errata_184(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -6933,6 +8913,17 @@ static bool nrf52_errata_184(void)
#endif
}
+/* ========= Errata 186 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_186_PRESENT 1
+#else
+ #define NRF52_ERRATA_186_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_186_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_186_ENABLE_WORKAROUND NRF52_ERRATA_186_PRESENT
+#endif
+
static bool nrf52_errata_186(void)
{
#ifndef NRF52_SERIES
@@ -6955,6 +8946,10 @@ static bool nrf52_errata_186(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -6964,6 +8959,19 @@ static bool nrf52_errata_186(void)
#endif
}
+/* ========= Errata 187 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_187_PRESENT 1
+#else
+ #define NRF52_ERRATA_187_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_187_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_187_ENABLE_WORKAROUND NRF52_ERRATA_187_PRESENT
+#endif
+
static bool nrf52_errata_187(void)
{
#ifndef NRF52_SERIES
@@ -6988,8 +8996,12 @@ static bool nrf52_errata_187(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7027,6 +9039,17 @@ static bool nrf52_errata_187(void)
#endif
}
+/* ========= Errata 189 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_189_PRESENT 1
+#else
+ #define NRF52_ERRATA_189_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_189_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_189_ENABLE_WORKAROUND NRF52_ERRATA_189_PRESENT
+#endif
+
static bool nrf52_errata_189(void)
{
#ifndef NRF52_SERIES
@@ -7049,6 +9072,10 @@ static bool nrf52_errata_189(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -7058,6 +9085,19 @@ static bool nrf52_errata_189(void)
#endif
}
+/* ========= Errata 190 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_190_PRESENT 1
+#else
+ #define NRF52_ERRATA_190_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_190_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_190_ENABLE_WORKAROUND NRF52_ERRATA_190_PRESENT
+#endif
+
static bool nrf52_errata_190(void)
{
#ifndef NRF52_SERIES
@@ -7082,8 +9122,12 @@ static bool nrf52_errata_190(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7121,6 +9165,17 @@ static bool nrf52_errata_190(void)
#endif
}
+/* ========= Errata 191 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_191_PRESENT 1
+#else
+ #define NRF52_ERRATA_191_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_191_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_191_ENABLE_WORKAROUND NRF52_ERRATA_191_PRESENT
+#endif
+
static bool nrf52_errata_191(void)
{
#ifndef NRF52_SERIES
@@ -7143,8 +9198,12 @@ static bool nrf52_errata_191(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7152,6 +9211,20 @@ static bool nrf52_errata_191(void)
#endif
}
+/* ========= Errata 192 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_192_PRESENT 1
+#else
+ #define NRF52_ERRATA_192_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_192_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_192_ENABLE_WORKAROUND NRF52_ERRATA_192_PRESENT
+#endif
+
static bool nrf52_errata_192(void)
{
#ifndef NRF52_SERIES
@@ -7209,6 +9282,10 @@ static bool nrf52_errata_192(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -7232,6 +9309,17 @@ static bool nrf52_errata_192(void)
#endif
}
+/* ========= Errata 193 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_193_PRESENT 1
+#else
+ #define NRF52_ERRATA_193_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_193_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_193_ENABLE_WORKAROUND NRF52_ERRATA_193_PRESENT
+#endif
+
static bool nrf52_errata_193(void)
{
#ifndef NRF52_SERIES
@@ -7254,8 +9342,12 @@ static bool nrf52_errata_193(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7263,6 +9355,21 @@ static bool nrf52_errata_193(void)
#endif
}
+/* ========= Errata 194 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_194_PRESENT 1
+#else
+ #define NRF52_ERRATA_194_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_194_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_194_ENABLE_WORKAROUND NRF52_ERRATA_194_PRESENT
+#endif
+
static bool nrf52_errata_194(void)
{
#ifndef NRF52_SERIES
@@ -7321,8 +9428,12 @@ static bool nrf52_errata_194(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7360,6 +9471,17 @@ static bool nrf52_errata_194(void)
#endif
}
+/* ========= Errata 195 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_195_PRESENT 1
+#else
+ #define NRF52_ERRATA_195_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_195_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_195_ENABLE_WORKAROUND NRF52_ERRATA_195_PRESENT
+#endif
+
static bool nrf52_errata_195(void)
{
#ifndef NRF52_SERIES
@@ -7382,8 +9504,12 @@ static bool nrf52_errata_195(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7391,6 +9517,21 @@ static bool nrf52_errata_195(void)
#endif
}
+/* ========= Errata 196 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_196_PRESENT 1
+#else
+ #define NRF52_ERRATA_196_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_196_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_196_ENABLE_WORKAROUND NRF52_ERRATA_196_PRESENT
+#endif
+
static bool nrf52_errata_196(void)
{
#ifndef NRF52_SERIES
@@ -7449,8 +9590,12 @@ static bool nrf52_errata_196(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7488,6 +9633,17 @@ static bool nrf52_errata_196(void)
#endif
}
+/* ========= Errata 197 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_197_PRESENT 1
+#else
+ #define NRF52_ERRATA_197_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_197_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_197_ENABLE_WORKAROUND NRF52_ERRATA_197_PRESENT
+#endif
+
static bool nrf52_errata_197(void)
{
#ifndef NRF52_SERIES
@@ -7510,6 +9666,10 @@ static bool nrf52_errata_197(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -7519,6 +9679,17 @@ static bool nrf52_errata_197(void)
#endif
}
+/* ========= Errata 198 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_198_PRESENT 1
+#else
+ #define NRF52_ERRATA_198_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_198_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_198_ENABLE_WORKAROUND NRF52_ERRATA_198_PRESENT
+#endif
+
static bool nrf52_errata_198(void)
{
#ifndef NRF52_SERIES
@@ -7541,8 +9712,12 @@ static bool nrf52_errata_198(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7550,6 +9725,17 @@ static bool nrf52_errata_198(void)
#endif
}
+/* ========= Errata 199 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_199_PRESENT 1
+#else
+ #define NRF52_ERRATA_199_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_199_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_199_ENABLE_WORKAROUND NRF52_ERRATA_199_PRESENT
+#endif
+
static bool nrf52_errata_199(void)
{
#ifndef NRF52_SERIES
@@ -7572,8 +9758,12 @@ static bool nrf52_errata_199(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7581,6 +9771,17 @@ static bool nrf52_errata_199(void)
#endif
}
+/* ========= Errata 200 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_200_PRESENT 1
+#else
+ #define NRF52_ERRATA_200_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_200_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_200_ENABLE_WORKAROUND NRF52_ERRATA_200_PRESENT
+#endif
+
static bool nrf52_errata_200(void)
{
#ifndef NRF52_SERIES
@@ -7603,6 +9804,10 @@ static bool nrf52_errata_200(void)
return false;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -7612,6 +9817,20 @@ static bool nrf52_errata_200(void)
#endif
}
+/* ========= Errata 201 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_201_PRESENT 1
+#else
+ #define NRF52_ERRATA_201_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_201_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_201_ENABLE_WORKAROUND NRF52_ERRATA_201_PRESENT
+#endif
+
static bool nrf52_errata_201(void)
{
#ifndef NRF52_SERIES
@@ -7669,6 +9888,10 @@ static bool nrf52_errata_201(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -7692,6 +9915,17 @@ static bool nrf52_errata_201(void)
#endif
}
+/* ========= Errata 202 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_202_PRESENT 1
+#else
+ #define NRF52_ERRATA_202_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_202_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_202_ENABLE_WORKAROUND NRF52_ERRATA_202_PRESENT
+#endif
+
static bool nrf52_errata_202(void)
{
#ifndef NRF52_SERIES
@@ -7714,6 +9948,10 @@ static bool nrf52_errata_202(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -7723,6 +9961,20 @@ static bool nrf52_errata_202(void)
#endif
}
+/* ========= Errata 204 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_204_PRESENT 1
+#else
+ #define NRF52_ERRATA_204_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_204_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_204_ENABLE_WORKAROUND NRF52_ERRATA_204_PRESENT
+#endif
+
static bool nrf52_errata_204(void)
{
#ifndef NRF52_SERIES
@@ -7780,8 +10032,12 @@ static bool nrf52_errata_204(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7803,6 +10059,17 @@ static bool nrf52_errata_204(void)
#endif
}
+/* ========= Errata 208 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_208_PRESENT 1
+#else
+ #define NRF52_ERRATA_208_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_208_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_208_ENABLE_WORKAROUND NRF52_ERRATA_208_PRESENT
+#endif
+
static bool nrf52_errata_208(void)
{
#ifndef NRF52_SERIES
@@ -7825,8 +10092,12 @@ static bool nrf52_errata_208(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7834,6 +10105,17 @@ static bool nrf52_errata_208(void)
#endif
}
+/* ========= Errata 209 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_209_PRESENT 1
+#else
+ #define NRF52_ERRATA_209_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_209_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_209_ENABLE_WORKAROUND NRF52_ERRATA_209_PRESENT
+#endif
+
static bool nrf52_errata_209(void)
{
#ifndef NRF52_SERIES
@@ -7856,8 +10138,12 @@ static bool nrf52_errata_209(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -7865,6 +10151,24 @@ static bool nrf52_errata_209(void)
#endif
}
+/* ========= Errata 210 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_210_PRESENT 1
+#else
+ #define NRF52_ERRATA_210_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_210_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_210_ENABLE_WORKAROUND NRF52_ERRATA_210_PRESENT
+#endif
+
static bool nrf52_errata_210(void)
{
#ifndef NRF52_SERIES
@@ -7926,8 +10230,12 @@ static bool nrf52_errata_210(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8003,6 +10311,19 @@ static bool nrf52_errata_210(void)
#endif
}
+/* ========= Errata 211 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_211_PRESENT 1
+#else
+ #define NRF52_ERRATA_211_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_211_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_211_ENABLE_WORKAROUND 0
+#endif
+
static bool nrf52_errata_211(void)
{
#ifndef NRF52_SERIES
@@ -8027,8 +10348,12 @@ static bool nrf52_errata_211(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8066,6 +10391,24 @@ static bool nrf52_errata_211(void)
#endif
}
+/* ========= Errata 212 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_212_PRESENT 1
+#else
+ #define NRF52_ERRATA_212_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_212_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_212_ENABLE_WORKAROUND NRF52_ERRATA_212_PRESENT
+#endif
+
static bool nrf52_errata_212(void)
{
#ifndef NRF52_SERIES
@@ -8127,8 +10470,12 @@ static bool nrf52_errata_212(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8204,6 +10551,21 @@ static bool nrf52_errata_212(void)
#endif
}
+/* ========= Errata 213 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_213_PRESENT 1
+#else
+ #define NRF52_ERRATA_213_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_213_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_213_ENABLE_WORKAROUND NRF52_ERRATA_213_PRESENT
+#endif
+
static bool nrf52_errata_213(void)
{
#ifndef NRF52_SERIES
@@ -8262,8 +10624,12 @@ static bool nrf52_errata_213(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8297,6 +10663,17 @@ static bool nrf52_errata_213(void)
#endif
}
+/* ========= Errata 214 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_214_PRESENT 1
+#else
+ #define NRF52_ERRATA_214_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_214_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_214_ENABLE_WORKAROUND NRF52_ERRATA_214_PRESENT
+#endif
+
static bool nrf52_errata_214(void)
{
#ifndef NRF52_SERIES
@@ -8319,8 +10696,12 @@ static bool nrf52_errata_214(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8328,6 +10709,17 @@ static bool nrf52_errata_214(void)
#endif
}
+/* ========= Errata 215 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_215_PRESENT 1
+#else
+ #define NRF52_ERRATA_215_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_215_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_215_ENABLE_WORKAROUND NRF52_ERRATA_215_PRESENT
+#endif
+
static bool nrf52_errata_215(void)
{
#ifndef NRF52_SERIES
@@ -8350,8 +10742,12 @@ static bool nrf52_errata_215(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8359,6 +10755,17 @@ static bool nrf52_errata_215(void)
#endif
}
+/* ========= Errata 216 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_216_PRESENT 1
+#else
+ #define NRF52_ERRATA_216_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_216_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_216_ENABLE_WORKAROUND NRF52_ERRATA_216_PRESENT
+#endif
+
static bool nrf52_errata_216(void)
{
#ifndef NRF52_SERIES
@@ -8381,8 +10788,12 @@ static bool nrf52_errata_216(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8390,6 +10801,19 @@ static bool nrf52_errata_216(void)
#endif
}
+/* ========= Errata 217 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)
+ #define NRF52_ERRATA_217_PRESENT 1
+#else
+ #define NRF52_ERRATA_217_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_217_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_217_ENABLE_WORKAROUND NRF52_ERRATA_217_PRESENT
+#endif
+
static bool nrf52_errata_217(void)
{
#ifndef NRF52_SERIES
@@ -8443,6 +10867,21 @@ static bool nrf52_errata_217(void)
#endif
}
+/* ========= Errata 218 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_218_PRESENT 1
+#else
+ #define NRF52_ERRATA_218_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_218_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_218_ENABLE_WORKAROUND NRF52_ERRATA_218_PRESENT
+#endif
+
static bool nrf52_errata_218(void)
{
#ifndef NRF52_SERIES
@@ -8501,8 +10940,12 @@ static bool nrf52_errata_218(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8540,6 +10983,24 @@ static bool nrf52_errata_218(void)
#endif
}
+/* ========= Errata 219 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_219_PRESENT 1
+#else
+ #define NRF52_ERRATA_219_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_219_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_219_ENABLE_WORKAROUND NRF52_ERRATA_219_PRESENT
+#endif
+
static bool nrf52_errata_219(void)
{
#ifndef NRF52_SERIES
@@ -8601,8 +11062,12 @@ static bool nrf52_errata_219(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8678,6 +11143,18 @@ static bool nrf52_errata_219(void)
#endif
}
+/* ========= Errata 220 ========= */
+#if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ #define NRF52_ERRATA_220_PRESENT 1
+#else
+ #define NRF52_ERRATA_220_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_220_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_220_ENABLE_WORKAROUND NRF52_ERRATA_220_PRESENT
+#endif
+
static bool nrf52_errata_220(void)
{
#ifndef NRF52_SERIES
@@ -8722,6 +11199,18 @@ static bool nrf52_errata_220(void)
#endif
}
+/* ========= Errata 223 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ #define NRF52_ERRATA_223_PRESENT 1
+#else
+ #define NRF52_ERRATA_223_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_223_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_223_ENABLE_WORKAROUND NRF52_ERRATA_223_PRESENT
+#endif
+
static bool nrf52_errata_223(void)
{
#ifndef NRF52_SERIES
@@ -8766,6 +11255,18 @@ static bool nrf52_errata_223(void)
#endif
}
+/* ========= Errata 225 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ #define NRF52_ERRATA_225_PRESENT 1
+#else
+ #define NRF52_ERRATA_225_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_225_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_225_ENABLE_WORKAROUND NRF52_ERRATA_225_PRESENT
+#endif
+
static bool nrf52_errata_225(void)
{
#ifndef NRF52_SERIES
@@ -8810,6 +11311,21 @@ static bool nrf52_errata_225(void)
#endif
}
+/* ========= Errata 228 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_228_PRESENT 1
+#else
+ #define NRF52_ERRATA_228_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_228_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_228_ENABLE_WORKAROUND NRF52_ERRATA_228_PRESENT
+#endif
+
static bool nrf52_errata_228(void)
{
#ifndef NRF52_SERIES
@@ -8836,8 +11352,12 @@ static bool nrf52_errata_228(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -8901,6 +11421,17 @@ static bool nrf52_errata_228(void)
#endif
}
+/* ========= Errata 230 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)
+ #define NRF52_ERRATA_230_PRESENT 1
+#else
+ #define NRF52_ERRATA_230_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_230_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_230_ENABLE_WORKAROUND NRF52_ERRATA_230_PRESENT
+#endif
+
static bool nrf52_errata_230(void)
{
#ifndef NRF52_SERIES
@@ -8930,6 +11461,17 @@ static bool nrf52_errata_230(void)
#endif
}
+/* ========= Errata 231 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)
+ #define NRF52_ERRATA_231_PRESENT 1
+#else
+ #define NRF52_ERRATA_231_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_231_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_231_ENABLE_WORKAROUND NRF52_ERRATA_231_PRESENT
+#endif
+
static bool nrf52_errata_231(void)
{
#ifndef NRF52_SERIES
@@ -8959,6 +11501,18 @@ static bool nrf52_errata_231(void)
#endif
}
+/* ========= Errata 232 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)
+ #define NRF52_ERRATA_232_PRESENT 1
+#else
+ #define NRF52_ERRATA_232_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_232_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_232_ENABLE_WORKAROUND NRF52_ERRATA_232_PRESENT
+#endif
+
static bool nrf52_errata_232(void)
{
#ifndef NRF52_SERIES
@@ -8999,6 +11553,19 @@ static bool nrf52_errata_232(void)
#endif
}
+/* ========= Errata 233 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_233_PRESENT 1
+#else
+ #define NRF52_ERRATA_233_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_233_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_233_ENABLE_WORKAROUND NRF52_ERRATA_233_PRESENT
+#endif
+
static bool nrf52_errata_233(void)
{
#ifndef NRF52_SERIES
@@ -9023,8 +11590,12 @@ static bool nrf52_errata_233(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -9052,9 +11623,9 @@ static bool nrf52_errata_233(void)
case 0x01ul:
return true;
case 0x02ul:
- return false;
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -9062,6 +11633,21 @@ static bool nrf52_errata_233(void)
#endif
}
+/* ========= Errata 236 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_236_PRESENT 1
+#else
+ #define NRF52_ERRATA_236_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_236_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_236_ENABLE_WORKAROUND NRF52_ERRATA_236_PRESENT
+#endif
+
static bool nrf52_errata_236(void)
{
#ifndef NRF52_SERIES
@@ -9088,8 +11674,12 @@ static bool nrf52_errata_236(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -9153,6 +11743,21 @@ static bool nrf52_errata_236(void)
#endif
}
+/* ========= Errata 237 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_237_PRESENT 1
+#else
+ #define NRF52_ERRATA_237_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_237_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_237_ENABLE_WORKAROUND NRF52_ERRATA_237_PRESENT
+#endif
+
static bool nrf52_errata_237(void)
{
#ifndef NRF52_SERIES
@@ -9179,8 +11784,12 @@ static bool nrf52_errata_237(void)
return true;
case 0x03ul:
return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
- return true;
+ return false;
}
}
#endif
@@ -9244,11 +11853,714 @@ static bool nrf52_errata_237(void)
#endif
}
+/* ========= Errata 242 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_242_PRESENT 1
+#else
+ #define NRF52_ERRATA_242_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_242_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_242_ENABLE_WORKAROUND NRF52_ERRATA_242_PRESENT
+#endif
+
+static bool nrf52_errata_242(void)
+{
+ #ifndef NRF52_SERIES
+ return false;
+ #else
+ #if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805)\
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810)\
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)\
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ uint32_t var1 = *(uint32_t *)0x10000130ul;
+ uint32_t var2 = *(uint32_t *)0x10000134ul;
+ #endif
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ if (var1 == 0x08)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810)
+ if (var1 == 0x0A)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)
+ if (var1 == 0x0E)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805)
+ if (var1 == 0x0F)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 243 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_243_PRESENT 1
+#else
+ #define NRF52_ERRATA_243_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_243_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_243_ENABLE_WORKAROUND NRF52_ERRATA_243_PRESENT
+#endif
+
+static bool nrf52_errata_243(void)
+{
+ #ifndef NRF52_SERIES
+ return false;
+ #else
+ #if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)\
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)\
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ uint32_t var1 = *(uint32_t *)0x10000130ul;
+ uint32_t var2 = *(uint32_t *)0x10000134ul;
+ #endif
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ if (var1 == 0x08)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ if (var1 == 0x0D)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)
+ if (var1 == 0x10)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 244 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_244_PRESENT 1
+#else
+ #define NRF52_ERRATA_244_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_244_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_244_ENABLE_WORKAROUND NRF52_ERRATA_244_PRESENT
+#endif
+
+static bool nrf52_errata_244(void)
+{
+ #ifndef NRF52_SERIES
+ return false;
+ #else
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ uint32_t var1 = *(uint32_t *)0x10000130ul;
+ uint32_t var2 = *(uint32_t *)0x10000134ul;
+ #endif
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ if (var1 == 0x08)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 245 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_245_PRESENT 1
+#else
+ #define NRF52_ERRATA_245_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_245_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_245_ENABLE_WORKAROUND 0
+#endif
+
+static bool nrf52_errata_245(void)
+{
+ #ifndef NRF52_SERIES
+ return false;
+ #else
+ #if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832)\
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ uint32_t var1;
+ uint32_t var2;
+
+ if (*(uint32_t *)0x10000130ul == 0xFFFFFFFF)
+ {
+ var1 = ((*(uint32_t *)0xF0000FE0ul) & 0x000000FFul);
+ var2 = ((*(uint32_t *)0xF0000FE8ul) & 0x000000F0ul) >> 4;
+ }
+ else
+ {
+ var1 = *(uint32_t *)0x10000130ul;
+ var2 = *(uint32_t *)0x10000134ul;
+ }
+ #elif defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805)\
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810)\
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)\
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)\
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)\
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ uint32_t var1 = *(uint32_t *)0x10000130ul;
+ uint32_t var2 = *(uint32_t *)0x10000134ul;
+ #endif
+ #if defined (NRF52832_XXAA) || defined (DEVELOP_IN_NRF52832)\
+ || defined (NRF52832_XXAB) || defined (DEVELOP_IN_NRF52832)
+ if (var1 == 0x06)
+ {
+ switch(var2)
+ {
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ case 0x06ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ if (var1 == 0x08)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810)
+ if (var1 == 0x0A)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ if (var1 == 0x0D)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)
+ if (var1 == 0x0E)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805)
+ if (var1 == 0x0F)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)
+ if (var1 == 0x10)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 246 ========= */
+#if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805) \
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_246_PRESENT 1
+#else
+ #define NRF52_ERRATA_246_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_246_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_246_ENABLE_WORKAROUND NRF52_ERRATA_246_PRESENT
+#endif
+
+static bool nrf52_errata_246(void)
+{
+ #ifndef NRF52_SERIES
+ return false;
+ #else
+ #if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805)\
+ || defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810)\
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)\
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)\
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)\
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ uint32_t var1 = *(uint32_t *)0x10000130ul;
+ uint32_t var2 = *(uint32_t *)0x10000134ul;
+ #endif
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ if (var1 == 0x08)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810)
+ if (var1 == 0x0A)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ if (var1 == 0x0D)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)
+ if (var1 == 0x0E)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52805_XXAA) || defined (DEVELOP_IN_NRF52805)
+ if (var1 == 0x0F)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)
+ if (var1 == 0x10)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 248 ========= */
+#if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810) \
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811) \
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833) \
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_248_PRESENT 1
+#else
+ #define NRF52_ERRATA_248_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_248_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_248_ENABLE_WORKAROUND NRF52_ERRATA_248_PRESENT
+#endif
+
static bool nrf52_errata_248(void)
{
#ifndef NRF52_SERIES
return false;
#else
+ #if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810)\
+ || defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)\
+ || defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)\
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)\
+ || defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ uint32_t var1 = *(uint32_t *)0x10000130ul;
+ uint32_t var2 = *(uint32_t *)0x10000134ul;
+ #endif
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ if (var1 == 0x08)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52810_XXAA) || defined (DEVELOP_IN_NRF52810)
+ if (var1 == 0x0A)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return false;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ if (var1 == 0x0D)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52811_XXAA) || defined (DEVELOP_IN_NRF52811)
+ if (var1 == 0x0E)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)
+ if (var1 == 0x10)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 249 ========= */
+#if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ #define NRF52_ERRATA_249_PRESENT 1
+#else
+ #define NRF52_ERRATA_249_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_249_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_249_ENABLE_WORKAROUND NRF52_ERRATA_249_PRESENT
+#endif
+
+static bool nrf52_errata_249(void)
+{
+ #ifndef NRF52_SERIES
+ return false;
+ #else
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ uint32_t var1 = *(uint32_t *)0x10000130ul;
+ uint32_t var2 = *(uint32_t *)0x10000134ul;
+ #endif
+ #if defined (NRF52840_XXAA) || defined (DEVELOP_IN_NRF52840)
+ if (var1 == 0x08)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return false;
+ case 0x01ul:
+ return false;
+ case 0x02ul:
+ return false;
+ case 0x03ul:
+ return false;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 250 ========= */
+#if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820) \
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ #define NRF52_ERRATA_250_PRESENT 1
+#else
+ #define NRF52_ERRATA_250_PRESENT 0
+#endif
+
+#ifndef NRF52_ERRATA_250_ENABLE_WORKAROUND
+ #define NRF52_ERRATA_250_ENABLE_WORKAROUND NRF52_ERRATA_250_PRESENT
+#endif
+
+static bool nrf52_errata_250(void)
+{
+ #ifndef NRF52_SERIES
+ return false;
+ #else
+ #if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)\
+ || defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ uint32_t var1 = *(uint32_t *)0x10000130ul;
+ uint32_t var2 = *(uint32_t *)0x10000134ul;
+ #endif
+ #if defined (NRF52833_XXAA) || defined (DEVELOP_IN_NRF52833)
+ if (var1 == 0x0D)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #if defined (NRF52820_XXAA) || defined (DEVELOP_IN_NRF52820)
+ if (var1 == 0x10)
+ {
+ switch(var2)
+ {
+ case 0x00ul:
+ return true;
+ case 0x01ul:
+ return true;
+ case 0x02ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
return false;
#endif
}
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf5340_application.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf5340_application.h
index 32590ceb26..55cb9bd71a 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf5340_application.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf5340_application.h
@@ -18,10 +18,10 @@
* @file nrf5340_application.h
* @brief CMSIS HeaderFile
* @version 1
- * @date 14. August 2020
- * @note Generated by SVDConv V3.3.35 on Friday, 14.08.2020 15:02:14
+ * @date 04. November 2020
+ * @note Generated by SVDConv V3.3.35 on Wednesday, 04.11.2020 13:48:08
* from File 'nrf5340_application.svd',
- * last modified on Friday, 14.08.2020 13:02:07
+ * last modified on Wednesday, 04.11.2020 12:48:02
*/
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf53_erratas.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf53_erratas.h
index 701048fd01..dae90e4e62 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf53_erratas.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf53_erratas.h
@@ -114,16 +114,36 @@ static bool nrf53_errata_91(void) __UNUSED;
static bool nrf53_errata_93(void) __UNUSED;
static bool nrf53_errata_95(void) __UNUSED;
static bool nrf53_errata_97(void) __UNUSED;
+static bool nrf53_errata_99(void) __UNUSED;
static bool nrf53_errata_103(void) __UNUSED;
static bool nrf53_errata_105(void) __UNUSED;
static bool nrf53_errata_106(void) __UNUSED;
+static bool nrf53_errata_107(void) __UNUSED;
static bool nrf53_errata_109(void) __UNUSED;
static bool nrf53_errata_110(void) __UNUSED;
+static bool nrf53_errata_112(void) __UNUSED;
static bool nrf53_errata_113(void) __UNUSED;
static bool nrf53_errata_114(void) __UNUSED;
static bool nrf53_errata_115(void) __UNUSED;
static bool nrf53_errata_116(void) __UNUSED;
+static bool nrf53_errata_117(void) __UNUSED;
static bool nrf53_errata_119(void) __UNUSED;
+static bool nrf53_errata_121(void) __UNUSED;
+
+/* ========= Errata 1 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_1_PRESENT 1
+ #else
+ #define NRF53_ERRATA_1_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_1_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_1_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_1_ENABLE_WORKAROUND NRF53_ERRATA_1_PRESENT
+#endif
static bool nrf53_errata_1(void)
{
@@ -146,6 +166,10 @@ static bool nrf53_errata_1(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -156,6 +180,21 @@ static bool nrf53_errata_1(void)
#endif
}
+/* ========= Errata 2 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_2_PRESENT 1
+ #else
+ #define NRF53_ERRATA_2_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_2_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_2_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_2_ENABLE_WORKAROUND NRF53_ERRATA_2_PRESENT
+#endif
+
static bool nrf53_errata_2(void)
{
#ifndef NRF53_SERIES
@@ -177,6 +216,10 @@ static bool nrf53_errata_2(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -187,6 +230,21 @@ static bool nrf53_errata_2(void)
#endif
}
+/* ========= Errata 3 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_3_PRESENT 1
+ #else
+ #define NRF53_ERRATA_3_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_3_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_3_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_3_ENABLE_WORKAROUND NRF53_ERRATA_3_PRESENT
+#endif
+
static bool nrf53_errata_3(void)
{
#ifndef NRF53_SERIES
@@ -208,6 +266,10 @@ static bool nrf53_errata_3(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -218,6 +280,21 @@ static bool nrf53_errata_3(void)
#endif
}
+/* ========= Errata 4 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_4_PRESENT 1
+ #else
+ #define NRF53_ERRATA_4_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_4_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_4_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_4_ENABLE_WORKAROUND NRF53_ERRATA_4_PRESENT
+#endif
+
static bool nrf53_errata_4(void)
{
#ifndef NRF53_SERIES
@@ -239,6 +316,10 @@ static bool nrf53_errata_4(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -249,6 +330,21 @@ static bool nrf53_errata_4(void)
#endif
}
+/* ========= Errata 5 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_5_PRESENT 1
+ #else
+ #define NRF53_ERRATA_5_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_5_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_5_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_5_ENABLE_WORKAROUND NRF53_ERRATA_5_PRESENT
+#endif
+
static bool nrf53_errata_5(void)
{
#ifndef NRF53_SERIES
@@ -270,6 +366,10 @@ static bool nrf53_errata_5(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -280,6 +380,21 @@ static bool nrf53_errata_5(void)
#endif
}
+/* ========= Errata 6 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_6_PRESENT 1
+ #else
+ #define NRF53_ERRATA_6_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_6_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_6_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_6_ENABLE_WORKAROUND NRF53_ERRATA_6_PRESENT
+#endif
+
static bool nrf53_errata_6(void)
{
#ifndef NRF53_SERIES
@@ -300,9 +415,13 @@ static bool nrf53_errata_6(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -311,6 +430,21 @@ static bool nrf53_errata_6(void)
#endif
}
+/* ========= Errata 7 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_7_PRESENT 1
+ #else
+ #define NRF53_ERRATA_7_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_7_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_7_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_7_ENABLE_WORKAROUND NRF53_ERRATA_7_PRESENT
+#endif
+
static bool nrf53_errata_7(void)
{
#ifndef NRF53_SERIES
@@ -332,6 +466,10 @@ static bool nrf53_errata_7(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -342,6 +480,21 @@ static bool nrf53_errata_7(void)
#endif
}
+/* ========= Errata 8 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_8_PRESENT 1
+ #else
+ #define NRF53_ERRATA_8_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_8_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_8_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_8_ENABLE_WORKAROUND NRF53_ERRATA_8_PRESENT
+#endif
+
static bool nrf53_errata_8(void)
{
#ifndef NRF53_SERIES
@@ -363,6 +516,10 @@ static bool nrf53_errata_8(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -373,6 +530,21 @@ static bool nrf53_errata_8(void)
#endif
}
+/* ========= Errata 9 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_9_PRESENT 1
+ #else
+ #define NRF53_ERRATA_9_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_9_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_9_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_9_ENABLE_WORKAROUND NRF53_ERRATA_9_PRESENT
+#endif
+
static bool nrf53_errata_9(void)
{
#ifndef NRF53_SERIES
@@ -394,6 +566,10 @@ static bool nrf53_errata_9(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -404,6 +580,21 @@ static bool nrf53_errata_9(void)
#endif
}
+/* ========= Errata 10 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_10_PRESENT 1
+ #else
+ #define NRF53_ERRATA_10_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_10_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_10_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_10_ENABLE_WORKAROUND NRF53_ERRATA_10_PRESENT
+#endif
+
static bool nrf53_errata_10(void)
{
#ifndef NRF53_SERIES
@@ -425,6 +616,10 @@ static bool nrf53_errata_10(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -435,6 +630,21 @@ static bool nrf53_errata_10(void)
#endif
}
+/* ========= Errata 11 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_11_PRESENT 1
+ #else
+ #define NRF53_ERRATA_11_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_11_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_11_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_11_ENABLE_WORKAROUND NRF53_ERRATA_11_PRESENT
+#endif
+
static bool nrf53_errata_11(void)
{
#ifndef NRF53_SERIES
@@ -455,6 +665,10 @@ static bool nrf53_errata_11(void)
case 0x02ul:
return true;
case 0x03ul:
+ return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
return false;
default:
return false;
@@ -466,6 +680,21 @@ static bool nrf53_errata_11(void)
#endif
}
+/* ========= Errata 12 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_12_PRESENT 1
+ #else
+ #define NRF53_ERRATA_12_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_12_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_12_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_12_ENABLE_WORKAROUND NRF53_ERRATA_12_PRESENT
+#endif
+
static bool nrf53_errata_12(void)
{
#ifndef NRF53_SERIES
@@ -486,6 +715,10 @@ static bool nrf53_errata_12(void)
case 0x02ul:
return true;
case 0x03ul:
+ return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
return false;
default:
return false;
@@ -497,6 +730,22 @@ static bool nrf53_errata_12(void)
#endif
}
+/* ========= Errata 13 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_13_PRESENT 1
+ #else
+ #define NRF53_ERRATA_13_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_13_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_13_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_13_ENABLE_WORKAROUND NRF53_ERRATA_13_PRESENT
+#endif
+
static bool nrf53_errata_13(void)
{
#ifndef NRF53_SERIES
@@ -522,6 +771,10 @@ static bool nrf53_errata_13(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -532,6 +785,21 @@ static bool nrf53_errata_13(void)
#endif
}
+/* ========= Errata 14 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_14_PRESENT 1
+ #else
+ #define NRF53_ERRATA_14_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_14_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_14_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_14_ENABLE_WORKAROUND NRF53_ERRATA_14_PRESENT
+#endif
+
static bool nrf53_errata_14(void)
{
#ifndef NRF53_SERIES
@@ -553,6 +821,10 @@ static bool nrf53_errata_14(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -563,6 +835,22 @@ static bool nrf53_errata_14(void)
#endif
}
+/* ========= Errata 15 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_15_PRESENT 1
+ #else
+ #define NRF53_ERRATA_15_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_15_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_15_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_15_ENABLE_WORKAROUND NRF53_ERRATA_15_PRESENT
+#endif
+
static bool nrf53_errata_15(void)
{
#ifndef NRF53_SERIES
@@ -588,6 +876,10 @@ static bool nrf53_errata_15(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -598,6 +890,21 @@ static bool nrf53_errata_15(void)
#endif
}
+/* ========= Errata 16 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_16_PRESENT 1
+ #else
+ #define NRF53_ERRATA_16_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_16_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_16_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_16_ENABLE_WORKAROUND NRF53_ERRATA_16_PRESENT
+#endif
+
static bool nrf53_errata_16(void)
{
#ifndef NRF53_SERIES
@@ -619,6 +926,10 @@ static bool nrf53_errata_16(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -629,6 +940,21 @@ static bool nrf53_errata_16(void)
#endif
}
+/* ========= Errata 18 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_18_PRESENT 1
+ #else
+ #define NRF53_ERRATA_18_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_18_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_18_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_18_ENABLE_WORKAROUND NRF53_ERRATA_18_PRESENT
+#endif
+
static bool nrf53_errata_18(void)
{
#ifndef NRF53_SERIES
@@ -650,6 +976,10 @@ static bool nrf53_errata_18(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -660,6 +990,21 @@ static bool nrf53_errata_18(void)
#endif
}
+/* ========= Errata 19 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_19_PRESENT 1
+ #else
+ #define NRF53_ERRATA_19_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_19_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_19_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_19_ENABLE_WORKAROUND NRF53_ERRATA_19_PRESENT
+#endif
+
static bool nrf53_errata_19(void)
{
#ifndef NRF53_SERIES
@@ -681,6 +1026,10 @@ static bool nrf53_errata_19(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -691,6 +1040,22 @@ static bool nrf53_errata_19(void)
#endif
}
+/* ========= Errata 20 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_20_PRESENT 1
+ #else
+ #define NRF53_ERRATA_20_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_20_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_20_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_20_ENABLE_WORKAROUND NRF53_ERRATA_20_PRESENT
+#endif
+
static bool nrf53_errata_20(void)
{
#ifndef NRF53_SERIES
@@ -716,6 +1081,10 @@ static bool nrf53_errata_20(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -726,6 +1095,22 @@ static bool nrf53_errata_20(void)
#endif
}
+/* ========= Errata 21 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_21_PRESENT 1
+ #else
+ #define NRF53_ERRATA_21_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_21_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_21_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_21_ENABLE_WORKAROUND NRF53_ERRATA_21_PRESENT
+#endif
+
static bool nrf53_errata_21(void)
{
#ifndef NRF53_SERIES
@@ -750,6 +1135,10 @@ static bool nrf53_errata_21(void)
case 0x02ul:
return true;
case 0x03ul:
+ return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
return false;
default:
return false;
@@ -761,6 +1150,21 @@ static bool nrf53_errata_21(void)
#endif
}
+/* ========= Errata 22 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_22_PRESENT 1
+ #else
+ #define NRF53_ERRATA_22_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_22_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_22_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_22_ENABLE_WORKAROUND NRF53_ERRATA_22_PRESENT
+#endif
+
static bool nrf53_errata_22(void)
{
#ifndef NRF53_SERIES
@@ -782,6 +1186,10 @@ static bool nrf53_errata_22(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -792,6 +1200,21 @@ static bool nrf53_errata_22(void)
#endif
}
+/* ========= Errata 23 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_23_PRESENT 1
+ #else
+ #define NRF53_ERRATA_23_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_23_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_23_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_23_ENABLE_WORKAROUND NRF53_ERRATA_23_PRESENT
+#endif
+
static bool nrf53_errata_23(void)
{
#ifndef NRF53_SERIES
@@ -813,6 +1236,10 @@ static bool nrf53_errata_23(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -823,6 +1250,22 @@ static bool nrf53_errata_23(void)
#endif
}
+/* ========= Errata 26 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_26_PRESENT 1
+ #else
+ #define NRF53_ERRATA_26_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_26_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_26_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_26_ENABLE_WORKAROUND NRF53_ERRATA_26_PRESENT
+#endif
+
static bool nrf53_errata_26(void)
{
#ifndef NRF53_SERIES
@@ -848,6 +1291,10 @@ static bool nrf53_errata_26(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -858,6 +1305,22 @@ static bool nrf53_errata_26(void)
#endif
}
+/* ========= Errata 27 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_27_PRESENT 1
+ #else
+ #define NRF53_ERRATA_27_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_27_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_27_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_27_ENABLE_WORKAROUND NRF53_ERRATA_27_PRESENT
+#endif
+
static bool nrf53_errata_27(void)
{
#ifndef NRF53_SERIES
@@ -883,6 +1346,10 @@ static bool nrf53_errata_27(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -893,6 +1360,22 @@ static bool nrf53_errata_27(void)
#endif
}
+/* ========= Errata 28 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_28_PRESENT 1
+ #else
+ #define NRF53_ERRATA_28_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_28_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_28_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_28_ENABLE_WORKAROUND NRF53_ERRATA_28_PRESENT
+#endif
+
static bool nrf53_errata_28(void)
{
#ifndef NRF53_SERIES
@@ -918,6 +1401,10 @@ static bool nrf53_errata_28(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -928,6 +1415,21 @@ static bool nrf53_errata_28(void)
#endif
}
+/* ========= Errata 29 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_29_PRESENT 1
+ #else
+ #define NRF53_ERRATA_29_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_29_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_29_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_29_ENABLE_WORKAROUND NRF53_ERRATA_29_PRESENT
+#endif
+
static bool nrf53_errata_29(void)
{
#ifndef NRF53_SERIES
@@ -949,6 +1451,10 @@ static bool nrf53_errata_29(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -959,6 +1465,21 @@ static bool nrf53_errata_29(void)
#endif
}
+/* ========= Errata 30 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_30_PRESENT 1
+ #else
+ #define NRF53_ERRATA_30_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_30_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_30_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_30_ENABLE_WORKAROUND NRF53_ERRATA_30_PRESENT
+#endif
+
static bool nrf53_errata_30(void)
{
#ifndef NRF53_SERIES
@@ -980,6 +1501,10 @@ static bool nrf53_errata_30(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -990,6 +1515,22 @@ static bool nrf53_errata_30(void)
#endif
}
+/* ========= Errata 31 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_31_PRESENT 1
+ #else
+ #define NRF53_ERRATA_31_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_31_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_31_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_31_ENABLE_WORKAROUND NRF53_ERRATA_31_PRESENT
+#endif
+
static bool nrf53_errata_31(void)
{
#ifndef NRF53_SERIES
@@ -1015,6 +1556,10 @@ static bool nrf53_errata_31(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1025,6 +1570,21 @@ static bool nrf53_errata_31(void)
#endif
}
+/* ========= Errata 32 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_32_PRESENT 1
+ #else
+ #define NRF53_ERRATA_32_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_32_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_32_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_32_ENABLE_WORKAROUND NRF53_ERRATA_32_PRESENT
+#endif
+
static bool nrf53_errata_32(void)
{
#ifndef NRF53_SERIES
@@ -1046,6 +1606,10 @@ static bool nrf53_errata_32(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1056,6 +1620,21 @@ static bool nrf53_errata_32(void)
#endif
}
+/* ========= Errata 33 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_33_PRESENT 1
+ #else
+ #define NRF53_ERRATA_33_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_33_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_33_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_33_ENABLE_WORKAROUND NRF53_ERRATA_33_PRESENT
+#endif
+
static bool nrf53_errata_33(void)
{
#ifndef NRF53_SERIES
@@ -1077,6 +1656,10 @@ static bool nrf53_errata_33(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1087,6 +1670,21 @@ static bool nrf53_errata_33(void)
#endif
}
+/* ========= Errata 34 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_34_PRESENT 1
+ #else
+ #define NRF53_ERRATA_34_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_34_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_34_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_34_ENABLE_WORKAROUND NRF53_ERRATA_34_PRESENT
+#endif
+
static bool nrf53_errata_34(void)
{
#ifndef NRF53_SERIES
@@ -1108,6 +1706,10 @@ static bool nrf53_errata_34(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1118,6 +1720,21 @@ static bool nrf53_errata_34(void)
#endif
}
+/* ========= Errata 36 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_36_PRESENT 1
+ #else
+ #define NRF53_ERRATA_36_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_36_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_36_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_36_ENABLE_WORKAROUND NRF53_ERRATA_36_PRESENT
+#endif
+
static bool nrf53_errata_36(void)
{
#ifndef NRF53_SERIES
@@ -1139,6 +1756,10 @@ static bool nrf53_errata_36(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1149,6 +1770,22 @@ static bool nrf53_errata_36(void)
#endif
}
+/* ========= Errata 37 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_37_PRESENT 1
+ #else
+ #define NRF53_ERRATA_37_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_37_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_37_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_37_ENABLE_WORKAROUND NRF53_ERRATA_37_PRESENT
+#endif
+
static bool nrf53_errata_37(void)
{
#ifndef NRF53_SERIES
@@ -1173,9 +1810,13 @@ static bool nrf53_errata_37(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1184,6 +1825,21 @@ static bool nrf53_errata_37(void)
#endif
}
+/* ========= Errata 42 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_42_PRESENT 1
+ #else
+ #define NRF53_ERRATA_42_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_42_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_42_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_42_ENABLE_WORKAROUND NRF53_ERRATA_42_PRESENT
+#endif
+
static bool nrf53_errata_42(void)
{
#ifndef NRF53_SERIES
@@ -1205,6 +1861,10 @@ static bool nrf53_errata_42(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1215,6 +1875,21 @@ static bool nrf53_errata_42(void)
#endif
}
+/* ========= Errata 43 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_43_PRESENT 1
+ #else
+ #define NRF53_ERRATA_43_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_43_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_43_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_43_ENABLE_WORKAROUND NRF53_ERRATA_43_PRESENT
+#endif
+
static bool nrf53_errata_43(void)
{
#ifndef NRF53_SERIES
@@ -1235,9 +1910,13 @@ static bool nrf53_errata_43(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1246,6 +1925,22 @@ static bool nrf53_errata_43(void)
#endif
}
+/* ========= Errata 44 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_44_PRESENT 1
+ #else
+ #define NRF53_ERRATA_44_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_44_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_44_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_44_ENABLE_WORKAROUND NRF53_ERRATA_44_PRESENT
+#endif
+
static bool nrf53_errata_44(void)
{
#ifndef NRF53_SERIES
@@ -1270,9 +1965,13 @@ static bool nrf53_errata_44(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1281,6 +1980,21 @@ static bool nrf53_errata_44(void)
#endif
}
+/* ========= Errata 45 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_45_PRESENT 1
+ #else
+ #define NRF53_ERRATA_45_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_45_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_45_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_45_ENABLE_WORKAROUND NRF53_ERRATA_45_PRESENT
+#endif
+
static bool nrf53_errata_45(void)
{
#ifndef NRF53_SERIES
@@ -1302,6 +2016,10 @@ static bool nrf53_errata_45(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1312,6 +2030,21 @@ static bool nrf53_errata_45(void)
#endif
}
+/* ========= Errata 46 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_46_PRESENT 1
+ #else
+ #define NRF53_ERRATA_46_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_46_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_46_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_46_ENABLE_WORKAROUND NRF53_ERRATA_46_PRESENT
+#endif
+
static bool nrf53_errata_46(void)
{
#ifndef NRF53_SERIES
@@ -1332,9 +2065,13 @@ static bool nrf53_errata_46(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1343,6 +2080,22 @@ static bool nrf53_errata_46(void)
#endif
}
+/* ========= Errata 47 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_47_PRESENT 1
+ #else
+ #define NRF53_ERRATA_47_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_47_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_47_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_47_ENABLE_WORKAROUND NRF53_ERRATA_47_PRESENT
+#endif
+
static bool nrf53_errata_47(void)
{
#ifndef NRF53_SERIES
@@ -1367,9 +2120,13 @@ static bool nrf53_errata_47(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1378,6 +2135,22 @@ static bool nrf53_errata_47(void)
#endif
}
+/* ========= Errata 49 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_49_PRESENT 1
+ #else
+ #define NRF53_ERRATA_49_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_49_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_49_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_49_ENABLE_WORKAROUND NRF53_ERRATA_49_PRESENT
+#endif
+
static bool nrf53_errata_49(void)
{
#ifndef NRF53_SERIES
@@ -1403,6 +2176,10 @@ static bool nrf53_errata_49(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1413,6 +2190,21 @@ static bool nrf53_errata_49(void)
#endif
}
+/* ========= Errata 50 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_50_PRESENT 1
+ #else
+ #define NRF53_ERRATA_50_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_50_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_50_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_50_ENABLE_WORKAROUND NRF53_ERRATA_50_PRESENT
+#endif
+
static bool nrf53_errata_50(void)
{
#ifndef NRF53_SERIES
@@ -1434,6 +2226,10 @@ static bool nrf53_errata_50(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1444,6 +2240,21 @@ static bool nrf53_errata_50(void)
#endif
}
+/* ========= Errata 51 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_51_PRESENT 1
+ #else
+ #define NRF53_ERRATA_51_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_51_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_51_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_51_ENABLE_WORKAROUND NRF53_ERRATA_51_PRESENT
+#endif
+
static bool nrf53_errata_51(void)
{
#ifndef NRF53_SERIES
@@ -1465,6 +2276,10 @@ static bool nrf53_errata_51(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1475,6 +2290,22 @@ static bool nrf53_errata_51(void)
#endif
}
+/* ========= Errata 52 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_52_PRESENT 1
+ #else
+ #define NRF53_ERRATA_52_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_52_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_52_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_52_ENABLE_WORKAROUND NRF53_ERRATA_52_PRESENT
+#endif
+
static bool nrf53_errata_52(void)
{
#ifndef NRF53_SERIES
@@ -1500,6 +2331,10 @@ static bool nrf53_errata_52(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1510,6 +2345,21 @@ static bool nrf53_errata_52(void)
#endif
}
+/* ========= Errata 53 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_53_PRESENT 1
+ #else
+ #define NRF53_ERRATA_53_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_53_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_53_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_53_ENABLE_WORKAROUND NRF53_ERRATA_53_PRESENT
+#endif
+
static bool nrf53_errata_53(void)
{
#ifndef NRF53_SERIES
@@ -1531,6 +2381,10 @@ static bool nrf53_errata_53(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1541,6 +2395,21 @@ static bool nrf53_errata_53(void)
#endif
}
+/* ========= Errata 54 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_54_PRESENT 1
+ #else
+ #define NRF53_ERRATA_54_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_54_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_54_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_54_ENABLE_WORKAROUND NRF53_ERRATA_54_PRESENT
+#endif
+
static bool nrf53_errata_54(void)
{
#ifndef NRF53_SERIES
@@ -1562,6 +2431,10 @@ static bool nrf53_errata_54(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1572,6 +2445,22 @@ static bool nrf53_errata_54(void)
#endif
}
+/* ========= Errata 55 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_55_PRESENT 1
+ #else
+ #define NRF53_ERRATA_55_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_55_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_55_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_55_ENABLE_WORKAROUND NRF53_ERRATA_55_PRESENT
+#endif
+
static bool nrf53_errata_55(void)
{
#ifndef NRF53_SERIES
@@ -1596,9 +2485,13 @@ static bool nrf53_errata_55(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1607,6 +2500,21 @@ static bool nrf53_errata_55(void)
#endif
}
+/* ========= Errata 57 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_57_PRESENT 1
+ #else
+ #define NRF53_ERRATA_57_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_57_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_57_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_57_ENABLE_WORKAROUND NRF53_ERRATA_57_PRESENT
+#endif
+
static bool nrf53_errata_57(void)
{
#ifndef NRF53_SERIES
@@ -1628,6 +2536,10 @@ static bool nrf53_errata_57(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1638,6 +2550,21 @@ static bool nrf53_errata_57(void)
#endif
}
+/* ========= Errata 58 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_58_PRESENT 1
+ #else
+ #define NRF53_ERRATA_58_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_58_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_58_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_58_ENABLE_WORKAROUND NRF53_ERRATA_58_PRESENT
+#endif
+
static bool nrf53_errata_58(void)
{
#ifndef NRF53_SERIES
@@ -1659,6 +2586,10 @@ static bool nrf53_errata_58(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1669,6 +2600,21 @@ static bool nrf53_errata_58(void)
#endif
}
+/* ========= Errata 59 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_59_PRESENT 1
+ #else
+ #define NRF53_ERRATA_59_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_59_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_59_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_59_ENABLE_WORKAROUND NRF53_ERRATA_59_PRESENT
+#endif
+
static bool nrf53_errata_59(void)
{
#ifndef NRF53_SERIES
@@ -1690,6 +2636,10 @@ static bool nrf53_errata_59(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1700,6 +2650,22 @@ static bool nrf53_errata_59(void)
#endif
}
+/* ========= Errata 62 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_62_PRESENT 1
+ #else
+ #define NRF53_ERRATA_62_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_62_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_62_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_62_ENABLE_WORKAROUND NRF53_ERRATA_62_PRESENT
+#endif
+
static bool nrf53_errata_62(void)
{
#ifndef NRF53_SERIES
@@ -1725,6 +2691,10 @@ static bool nrf53_errata_62(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1735,6 +2705,21 @@ static bool nrf53_errata_62(void)
#endif
}
+/* ========= Errata 64 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_64_PRESENT 1
+ #else
+ #define NRF53_ERRATA_64_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_64_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_64_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_64_ENABLE_WORKAROUND NRF53_ERRATA_64_PRESENT
+#endif
+
static bool nrf53_errata_64(void)
{
#ifndef NRF53_SERIES
@@ -1744,14 +2729,10 @@ static bool nrf53_errata_64(void)
#if defined(NRF_APPLICATION)
uint32_t var1 = *(uint32_t *)0x00FF0130ul;
uint32_t var2 = *(uint32_t *)0x00FF0134ul;
- #elif defined(NRF_NETWORK)
- uint32_t var1 = *(uint32_t *)0x01FF0130ul;
- uint32_t var2 = *(uint32_t *)0x01FF0134ul;
#endif
#endif
#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
- #if defined (NRF_APPLICATION)\
- || defined (NRF_NETWORK)
+ #if defined (NRF_APPLICATION)
if (var1 == 0x07)
{
switch(var2)
@@ -1760,6 +2741,10 @@ static bool nrf53_errata_64(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1770,6 +2755,21 @@ static bool nrf53_errata_64(void)
#endif
}
+/* ========= Errata 65 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_65_PRESENT 1
+ #else
+ #define NRF53_ERRATA_65_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_65_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_65_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_65_ENABLE_WORKAROUND NRF53_ERRATA_65_PRESENT
+#endif
+
static bool nrf53_errata_65(void)
{
#ifndef NRF53_SERIES
@@ -1790,9 +2790,13 @@ static bool nrf53_errata_65(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1801,6 +2805,21 @@ static bool nrf53_errata_65(void)
#endif
}
+/* ========= Errata 66 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_66_PRESENT 1
+ #else
+ #define NRF53_ERRATA_66_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_66_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_66_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_66_ENABLE_WORKAROUND NRF53_ERRATA_66_PRESENT
+#endif
+
static bool nrf53_errata_66(void)
{
#ifndef NRF53_SERIES
@@ -1822,6 +2841,10 @@ static bool nrf53_errata_66(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1832,6 +2855,22 @@ static bool nrf53_errata_66(void)
#endif
}
+/* ========= Errata 67 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_67_PRESENT 1
+ #else
+ #define NRF53_ERRATA_67_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_67_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_67_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_67_ENABLE_WORKAROUND NRF53_ERRATA_67_PRESENT
+#endif
+
static bool nrf53_errata_67(void)
{
#ifndef NRF53_SERIES
@@ -1856,9 +2895,13 @@ static bool nrf53_errata_67(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1867,6 +2910,21 @@ static bool nrf53_errata_67(void)
#endif
}
+/* ========= Errata 69 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_69_PRESENT 1
+ #else
+ #define NRF53_ERRATA_69_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_69_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_69_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_69_ENABLE_WORKAROUND NRF53_ERRATA_69_PRESENT
+#endif
+
static bool nrf53_errata_69(void)
{
#ifndef NRF53_SERIES
@@ -1888,6 +2946,10 @@ static bool nrf53_errata_69(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1898,6 +2960,21 @@ static bool nrf53_errata_69(void)
#endif
}
+/* ========= Errata 70 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_70_PRESENT 1
+ #else
+ #define NRF53_ERRATA_70_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_70_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_70_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_70_ENABLE_WORKAROUND NRF53_ERRATA_70_PRESENT
+#endif
+
static bool nrf53_errata_70(void)
{
#ifndef NRF53_SERIES
@@ -1918,9 +2995,13 @@ static bool nrf53_errata_70(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1929,6 +3010,21 @@ static bool nrf53_errata_70(void)
#endif
}
+/* ========= Errata 71 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_71_PRESENT 1
+ #else
+ #define NRF53_ERRATA_71_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_71_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_71_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_71_ENABLE_WORKAROUND NRF53_ERRATA_71_PRESENT
+#endif
+
static bool nrf53_errata_71(void)
{
#ifndef NRF53_SERIES
@@ -1949,9 +3045,13 @@ static bool nrf53_errata_71(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -1960,6 +3060,21 @@ static bool nrf53_errata_71(void)
#endif
}
+/* ========= Errata 72 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_72_PRESENT 1
+ #else
+ #define NRF53_ERRATA_72_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_72_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_72_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_72_ENABLE_WORKAROUND NRF53_ERRATA_72_PRESENT
+#endif
+
static bool nrf53_errata_72(void)
{
#ifndef NRF53_SERIES
@@ -1981,6 +3096,10 @@ static bool nrf53_errata_72(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -1991,6 +3110,22 @@ static bool nrf53_errata_72(void)
#endif
}
+/* ========= Errata 73 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_73_PRESENT 1
+ #else
+ #define NRF53_ERRATA_73_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_73_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_73_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_73_ENABLE_WORKAROUND NRF53_ERRATA_73_PRESENT
+#endif
+
static bool nrf53_errata_73(void)
{
#ifndef NRF53_SERIES
@@ -2016,6 +3151,10 @@ static bool nrf53_errata_73(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2026,6 +3165,22 @@ static bool nrf53_errata_73(void)
#endif
}
+/* ========= Errata 74 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_74_PRESENT 1
+ #else
+ #define NRF53_ERRATA_74_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_74_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_74_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_74_ENABLE_WORKAROUND NRF53_ERRATA_74_PRESENT
+#endif
+
static bool nrf53_errata_74(void)
{
#ifndef NRF53_SERIES
@@ -2051,6 +3206,10 @@ static bool nrf53_errata_74(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2061,6 +3220,21 @@ static bool nrf53_errata_74(void)
#endif
}
+/* ========= Errata 75 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_75_PRESENT 1
+ #else
+ #define NRF53_ERRATA_75_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_75_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_75_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_75_ENABLE_WORKAROUND NRF53_ERRATA_75_PRESENT
+#endif
+
static bool nrf53_errata_75(void)
{
#ifndef NRF53_SERIES
@@ -2081,9 +3255,13 @@ static bool nrf53_errata_75(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -2092,6 +3270,21 @@ static bool nrf53_errata_75(void)
#endif
}
+/* ========= Errata 76 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_76_PRESENT 1
+ #else
+ #define NRF53_ERRATA_76_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_76_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_76_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_76_ENABLE_WORKAROUND NRF53_ERRATA_76_PRESENT
+#endif
+
static bool nrf53_errata_76(void)
{
#ifndef NRF53_SERIES
@@ -2112,9 +3305,13 @@ static bool nrf53_errata_76(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -2123,6 +3320,22 @@ static bool nrf53_errata_76(void)
#endif
}
+/* ========= Errata 77 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_77_PRESENT 1
+ #else
+ #define NRF53_ERRATA_77_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_77_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_77_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_77_ENABLE_WORKAROUND NRF53_ERRATA_77_PRESENT
+#endif
+
static bool nrf53_errata_77(void)
{
#ifndef NRF53_SERIES
@@ -2148,6 +3361,10 @@ static bool nrf53_errata_77(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2158,6 +3375,21 @@ static bool nrf53_errata_77(void)
#endif
}
+/* ========= Errata 79 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_79_PRESENT 1
+ #else
+ #define NRF53_ERRATA_79_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_79_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_79_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_79_ENABLE_WORKAROUND NRF53_ERRATA_79_PRESENT
+#endif
+
static bool nrf53_errata_79(void)
{
#ifndef NRF53_SERIES
@@ -2179,6 +3411,10 @@ static bool nrf53_errata_79(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2189,6 +3425,21 @@ static bool nrf53_errata_79(void)
#endif
}
+/* ========= Errata 80 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_80_PRESENT 1
+ #else
+ #define NRF53_ERRATA_80_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_80_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_80_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_80_ENABLE_WORKAROUND NRF53_ERRATA_80_PRESENT
+#endif
+
static bool nrf53_errata_80(void)
{
#ifndef NRF53_SERIES
@@ -2210,6 +3461,10 @@ static bool nrf53_errata_80(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2220,6 +3475,21 @@ static bool nrf53_errata_80(void)
#endif
}
+/* ========= Errata 81 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_81_PRESENT 1
+ #else
+ #define NRF53_ERRATA_81_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_81_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_81_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_81_ENABLE_WORKAROUND NRF53_ERRATA_81_PRESENT
+#endif
+
static bool nrf53_errata_81(void)
{
#ifndef NRF53_SERIES
@@ -2241,6 +3511,10 @@ static bool nrf53_errata_81(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2251,6 +3525,21 @@ static bool nrf53_errata_81(void)
#endif
}
+/* ========= Errata 82 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_82_PRESENT 1
+ #else
+ #define NRF53_ERRATA_82_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_82_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_82_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_82_ENABLE_WORKAROUND NRF53_ERRATA_82_PRESENT
+#endif
+
static bool nrf53_errata_82(void)
{
#ifndef NRF53_SERIES
@@ -2272,6 +3561,10 @@ static bool nrf53_errata_82(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2282,6 +3575,21 @@ static bool nrf53_errata_82(void)
#endif
}
+/* ========= Errata 83 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_83_PRESENT 1
+ #else
+ #define NRF53_ERRATA_83_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_83_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_83_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_83_ENABLE_WORKAROUND NRF53_ERRATA_83_PRESENT
+#endif
+
static bool nrf53_errata_83(void)
{
#ifndef NRF53_SERIES
@@ -2303,6 +3611,10 @@ static bool nrf53_errata_83(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2313,6 +3625,21 @@ static bool nrf53_errata_83(void)
#endif
}
+/* ========= Errata 84 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_84_PRESENT 1
+ #else
+ #define NRF53_ERRATA_84_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_84_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_84_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_84_ENABLE_WORKAROUND NRF53_ERRATA_84_PRESENT
+#endif
+
static bool nrf53_errata_84(void)
{
#ifndef NRF53_SERIES
@@ -2334,6 +3661,10 @@ static bool nrf53_errata_84(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2344,6 +3675,21 @@ static bool nrf53_errata_84(void)
#endif
}
+/* ========= Errata 85 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_85_PRESENT 1
+ #else
+ #define NRF53_ERRATA_85_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_85_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_85_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_85_ENABLE_WORKAROUND NRF53_ERRATA_85_PRESENT
+#endif
+
static bool nrf53_errata_85(void)
{
#ifndef NRF53_SERIES
@@ -2365,6 +3711,10 @@ static bool nrf53_errata_85(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2375,6 +3725,22 @@ static bool nrf53_errata_85(void)
#endif
}
+/* ========= Errata 86 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_86_PRESENT 1
+ #else
+ #define NRF53_ERRATA_86_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_86_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_86_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_86_ENABLE_WORKAROUND NRF53_ERRATA_86_PRESENT
+#endif
+
static bool nrf53_errata_86(void)
{
#ifndef NRF53_SERIES
@@ -2400,6 +3766,10 @@ static bool nrf53_errata_86(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2410,6 +3780,21 @@ static bool nrf53_errata_86(void)
#endif
}
+/* ========= Errata 87 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_87_PRESENT 1
+ #else
+ #define NRF53_ERRATA_87_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_87_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_87_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_87_ENABLE_WORKAROUND NRF53_ERRATA_87_PRESENT
+#endif
+
static bool nrf53_errata_87(void)
{
#ifndef NRF53_SERIES
@@ -2430,9 +3815,13 @@ static bool nrf53_errata_87(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -2441,6 +3830,21 @@ static bool nrf53_errata_87(void)
#endif
}
+/* ========= Errata 90 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_90_PRESENT 1
+ #else
+ #define NRF53_ERRATA_90_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_90_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_90_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_90_ENABLE_WORKAROUND NRF53_ERRATA_90_PRESENT
+#endif
+
static bool nrf53_errata_90(void)
{
#ifndef NRF53_SERIES
@@ -2462,6 +3866,10 @@ static bool nrf53_errata_90(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2472,6 +3880,21 @@ static bool nrf53_errata_90(void)
#endif
}
+/* ========= Errata 91 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_91_PRESENT 1
+ #else
+ #define NRF53_ERRATA_91_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_91_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_91_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_91_ENABLE_WORKAROUND NRF53_ERRATA_91_PRESENT
+#endif
+
static bool nrf53_errata_91(void)
{
#ifndef NRF53_SERIES
@@ -2493,6 +3916,10 @@ static bool nrf53_errata_91(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2503,6 +3930,21 @@ static bool nrf53_errata_91(void)
#endif
}
+/* ========= Errata 93 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_93_PRESENT 1
+ #else
+ #define NRF53_ERRATA_93_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_93_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_93_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_93_ENABLE_WORKAROUND NRF53_ERRATA_93_PRESENT
+#endif
+
static bool nrf53_errata_93(void)
{
#ifndef NRF53_SERIES
@@ -2524,6 +3966,10 @@ static bool nrf53_errata_93(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2534,6 +3980,21 @@ static bool nrf53_errata_93(void)
#endif
}
+/* ========= Errata 95 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_95_PRESENT 1
+ #else
+ #define NRF53_ERRATA_95_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_95_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_95_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_95_ENABLE_WORKAROUND NRF53_ERRATA_95_PRESENT
+#endif
+
static bool nrf53_errata_95(void)
{
#ifndef NRF53_SERIES
@@ -2555,6 +4016,10 @@ static bool nrf53_errata_95(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2565,6 +4030,22 @@ static bool nrf53_errata_95(void)
#endif
}
+/* ========= Errata 97 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION) || \
+ defined(NRF_NETWORK)
+ #define NRF53_ERRATA_97_PRESENT 1
+ #else
+ #define NRF53_ERRATA_97_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_97_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_97_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_97_ENABLE_WORKAROUND NRF53_ERRATA_97_PRESENT
+#endif
+
static bool nrf53_errata_97(void)
{
#ifndef NRF53_SERIES
@@ -2590,6 +4071,10 @@ static bool nrf53_errata_97(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2600,6 +4085,71 @@ static bool nrf53_errata_97(void)
#endif
}
+/* ========= Errata 99 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_99_PRESENT 1
+ #else
+ #define NRF53_ERRATA_99_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_99_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_99_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_99_ENABLE_WORKAROUND NRF53_ERRATA_99_PRESENT
+#endif
+
+static bool nrf53_errata_99(void)
+{
+ #ifndef NRF53_SERIES
+ return false;
+ #else
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ uint32_t var1 = *(uint32_t *)0x00FF0130ul;
+ uint32_t var2 = *(uint32_t *)0x00FF0134ul;
+ #endif
+ #endif
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined (NRF_APPLICATION)
+ if (var1 == 0x07)
+ {
+ switch(var2)
+ {
+ case 0x02ul:
+ return false;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 103 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_103_PRESENT 1
+ #else
+ #define NRF53_ERRATA_103_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_103_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_103_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_103_ENABLE_WORKAROUND NRF53_ERRATA_103_PRESENT
+#endif
+
static bool nrf53_errata_103(void)
{
#ifndef NRF53_SERIES
@@ -2620,9 +4170,13 @@ static bool nrf53_errata_103(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -2631,6 +4185,21 @@ static bool nrf53_errata_103(void)
#endif
}
+/* ========= Errata 105 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_105_PRESENT 1
+ #else
+ #define NRF53_ERRATA_105_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_105_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_105_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_105_ENABLE_WORKAROUND NRF53_ERRATA_105_PRESENT
+#endif
+
static bool nrf53_errata_105(void)
{
#ifndef NRF53_SERIES
@@ -2652,6 +4221,10 @@ static bool nrf53_errata_105(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2662,6 +4235,21 @@ static bool nrf53_errata_105(void)
#endif
}
+/* ========= Errata 106 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_106_PRESENT 1
+ #else
+ #define NRF53_ERRATA_106_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_106_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_106_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_106_ENABLE_WORKAROUND NRF53_ERRATA_106_PRESENT
+#endif
+
static bool nrf53_errata_106(void)
{
#ifndef NRF53_SERIES
@@ -2683,6 +4271,10 @@ static bool nrf53_errata_106(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2693,6 +4285,71 @@ static bool nrf53_errata_106(void)
#endif
}
+/* ========= Errata 107 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_107_PRESENT 1
+ #else
+ #define NRF53_ERRATA_107_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_107_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_107_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_107_ENABLE_WORKAROUND NRF53_ERRATA_107_PRESENT
+#endif
+
+static bool nrf53_errata_107(void)
+{
+ #ifndef NRF53_SERIES
+ return false;
+ #else
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ uint32_t var1 = *(uint32_t *)0x00FF0130ul;
+ uint32_t var2 = *(uint32_t *)0x00FF0134ul;
+ #endif
+ #endif
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined (NRF_APPLICATION)
+ if (var1 == 0x07)
+ {
+ switch(var2)
+ {
+ case 0x02ul:
+ return false;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
+ default:
+ return false;
+ }
+ }
+ #endif
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 109 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_109_PRESENT 1
+ #else
+ #define NRF53_ERRATA_109_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_109_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_109_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_109_ENABLE_WORKAROUND NRF53_ERRATA_109_PRESENT
+#endif
+
static bool nrf53_errata_109(void)
{
#ifndef NRF53_SERIES
@@ -2714,6 +4371,10 @@ static bool nrf53_errata_109(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2724,6 +4385,21 @@ static bool nrf53_errata_109(void)
#endif
}
+/* ========= Errata 110 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_110_PRESENT 1
+ #else
+ #define NRF53_ERRATA_110_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_110_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_110_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_110_ENABLE_WORKAROUND NRF53_ERRATA_110_PRESENT
+#endif
+
static bool nrf53_errata_110(void)
{
#ifndef NRF53_SERIES
@@ -2745,6 +4421,10 @@ static bool nrf53_errata_110(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2755,6 +4435,71 @@ static bool nrf53_errata_110(void)
#endif
}
+/* ========= Errata 112 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_112_PRESENT 1
+ #else
+ #define NRF53_ERRATA_112_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_112_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_112_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_112_ENABLE_WORKAROUND NRF53_ERRATA_112_PRESENT
+#endif
+
+static bool nrf53_errata_112(void)
+{
+ #ifndef NRF53_SERIES
+ return false;
+ #else
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ uint32_t var1 = *(uint32_t *)0x00FF0130ul;
+ uint32_t var2 = *(uint32_t *)0x00FF0134ul;
+ #endif
+ #endif
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined (NRF_APPLICATION)
+ if (var1 == 0x07)
+ {
+ switch(var2)
+ {
+ case 0x02ul:
+ return false;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 113 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_113_PRESENT 1
+ #else
+ #define NRF53_ERRATA_113_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_113_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_113_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_113_ENABLE_WORKAROUND NRF53_ERRATA_113_PRESENT
+#endif
+
static bool nrf53_errata_113(void)
{
#ifndef NRF53_SERIES
@@ -2775,9 +4520,13 @@ static bool nrf53_errata_113(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
- return false;
+ return true;
}
}
#endif
@@ -2786,6 +4535,21 @@ static bool nrf53_errata_113(void)
#endif
}
+/* ========= Errata 114 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_114_PRESENT 1
+ #else
+ #define NRF53_ERRATA_114_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_114_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_114_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_114_ENABLE_WORKAROUND NRF53_ERRATA_114_PRESENT
+#endif
+
static bool nrf53_errata_114(void)
{
#ifndef NRF53_SERIES
@@ -2807,6 +4571,10 @@ static bool nrf53_errata_114(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2817,6 +4585,21 @@ static bool nrf53_errata_114(void)
#endif
}
+/* ========= Errata 115 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_115_PRESENT 1
+ #else
+ #define NRF53_ERRATA_115_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_115_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_115_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_115_ENABLE_WORKAROUND NRF53_ERRATA_115_PRESENT
+#endif
+
static bool nrf53_errata_115(void)
{
#ifndef NRF53_SERIES
@@ -2838,6 +4621,10 @@ static bool nrf53_errata_115(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2848,6 +4635,21 @@ static bool nrf53_errata_115(void)
#endif
}
+/* ========= Errata 116 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_116_PRESENT 1
+ #else
+ #define NRF53_ERRATA_116_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_116_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_116_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_116_ENABLE_WORKAROUND NRF53_ERRATA_116_PRESENT
+#endif
+
static bool nrf53_errata_116(void)
{
#ifndef NRF53_SERIES
@@ -2869,6 +4671,10 @@ static bool nrf53_errata_116(void)
return true;
case 0x03ul:
return false;
+ case 0x04ul:
+ return false;
+ case 0x05ul:
+ return false;
default:
return false;
}
@@ -2879,6 +4685,71 @@ static bool nrf53_errata_116(void)
#endif
}
+/* ========= Errata 117 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_117_PRESENT 1
+ #else
+ #define NRF53_ERRATA_117_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_117_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_117_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_117_ENABLE_WORKAROUND NRF53_ERRATA_117_PRESENT
+#endif
+
+static bool nrf53_errata_117(void)
+{
+ #ifndef NRF53_SERIES
+ return false;
+ #else
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ uint32_t var1 = *(uint32_t *)0x01FF0130ul;
+ uint32_t var2 = *(uint32_t *)0x01FF0134ul;
+ #endif
+ #endif
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined (NRF_NETWORK)
+ if (var1 == 0x07)
+ {
+ switch(var2)
+ {
+ case 0x02ul:
+ return true;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
+ }
+ }
+ #endif
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 119 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_NETWORK)
+ #define NRF53_ERRATA_119_PRESENT 1
+ #else
+ #define NRF53_ERRATA_119_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_119_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_119_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_119_ENABLE_WORKAROUND NRF53_ERRATA_119_PRESENT
+#endif
+
static bool nrf53_errata_119(void)
{
#ifndef NRF53_SERIES
@@ -2899,9 +4770,63 @@ static bool nrf53_errata_119(void)
case 0x02ul:
return true;
case 0x03ul:
- return false;
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
default:
+ return true;
+ }
+ }
+ #endif
+ #endif
+ return false;
+ #endif
+}
+
+/* ========= Errata 121 ========= */
+#if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ #define NRF53_ERRATA_121_PRESENT 1
+ #else
+ #define NRF53_ERRATA_121_PRESENT 0
+ #endif
+#else
+ #define NRF53_ERRATA_121_PRESENT 0
+#endif
+
+#ifndef NRF53_ERRATA_121_ENABLE_WORKAROUND
+ #define NRF53_ERRATA_121_ENABLE_WORKAROUND NRF53_ERRATA_121_PRESENT
+#endif
+
+static bool nrf53_errata_121(void)
+{
+ #ifndef NRF53_SERIES
+ return false;
+ #else
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined(NRF_APPLICATION)
+ uint32_t var1 = *(uint32_t *)0x00FF0130ul;
+ uint32_t var2 = *(uint32_t *)0x00FF0134ul;
+ #endif
+ #endif
+ #if defined (NRF5340_XXAA) || defined (DEVELOP_IN_NRF5340)
+ #if defined (NRF_APPLICATION)
+ if (var1 == 0x07)
+ {
+ switch(var2)
+ {
+ case 0x02ul:
return false;
+ case 0x03ul:
+ return true;
+ case 0x04ul:
+ return true;
+ case 0x05ul:
+ return true;
+ default:
+ return true;
}
}
#endif
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf9160.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf9160.h
index 5b32d0abd9..1b00430e49 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf9160.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf9160.h
@@ -30,10 +30,10 @@
* @file nrf9160.h
* @brief CMSIS HeaderFile
* @version 1
- * @date 14. August 2020
- * @note Generated by SVDConv V3.3.35 on Friday, 14.08.2020 15:02:15
+ * @date 04. November 2020
+ * @note Generated by SVDConv V3.3.35 on Wednesday, 04.11.2020 13:48:09
* from File 'nrf9160.svd',
- * last modified on Friday, 14.08.2020 13:02:08
+ * last modified on Wednesday, 04.11.2020 12:48:02
*/
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf91_erratas.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf91_erratas.h
index 20ee7cfcc3..4ca11dfb92 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf91_erratas.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/nrf91_erratas.h
@@ -63,6 +63,17 @@ static bool nrf91_errata_31(void) __UNUSED;
static bool nrf91_errata_32(void) __UNUSED;
static bool nrf91_errata_33(void) __UNUSED;
+/* ========= Errata 1 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_1_PRESENT 1
+#else
+ #define NRF91_ERRATA_1_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_1_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_1_ENABLE_WORKAROUND NRF91_ERRATA_1_PRESENT
+#endif
+
static bool nrf91_errata_1(void)
{
#ifndef NRF91_SERIES
@@ -90,6 +101,17 @@ static bool nrf91_errata_1(void)
#endif
}
+/* ========= Errata 2 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_2_PRESENT 1
+#else
+ #define NRF91_ERRATA_2_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_2_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_2_ENABLE_WORKAROUND NRF91_ERRATA_2_PRESENT
+#endif
+
static bool nrf91_errata_2(void)
{
#ifndef NRF91_SERIES
@@ -117,6 +139,17 @@ static bool nrf91_errata_2(void)
#endif
}
+/* ========= Errata 4 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_4_PRESENT 1
+#else
+ #define NRF91_ERRATA_4_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_4_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_4_ENABLE_WORKAROUND NRF91_ERRATA_4_PRESENT
+#endif
+
static bool nrf91_errata_4(void)
{
#ifndef NRF91_SERIES
@@ -144,6 +177,17 @@ static bool nrf91_errata_4(void)
#endif
}
+/* ========= Errata 6 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_6_PRESENT 1
+#else
+ #define NRF91_ERRATA_6_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_6_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_6_ENABLE_WORKAROUND NRF91_ERRATA_6_PRESENT
+#endif
+
static bool nrf91_errata_6(void)
{
#ifndef NRF91_SERIES
@@ -171,6 +215,17 @@ static bool nrf91_errata_6(void)
#endif
}
+/* ========= Errata 7 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_7_PRESENT 1
+#else
+ #define NRF91_ERRATA_7_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_7_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_7_ENABLE_WORKAROUND NRF91_ERRATA_7_PRESENT
+#endif
+
static bool nrf91_errata_7(void)
{
#ifndef NRF91_SERIES
@@ -198,6 +253,17 @@ static bool nrf91_errata_7(void)
#endif
}
+/* ========= Errata 8 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_8_PRESENT 1
+#else
+ #define NRF91_ERRATA_8_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_8_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_8_ENABLE_WORKAROUND NRF91_ERRATA_8_PRESENT
+#endif
+
static bool nrf91_errata_8(void)
{
#ifndef NRF91_SERIES
@@ -225,6 +291,17 @@ static bool nrf91_errata_8(void)
#endif
}
+/* ========= Errata 9 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_9_PRESENT 1
+#else
+ #define NRF91_ERRATA_9_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_9_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_9_ENABLE_WORKAROUND NRF91_ERRATA_9_PRESENT
+#endif
+
static bool nrf91_errata_9(void)
{
#ifndef NRF91_SERIES
@@ -252,6 +329,17 @@ static bool nrf91_errata_9(void)
#endif
}
+/* ========= Errata 10 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_10_PRESENT 1
+#else
+ #define NRF91_ERRATA_10_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_10_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_10_ENABLE_WORKAROUND NRF91_ERRATA_10_PRESENT
+#endif
+
static bool nrf91_errata_10(void)
{
#ifndef NRF91_SERIES
@@ -279,6 +367,17 @@ static bool nrf91_errata_10(void)
#endif
}
+/* ========= Errata 12 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_12_PRESENT 1
+#else
+ #define NRF91_ERRATA_12_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_12_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_12_ENABLE_WORKAROUND NRF91_ERRATA_12_PRESENT
+#endif
+
static bool nrf91_errata_12(void)
{
#ifndef NRF91_SERIES
@@ -306,6 +405,17 @@ static bool nrf91_errata_12(void)
#endif
}
+/* ========= Errata 14 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_14_PRESENT 1
+#else
+ #define NRF91_ERRATA_14_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_14_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_14_ENABLE_WORKAROUND NRF91_ERRATA_14_PRESENT
+#endif
+
static bool nrf91_errata_14(void)
{
#ifndef NRF91_SERIES
@@ -333,6 +443,17 @@ static bool nrf91_errata_14(void)
#endif
}
+/* ========= Errata 15 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_15_PRESENT 1
+#else
+ #define NRF91_ERRATA_15_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_15_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_15_ENABLE_WORKAROUND NRF91_ERRATA_15_PRESENT
+#endif
+
static bool nrf91_errata_15(void)
{
#ifndef NRF91_SERIES
@@ -360,6 +481,17 @@ static bool nrf91_errata_15(void)
#endif
}
+/* ========= Errata 16 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_16_PRESENT 1
+#else
+ #define NRF91_ERRATA_16_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_16_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_16_ENABLE_WORKAROUND NRF91_ERRATA_16_PRESENT
+#endif
+
static bool nrf91_errata_16(void)
{
#ifndef NRF91_SERIES
@@ -387,6 +519,17 @@ static bool nrf91_errata_16(void)
#endif
}
+/* ========= Errata 17 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_17_PRESENT 1
+#else
+ #define NRF91_ERRATA_17_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_17_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_17_ENABLE_WORKAROUND NRF91_ERRATA_17_PRESENT
+#endif
+
static bool nrf91_errata_17(void)
{
#ifndef NRF91_SERIES
@@ -414,6 +557,17 @@ static bool nrf91_errata_17(void)
#endif
}
+/* ========= Errata 20 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_20_PRESENT 1
+#else
+ #define NRF91_ERRATA_20_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_20_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_20_ENABLE_WORKAROUND NRF91_ERRATA_20_PRESENT
+#endif
+
static bool nrf91_errata_20(void)
{
#ifndef NRF91_SERIES
@@ -441,6 +595,17 @@ static bool nrf91_errata_20(void)
#endif
}
+/* ========= Errata 21 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_21_PRESENT 1
+#else
+ #define NRF91_ERRATA_21_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_21_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_21_ENABLE_WORKAROUND NRF91_ERRATA_21_PRESENT
+#endif
+
static bool nrf91_errata_21(void)
{
#ifndef NRF91_SERIES
@@ -468,6 +633,17 @@ static bool nrf91_errata_21(void)
#endif
}
+/* ========= Errata 23 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_23_PRESENT 1
+#else
+ #define NRF91_ERRATA_23_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_23_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_23_ENABLE_WORKAROUND NRF91_ERRATA_23_PRESENT
+#endif
+
static bool nrf91_errata_23(void)
{
#ifndef NRF91_SERIES
@@ -495,6 +671,17 @@ static bool nrf91_errata_23(void)
#endif
}
+/* ========= Errata 24 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_24_PRESENT 1
+#else
+ #define NRF91_ERRATA_24_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_24_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_24_ENABLE_WORKAROUND NRF91_ERRATA_24_PRESENT
+#endif
+
static bool nrf91_errata_24(void)
{
#ifndef NRF91_SERIES
@@ -522,6 +709,17 @@ static bool nrf91_errata_24(void)
#endif
}
+/* ========= Errata 26 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_26_PRESENT 1
+#else
+ #define NRF91_ERRATA_26_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_26_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_26_ENABLE_WORKAROUND NRF91_ERRATA_26_PRESENT
+#endif
+
static bool nrf91_errata_26(void)
{
#ifndef NRF91_SERIES
@@ -549,6 +747,17 @@ static bool nrf91_errata_26(void)
#endif
}
+/* ========= Errata 27 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_27_PRESENT 1
+#else
+ #define NRF91_ERRATA_27_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_27_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_27_ENABLE_WORKAROUND NRF91_ERRATA_27_PRESENT
+#endif
+
static bool nrf91_errata_27(void)
{
#ifndef NRF91_SERIES
@@ -576,6 +785,17 @@ static bool nrf91_errata_27(void)
#endif
}
+/* ========= Errata 28 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_28_PRESENT 1
+#else
+ #define NRF91_ERRATA_28_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_28_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_28_ENABLE_WORKAROUND NRF91_ERRATA_28_PRESENT
+#endif
+
static bool nrf91_errata_28(void)
{
#ifndef NRF91_SERIES
@@ -603,6 +823,17 @@ static bool nrf91_errata_28(void)
#endif
}
+/* ========= Errata 29 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_29_PRESENT 1
+#else
+ #define NRF91_ERRATA_29_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_29_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_29_ENABLE_WORKAROUND NRF91_ERRATA_29_PRESENT
+#endif
+
static bool nrf91_errata_29(void)
{
#ifndef NRF91_SERIES
@@ -630,6 +861,17 @@ static bool nrf91_errata_29(void)
#endif
}
+/* ========= Errata 30 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_30_PRESENT 1
+#else
+ #define NRF91_ERRATA_30_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_30_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_30_ENABLE_WORKAROUND NRF91_ERRATA_30_PRESENT
+#endif
+
static bool nrf91_errata_30(void)
{
#ifndef NRF91_SERIES
@@ -657,6 +899,17 @@ static bool nrf91_errata_30(void)
#endif
}
+/* ========= Errata 31 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_31_PRESENT 1
+#else
+ #define NRF91_ERRATA_31_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_31_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_31_ENABLE_WORKAROUND NRF91_ERRATA_31_PRESENT
+#endif
+
static bool nrf91_errata_31(void)
{
#ifndef NRF91_SERIES
@@ -684,6 +937,17 @@ static bool nrf91_errata_31(void)
#endif
}
+/* ========= Errata 32 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_32_PRESENT 1
+#else
+ #define NRF91_ERRATA_32_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_32_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_32_ENABLE_WORKAROUND NRF91_ERRATA_32_PRESENT
+#endif
+
static bool nrf91_errata_32(void)
{
#ifndef NRF91_SERIES
@@ -711,6 +975,17 @@ static bool nrf91_errata_32(void)
#endif
}
+/* ========= Errata 33 ========= */
+#if defined (NRF9160_XXAA) || defined (DEVELOP_IN_NRF9160)
+ #define NRF91_ERRATA_33_PRESENT 1
+#else
+ #define NRF91_ERRATA_33_PRESENT 0
+#endif
+
+#ifndef NRF91_ERRATA_33_ENABLE_WORKAROUND
+ #define NRF91_ERRATA_33_ENABLE_WORKAROUND NRF91_ERRATA_33_PRESENT
+#endif
+
static bool nrf91_errata_33(void)
{
#ifndef NRF91_SERIES
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c
index 025c8dc84f..1f45282f86 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c
@@ -28,6 +28,7 @@ NOTICE: This file has been modified by Nordic Semiconductor ASA.
#include "nrf.h"
#include "nrf_erratas.h"
#include "system_nrf5340_application.h"
+#include "system_nrf53_approtect.h"
/*lint ++flb "Enter library region" */
@@ -228,6 +229,10 @@ void SystemInit(void)
/* Allow Non-Secure code to run FPU instructions.
* If only the secure code should control FPU power state these registers should be configured accordingly in the secure application code. */
SCB->NSACR |= (3UL << 10);
+
+ /* Handle fw-branch APPROTECT setup. */
+ nrf53_handle_approtect();
+
#endif
/* Enable the FPU if the compiler used floating point unit instructions. __FPU_USED is a MACRO defined by the
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf53_approtect.h b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf53_approtect.h
new file mode 100644
index 0000000000..7f6db0c946
--- /dev/null
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf53_approtect.h
@@ -0,0 +1,94 @@
+/*
+
+Copyright (c) 2009-2020 ARM Limited. All rights reserved.
+
+ SPDX-License-Identifier: Apache-2.0
+
+Licensed under the Apache License, Version 2.0 (the License); you may
+not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an AS IS BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+NOTICE: This file has been modified by Nordic Semiconductor ASA.
+
+*/
+
+#ifndef SYSTEM_NRF53_APPROTECT_H
+#define SYSTEM_NRF53_APPROTECT_H
+
+#include "nrf.h"
+#include "nrf_erratas.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Function that handles firmware-driven enabling or disabling of APPROTECT on devices where it is supported.
+ If ENABLE_APPROTECT is defined, the FW will lock the fw branch of the APPROTECT mechanism,
+ preventing it from being opened.
+ If ENABLE_APPROTECT_USER_HANDLING is defined, the FW will not write to the fw branch of the APPROTECT mechanism.
+ This allows later stages of the fw to handle APPROTECT,
+ for example to implement authenticated debug.
+ Otherwise, the fw branch state is loaded from UICR.
+
+ The same mechanism is implemented for SECURE APPROTECT, with the macros
+ ENABLE_SECURE_APPROTECT and ENABLE_SECURE_APPROTECT_USER_HANDLING. */
+
+static inline void nrf53_handle_approtect(void)
+{
+ #if defined(NRF_APPLICATION)
+ #if defined (ENABLE_APPROTECT)
+ /* Prevent processor from unlocking APPROTECT soft branch after this point. */
+ NRF_CTRLAP_S->APPROTECT.LOCK = NRF_CTRLAP_S_APPROTECT_LOCK_LOCK_Locked;
+
+ #elif defined (ENABLE_APPROTECT_USER_HANDLING)
+ /* Do nothing, allow user code to handle APPROTECT. Use this if you want to enable authenticated debug. */
+
+ #else
+ /* Load APPROTECT soft branch from UICR.
+ If UICR->APPROTECT is disabled, CTRLAP->APPROTECT will be disabled. */
+ NRF_CTRLAP_S->APPROTECT.DISABLE = NRF_UICR_S->APPROTECT;
+ #endif
+
+ /* Secure APPROTECT is only available for Application core. */
+ #if defined (ENABLE_SECURE_APPROTECT)
+ /* Prevent processor from unlocking SECURE APPROTECT soft branch after this point. */
+ NRF_CTRLAP_S->SECUREAPPROTECT.LOCK = NRF_CTRLAP_S_SECUREAPPROTECT_LOCK_LOCK_Locked;
+
+ #elif defined (ENABLE_SECURE_APPROTECT_USER_HANDLING)
+ /* Do nothing, allow user code to handle SECURE APPROTECT. Use this if you want to enable authenticated debug. */
+
+ #else
+ /* Load SECURE APPROTECT soft branch from UICR.
+ If UICR->SECUREAPPROTECT is disabled, CTRLAP->SECUREAPPROTECT will be disabled. */
+ NRF_CTRLAP_S->SECUREAPPROTECT.DISABLE = NRF_UICR_S->SECUREAPPROTECT;
+ #endif
+ #endif
+ #if defined(NRF_NETWORK)
+ #if defined (ENABLE_APPROTECT)
+ /* Prevent processor from unlocking APPROTECT soft branch after this point. */
+ NRF_CTRLAP_NS->APPROTECT.LOCK = NRF_CTRLAP_NS_APPROTECT_LOCK_LOCK_Locked;
+
+ #elif defined (ENABLE_APPROTECT_USER_HANDLING)
+ /* Do nothing, allow user code to handle APPROTECT. Use this if you want to enable authenticated debug. */
+
+ #else
+ /* Load APPROTECT soft branch from UICR.
+ If UICR->APPROTECT is disabled, CTRLAP->APPROTECT will be disabled. */
+ NRF_CTRLAP_NS->APPROTECT.DISABLE = NRF_UICR_NS->APPROTECT;
+ #endif
+ #endif
+}
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* SYSTEM_NRF5_APPROTECT_H */
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/nrfx.h b/platform/ext/target/nordic_nrf/common/core/nrfx/nrfx.h
index ed74bc57b1..9783e11a71 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx/nrfx.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx/nrfx.h
@@ -34,8 +34,8 @@
#include <nrfx_config.h>
#include <drivers/nrfx_common.h>
-#include <hal/nrf_common.h>
#include <nrfx_glue.h>
+#include <hal/nrf_common.h>
#include <drivers/nrfx_errors.h>
#endif // NRFX_H__
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf5340_application.h b/platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf5340_application.h
index 348163d738..a48cc77870 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf5340_application.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf5340_application.h
@@ -170,6 +170,7 @@
#define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0
#endif
+
// <o> NRFX_CLOCK_CONFIG_HFCLK192M_SRC - HFCLK192M source.
// <0=> HFINT
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf9160.h b/platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf9160.h
index 1f6744b3cf..89a614c405 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf9160.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx_config_nrf9160.h
@@ -141,6 +141,7 @@
#define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0
#endif
+
// <o> NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
// <0=> 0 (highest)
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx_glue.h b/platform/ext/target/nordic_nrf/common/core/nrfx_glue.h
index 9ce670dc42..e8b5f63278 100644
--- a/platform/ext/target/nordic_nrf/common/core/nrfx_glue.h
+++ b/platform/ext/target/nordic_nrf/common/core/nrfx_glue.h
@@ -243,22 +243,25 @@ void nrfx_critical_section_exit(void);
//------------------------------------------------------------------------------
/** @brief Bitmask that defines DPPI channels that are reserved for use outside of the nrfx library. */
-#define NRFX_DPPI_CHANNELS_USED 0
+#define NRFX_DPPI_CHANNELS_USED 0
/** @brief Bitmask that defines DPPI groups that are reserved for use outside of the nrfx library. */
-#define NRFX_DPPI_GROUPS_USED 0
+#define NRFX_DPPI_GROUPS_USED 0
/** @brief Bitmask that defines PPI channels that are reserved for use outside of the nrfx library. */
-#define NRFX_PPI_CHANNELS_USED 0
+#define NRFX_PPI_CHANNELS_USED 0
/** @brief Bitmask that defines PPI groups that are reserved for use outside of the nrfx library. */
-#define NRFX_PPI_GROUPS_USED 0
+#define NRFX_PPI_GROUPS_USED 0
+
+/** @brief Bitmask that defines GPIOTE channels that are reserved for use outside of the nrfx library. */
+#define NRFX_GPIOTE_CHANNELS_USED 0
/** @brief Bitmask that defines EGU instances that are reserved for use outside of the nrfx library. */
-#define NRFX_EGUS_USED 0
+#define NRFX_EGUS_USED 0
/** @brief Bitmask that defines TIMER instances that are reserved for use outside of the nrfx library. */
-#define NRFX_TIMERS_USED 0
+#define NRFX_TIMERS_USED 0
/** @} */