diff --git a/include/logging/log_core.h b/include/logging/log_core.h index c6d896a1c005..dfaebdd5a770 100644 --- a/include/logging/log_core.h +++ b/include/logging/log_core.h @@ -15,6 +15,10 @@ extern "C" { #endif +#if UINTPTR_MAX == 0xFFFFFFFFFFFFFFFFUL +#error "Logger does not support 64 bit architecture." +#endif + #if !CONFIG_LOG #define CONFIG_LOG_DEFAULT_LEVEL 0 #define CONFIG_LOG_DOMAIN_ID 0