Commit 4e26f9c3 authored by Yannis Damigos's avatar Yannis Damigos Committed by Kumar Gala
Browse files

arch: stm32f0/f1/f3/l0: remove core zephyr header inclusions



Apply the changes done in commit aee97be7 to F0, F1, F3, L0 series.

Signed-off-by: default avatarYannis Damigos <giannis.damigos@gmail.com>
parent 9a893202
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -24,12 +24,14 @@

#ifndef _ASMLANGUAGE

#include <device.h>
#include <misc/util.h>
#include <random/rand32.h>

#include <stm32f0xx.h>

/* 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 <kernel_includes.h>

#ifdef CONFIG_SERIAL_HAS_DRIVER
#include <stm32f0xx_ll_usart.h>
#endif
+6 −4
Original line number Diff line number Diff line
@@ -24,12 +24,14 @@

#ifndef _ASMLANGUAGE

#include <device.h>
#include <misc/util.h>
#include <random/rand32.h>

#include <stm32f1xx.h>

/* 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 <kernel_includes.h>

#ifdef CONFIG_SERIAL_HAS_DRIVER
#include <stm32f1xx_ll_usart.h>
#endif
+6 −4
Original line number Diff line number Diff line
@@ -25,12 +25,14 @@

#ifndef _ASMLANGUAGE

#include <device.h>
#include <misc/util.h>
#include <random/rand32.h>

#include <stm32f3xx.h>

/* 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 <kernel_includes.h>

#ifdef CONFIG_SERIAL_HAS_DRIVER
#include <stm32f3xx_ll_usart.h>
#endif
+6 −4
Original line number Diff line number Diff line
@@ -23,12 +23,14 @@

#ifndef _ASMLANGUAGE

#include <device.h>
#include <misc/util.h>
#include <random/rand32.h>

#include <stm32l0xx.h>

/* 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 <kernel_includes.h>

#include <stm32l0xx_ll_system.h>

#ifdef CONFIG_SERIAL_HAS_DRIVER