diff --git a/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca53.h b/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca53.h index 2c8a5bc66..b837abdd2 100644 --- a/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca53.h +++ b/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca53.h @@ -95,8 +95,10 @@ * Register Definitions ******************************************************************************/ -#ifndef BIT +#if !defined(BIT) && !defined(__ZEPHYR__) #define BIT(n) (1 << (n)) +#else +#include #endif /* DAIF Register */ diff --git a/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca55.h b/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca55.h index d796e2729..5a81df0ec 100644 --- a/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca55.h +++ b/mcux/mcux-sdk/CMSIS/Core_A/Include/core_ca55.h @@ -95,8 +95,10 @@ * Register Definitions ******************************************************************************/ -#ifndef BIT +#if !defined(BIT) && !defined(__ZEPHYR__) #define BIT(n) (1 << (n)) +#else +#include #endif /* DAIF Register */