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:
parent
9a8932024a
commit
4e26f9c3a6
4 changed files with 24 additions and 16 deletions
|
@ -24,12 +24,14 @@
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
#include <device.h>
|
|
||||||
#include <misc/util.h>
|
|
||||||
#include <random/rand32.h>
|
|
||||||
|
|
||||||
#include <stm32f0xx.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
|
#ifdef CONFIG_SERIAL_HAS_DRIVER
|
||||||
#include <stm32f0xx_ll_usart.h>
|
#include <stm32f0xx_ll_usart.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,12 +24,14 @@
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
#include <device.h>
|
|
||||||
#include <misc/util.h>
|
|
||||||
#include <random/rand32.h>
|
|
||||||
|
|
||||||
#include <stm32f1xx.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
|
#ifdef CONFIG_SERIAL_HAS_DRIVER
|
||||||
#include <stm32f1xx_ll_usart.h>
|
#include <stm32f1xx_ll_usart.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -25,12 +25,14 @@
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
#include <device.h>
|
|
||||||
#include <misc/util.h>
|
|
||||||
#include <random/rand32.h>
|
|
||||||
|
|
||||||
#include <stm32f3xx.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
|
#ifdef CONFIG_SERIAL_HAS_DRIVER
|
||||||
#include <stm32f3xx_ll_usart.h>
|
#include <stm32f3xx_ll_usart.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -23,12 +23,14 @@
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
#include <device.h>
|
|
||||||
#include <misc/util.h>
|
|
||||||
#include <random/rand32.h>
|
|
||||||
|
|
||||||
#include <stm32l0xx.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>
|
#include <stm32l0xx_ll_system.h>
|
||||||
|
|
||||||
#ifdef CONFIG_SERIAL_HAS_DRIVER
|
#ifdef CONFIG_SERIAL_HAS_DRIVER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue