Skip to content

Commit 511eecd

Browse files
committed
modules: hal_nordic: align errata enable macros to nrfx 4.0
Signed-off-by: Norbert Morawski <norbert.morawski@nordicsemi.no>
1 parent dd517f1 commit 511eecd

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

modules/hal_nordic/nrfx/nrfx_kconfig.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@
498498
#ifdef CONFIG_NRFX_SPIM3
499499
#define NRFX_SPIM3_ENABLED 1
500500
#ifdef CONFIG_NRF52_ANOMALY_198_WORKAROUND
501-
#define NRFX_SPIM3_NRF52840_ANOMALY_198_WORKAROUND_ENABLED 1
501+
#define NRF52_ERRATA_198_ENABLE_WORKAROUND 1
502502
#endif
503503
#endif
504504
#ifdef CONFIG_NRFX_SPIM4
@@ -815,10 +815,10 @@
815815
#define NRFX_TWIM137_ENABLED 1
816816
#endif
817817
#ifdef CONFIG_NRF52_ANOMALY_219_WORKAROUND
818-
#define NRFX_TWIM_NRF52_ANOMALY_219_WORKAROUND_ENABLED 1
818+
#define NRF52_ERRATA_219_ENABLE_WORKAROUND 1
819819
#endif
820820
#ifdef CONFIG_SOC_NRF53_ANOMALY_47_WORKAROUND
821-
#define NRFX_TWIM_NRF53_ANOMALY_47_WORKAROUND_ENABLED 1
821+
#define NRF53_ERRATA_47_ENABLE_WORKAROUND 1
822822
#endif
823823

824824
#ifdef CONFIG_NRFX_TWIS
@@ -1016,10 +1016,7 @@
10161016
#endif
10171017

10181018
#ifdef CONFIG_NRF52_ANOMALY_109_WORKAROUND
1019-
#define NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
1020-
#define NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
1021-
#define NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
1022-
#define NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
1019+
#define NRF52_ERRATA_109_ENABLE_WORKAROUND 1
10231020
#define NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE \
10241021
CONFIG_NRF52_ANOMALY_109_WORKAROUND_EGU_INSTANCE
10251022
#endif

0 commit comments

Comments
 (0)