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

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

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2018-07-06 13:00:35 +03:00 committed by Kumar Gala
commit 4e26f9c3a6
4 changed files with 24 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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