Revert "arch: arm: stm32: correct include issue"

This reverts commit 30529da0e4.

We should include SoC headers from HALs before we include
kernel_includes.h.  On ARM this is needed because we tend to get CMSIS
related defines setup by the HAL headers.

Fixes: #8593

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-06-28 08:59:56 -05:00 committed by Kumar Gala
commit e860775873
2 changed files with 3 additions and 2 deletions

View file

@ -24,9 +24,10 @@
#ifndef _ASMLANGUAGE
#include <kernel_includes.h>
#include <stm32f4xx.h>
#include <kernel_includes.h>
#ifdef CONFIG_CLOCK_CONTROL_STM32_CUBE
#include <stm32f4xx_ll_utils.h>
#include <stm32f4xx_ll_bus.h>

View file

@ -22,8 +22,8 @@
#ifndef _ASMLANGUAGE
#include <autoconf.h>
#include <kernel_includes.h>
#include <stm32l4xx.h>
#include <kernel_includes.h>
#define GPIO_REG_SIZE 0x400
/* base address for where GPIO registers start */