aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld.h8
-rw-r--r--os/hal/platforms/STM32F4xx/hal_lld.h8
-rw-r--r--os/hal/platforms/STM32L1xx/hal_lld.h8
3 files changed, 12 insertions, 12 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld.h b/os/hal/platforms/STM32F1xx/hal_lld.h
index a4ccd3118..b1ba1a5ed 100644
--- a/os/hal/platforms/STM32F1xx/hal_lld.h
+++ b/os/hal/platforms/STM32F1xx/hal_lld.h
@@ -45,10 +45,6 @@
#include "stm32f10x.h"
-/* STM32 DMA and RCC helpers.*/
-#include "stm32_dma.h"
-#include "stm32_rcc.h"
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
@@ -155,6 +151,10 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
+/* STM32 DMA and RCC helpers.*/
+#include "stm32_dma.h"
+#include "stm32_rcc.h"
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/os/hal/platforms/STM32F4xx/hal_lld.h b/os/hal/platforms/STM32F4xx/hal_lld.h
index bdb8cb86b..29018e86f 100644
--- a/os/hal/platforms/STM32F4xx/hal_lld.h
+++ b/os/hal/platforms/STM32F4xx/hal_lld.h
@@ -40,10 +40,6 @@
#include "stm32f4xx.h"
-/* STM32 DMA and RCC helpers.*/
-#include "stm32_dma.h"
-#include "stm32_rcc.h"
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
@@ -1344,6 +1340,10 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
+/* STM32 DMA and RCC helpers.*/
+#include "stm32_dma.h"
+#include "stm32_rcc.h"
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/os/hal/platforms/STM32L1xx/hal_lld.h b/os/hal/platforms/STM32L1xx/hal_lld.h
index b6b0060d6..fe2909536 100644
--- a/os/hal/platforms/STM32L1xx/hal_lld.h
+++ b/os/hal/platforms/STM32L1xx/hal_lld.h
@@ -39,10 +39,6 @@
#include "stm32l1xx.h"
-/* STM32 DMA and RCC helpers.*/
-#include "stm32_dma.h"
-#include "stm32_rcc.h"
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
@@ -1009,6 +1005,10 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
+/* STM32 DMA and RCC helpers.*/
+#include "stm32_dma.h"
+#include "stm32_rcc.h"
+
#ifdef __cplusplus
extern "C" {
#endif