aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-01-08 09:12:47 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-01-08 09:12:47 +0000
commitfbc0d4b082178ac1018586f0efa0f3f4160355f8 (patch)
tree9af8cf74677c544167667264c5ad7ce955fc6d90 /os/hal/ports/STM32
parent7761387ba0a0ac206b7e5ab133462c29882b63bd (diff)
downloadChibiOS-fbc0d4b082178ac1018586f0efa0f3f4160355f8.tar.gz
ChibiOS-fbc0d4b082178ac1018586f0efa0f3f4160355f8.tar.bz2
ChibiOS-fbc0d4b082178ac1018586f0efa0f3f4160355f8.zip
Unified MPU handler.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11234 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r--os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h2
-rw-r--r--os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h2
-rw-r--r--os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h1
-rw-r--r--os/hal/ports/STM32/STM32F0xx/hal_lld.h1
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F37x/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F3xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32F7xx/hal_lld.h3
-rw-r--r--os/hal/ports/STM32/STM32H7xx/hal_lld.h3
-rw-r--r--os/hal/ports/STM32/STM32L0xx/hal_lld.h1
-rw-r--r--os/hal/ports/STM32/STM32L1xx/hal_lld.h2
-rw-r--r--os/hal/ports/STM32/STM32L4xx/hal_lld.h2
13 files changed, 18 insertions, 7 deletions
diff --git a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
index ffa438003..6dfd6debf 100644
--- a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
@@ -27,8 +27,6 @@
#ifndef STM32_DMA_H
#define STM32_DMA_H
-#include "cache.h"
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
diff --git a/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
index 112af2e80..e725a2e5d 100644
--- a/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
@@ -25,8 +25,6 @@
#ifndef STM32_DMA_H
#define STM32_DMA_H
-#include "cache.h"
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
diff --git a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h
index f6208f9e8..67f22247b 100644
--- a/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv3/stm32_dma.h
@@ -25,7 +25,6 @@
#ifndef STM32_DMA_H
#define STM32_DMA_H
-#include "cache.h"
#include "stm32_dmamux.h"
/*===========================================================================*/
diff --git a/os/hal/ports/STM32/STM32F0xx/hal_lld.h b/os/hal/ports/STM32/STM32F0xx/hal_lld.h
index aebd833c9..ec20a2c34 100644
--- a/os/hal/ports/STM32/STM32F0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F0xx/hal_lld.h
@@ -972,6 +972,7 @@
/* Various helpers.*/
#include "nvic.h"
+#include "cache.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_rcc.h"
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld.h b/os/hal/ports/STM32/STM32F1xx/hal_lld.h
index 32a63c875..27b829b52 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F1xx/hal_lld.h
@@ -205,6 +205,8 @@
/* Various helpers.*/
#include "nvic.h"
+#include "cache.h"
+#include "mpu_v7m.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_rcc.h"
diff --git a/os/hal/ports/STM32/STM32F37x/hal_lld.h b/os/hal/ports/STM32/STM32F37x/hal_lld.h
index aeb4a1ed4..f7db70cdc 100644
--- a/os/hal/ports/STM32/STM32F37x/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F37x/hal_lld.h
@@ -983,6 +983,8 @@
/* Various helpers.*/
#include "nvic.h"
+#include "cache.h"
+#include "mpu_v7m.h"
#include "stm32_registry.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
diff --git a/os/hal/ports/STM32/STM32F3xx/hal_lld.h b/os/hal/ports/STM32/STM32F3xx/hal_lld.h
index ec6a78eb1..1232ec395 100644
--- a/os/hal/ports/STM32/STM32F3xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F3xx/hal_lld.h
@@ -1144,6 +1144,8 @@
/* Various helpers.*/
#include "nvic.h"
+#include "cache.h"
+#include "mpu_v7m.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_rcc.h"
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.h b/os/hal/ports/STM32/STM32F4xx/hal_lld.h
index e9ce800b4..12356cbf3 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.h
@@ -1990,6 +1990,8 @@
/* Various helpers.*/
#include "nvic.h"
+#include "cache.h"
+#include "mpu_v7m.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_rcc.h"
diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.h b/os/hal/ports/STM32/STM32F7xx/hal_lld.h
index 66142d435..d84e2333f 100644
--- a/os/hal/ports/STM32/STM32F7xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.h
@@ -2037,7 +2037,8 @@
/* Various helpers.*/
#include "nvic.h"
-#include "mpu.h"
+#include "cache.h"
+#include "mpu_v7m.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_rcc.h"
diff --git a/os/hal/ports/STM32/STM32H7xx/hal_lld.h b/os/hal/ports/STM32/STM32H7xx/hal_lld.h
index 78cc6b7fc..7217a579f 100644
--- a/os/hal/ports/STM32/STM32H7xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32H7xx/hal_lld.h
@@ -2874,7 +2874,8 @@
/* Various helpers.*/
#include "nvic.h"
-#include "mpu.h"
+#include "cache.h"
+#include "mpu_v7m.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_bdma.h"
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.h b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
index 46b104218..6811ef313 100644
--- a/os/hal/ports/STM32/STM32L0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
@@ -1188,6 +1188,7 @@
/* Various helpers.*/
#include "nvic.h"
+#include "cache.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_rcc.h"
diff --git a/os/hal/ports/STM32/STM32L1xx/hal_lld.h b/os/hal/ports/STM32/STM32L1xx/hal_lld.h
index f4d47278d..7c7dfce0b 100644
--- a/os/hal/ports/STM32/STM32L1xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L1xx/hal_lld.h
@@ -841,6 +841,8 @@
/* Various helpers.*/
#include "nvic.h"
+#include "cache.h"
+#include "mpu_v7m.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_rcc.h"
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.h b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
index 35a05e743..14232e090 100644
--- a/os/hal/ports/STM32/STM32L4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
@@ -2175,6 +2175,8 @@
/* Various helpers.*/
#include "nvic.h"
+#include "cache.h"
+#include "mpu_v7m.h"
#include "stm32_isr.h"
#include "stm32_dma.h"
#include "stm32_rcc.h"