diff --git a/soc/arm/st_stm32/stm32g0/soc.h b/soc/arm/st_stm32/stm32g0/soc.h index 35b32be94d5..9eb60a23271 100644 --- a/soc/arm/st_stm32/stm32g0/soc.h +++ b/soc/arm/st_stm32/stm32g0/soc.h @@ -18,16 +18,12 @@ #ifndef _STM32G0_SOC_H_ #define _STM32G0_SOC_H_ +#include + #ifndef _ASMLANGUAGE #include -/* ARM CMSIS definitions must be included before kernel_includes.h. - * Therefore, it is essential to include kernel_includes.h after including - * core SOC-specific headers. - */ -#include - #include #ifdef CONFIG_CLOCK_CONTROL_STM32_CUBE @@ -52,6 +48,9 @@ #include #endif +/* Add include for DTS generated information */ +#include + #endif /* !_ASMLANGUAGE */ #endif /* _STM32G0_SOC_H_ */