aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-02 09:05:14 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-02 09:05:14 +0000
commitbcdc4801e911c05664cd1a65102346759a2fb9e3 (patch)
treefbffc4772b910de8cea0ed0c488512920bf91878 /os/hal/ports/STM32
parent7e5818b4492e831cdb1d1c2c5ff5c8a72b090e99 (diff)
downloadChibiOS-bcdc4801e911c05664cd1a65102346759a2fb9e3.tar.gz
ChibiOS-bcdc4801e911c05664cd1a65102346759a2fb9e3.tar.bz2
ChibiOS-bcdc4801e911c05664cd1a65102346759a2fb9e3.zip
Updated header guards for STM32 files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9212 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r--os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h6
-rw-r--r--os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h6
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h6
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h6
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/stm32_usb.h6
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_isr.h6
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_registry.h6
-rw-r--r--os/hal/ports/STM32/STM32F1xx/stm32_isr.h6
-rw-r--r--os/hal/ports/STM32/STM32F1xx/stm32_registry.h6
-rw-r--r--os/hal/ports/STM32/STM32F37x/stm32_isr.h6
-rw-r--r--os/hal/ports/STM32/STM32F37x/stm32_registry.h6
-rw-r--r--os/hal/ports/STM32/STM32F3xx/stm32_isr.h6
-rw-r--r--os/hal/ports/STM32/STM32F3xx/stm32_registry.h6
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_isr.h6
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h6
-rw-r--r--os/hal/ports/STM32/STM32F7xx/stm32_registry.h6
-rw-r--r--os/hal/ports/STM32/STM32L0xx/stm32_registry.h6
-rw-r--r--os/hal/ports/STM32/STM32L1xx/stm32_isr.h6
-rw-r--r--os/hal/ports/STM32/STM32L1xx/stm32_registry.h6
-rw-r--r--os/hal/ports/STM32/STM32L4xx/stm32_registry.h6
20 files changed, 60 insertions, 60 deletions
diff --git a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
index ea23f7e81..da7d20d6e 100644
--- a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
@@ -24,8 +24,8 @@
* @{
*/
-#ifndef _STM32_DMA_H_
-#define _STM32_DMA_H_
+#ifndef STM32_DMA_H
+#define STM32_DMA_H
/*===========================================================================*/
/* Driver constants. */
@@ -475,6 +475,6 @@ extern "C" {
}
#endif
-#endif /* _STM32_DMA_H_ */
+#endif /* STM32_DMA_H */
/** @} */
diff --git a/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
index 85e6ec6e6..ec7c889aa 100644
--- a/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_DMA_H_
-#define _STM32_DMA_H_
+#ifndef STM32_DMA_H
+#define STM32_DMA_H
/*===========================================================================*/
/* Driver constants. */
@@ -671,6 +671,6 @@ extern "C" {
}
#endif
-#endif /* _STM32_DMA_H_ */
+#endif /* STM32_DMA_H */
/** @} */
diff --git a/os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h b/os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h
index bf773d72c..2b848fd63 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h
+++ b/os/hal/ports/STM32/LLD/OTGv1/stm32_otg.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_OTG_H_
-#define _STM32_OTG_H_
+#ifndef STM32_OTG_H
+#define STM32_OTG_H
/**
* @brief Number of the implemented endpoints in OTG_FS.
@@ -924,6 +924,6 @@ typedef struct {
*/
#define OTG_HS ((stm32_otg_t *)OTG_HS_ADDR)
-#endif /* _STM32_OTG_H_ */
+#endif /* STM32_OTG_H */
/** @} */
diff --git a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h b/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
index a9404b56c..af74c0811 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.h
@@ -23,8 +23,8 @@
* @{
*/
-#ifndef _STM32_TIM_H_
-#define _STM32_TIM_H_
+#ifndef STM32_TIM_H
+#define STM32_TIM_H
/*===========================================================================*/
/* Driver constants. */
@@ -445,6 +445,6 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
-#endif /* _STM32_TIM_H_ */
+#endif /* STM32_TIM_H */
/** @} */
diff --git a/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h b/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h
index 362178528..6b1204767 100644
--- a/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h
+++ b/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h
@@ -24,8 +24,8 @@
* @{
*/
-#ifndef _STM32_USB_H_
-#define _STM32_USB_H_
+#ifndef STM32_USB_H
+#define STM32_USB_H
/**
* @brief Number of the available endpoints.
@@ -261,6 +261,6 @@ typedef struct {
(sizeof(stm32_usb_pma_t) / 2) + \
STM32_USBRAM_BASE))
-#endif /* _STM32_USB_H_ */
+#endif /* STM32_USB_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_isr.h b/os/hal/ports/STM32/STM32F0xx/stm32_isr.h
index 5009e8add..c7e9ee2c6 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_isr.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_ISR_H_
-#define _STM32_ISR_H_
+#ifndef STM32_ISR_H
+#define STM32_ISR_H
/*===========================================================================*/
/* Driver constants. */
@@ -113,6 +113,6 @@
/* External declarations. */
/*===========================================================================*/
-#endif /* _STM32_ISR_H_ */
+#endif /* STM32_ISR_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
index 64467a6e1..e7abf8165 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
#if !defined(STM32F0XX) || defined(__DOXYGEN__)
#define STM32F0XX
@@ -2049,6 +2049,6 @@
/** @} */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_isr.h b/os/hal/ports/STM32/STM32F1xx/stm32_isr.h
index fb6790993..e0ea4ec25 100644
--- a/os/hal/ports/STM32/STM32F1xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F1xx/stm32_isr.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_ISR_H_
-#define _STM32_ISR_H_
+#ifndef STM32_ISR_H
+#define STM32_ISR_H
/*===========================================================================*/
/* Driver constants. */
@@ -158,6 +158,6 @@
/* External declarations. */
/*===========================================================================*/
-#endif /* _STM32_ISR_H_ */
+#endif /* STM32_ISR_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
index 5e935c3c8..ed407daaf 100644
--- a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
#if defined(STM32F100xB)
#define STM32F10X_MD_VL
@@ -1331,6 +1331,6 @@
/** @} */
#endif /* defined(STM32F10X_CL) */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F37x/stm32_isr.h b/os/hal/ports/STM32/STM32F37x/stm32_isr.h
index c4b01d111..6e478ed57 100644
--- a/os/hal/ports/STM32/STM32F37x/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F37x/stm32_isr.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_ISR_H_
-#define _STM32_ISR_H_
+#ifndef STM32_ISR_H
+#define STM32_ISR_H
/*===========================================================================*/
/* Driver constants. */
@@ -121,6 +121,6 @@
/* External declarations. */
/*===========================================================================*/
-#endif /* _STM32_ISR_H_ */
+#endif /* STM32_ISR_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F37x/stm32_registry.h b/os/hal/ports/STM32/STM32F37x/stm32_registry.h
index d50ce1bfe..a7301c576 100644
--- a/os/hal/ports/STM32/STM32F37x/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F37x/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
/*===========================================================================*/
/* Platform capabilities. */
@@ -529,6 +529,6 @@
#endif /* defined(STM32F378xx) */
/** @} */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_isr.h b/os/hal/ports/STM32/STM32F3xx/stm32_isr.h
index 03cf95c19..a483c2eee 100644
--- a/os/hal/ports/STM32/STM32F3xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F3xx/stm32_isr.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_ISR_H_
-#define _STM32_ISR_H_
+#ifndef STM32_ISR_H
+#define STM32_ISR_H
/*===========================================================================*/
/* Driver constants. */
@@ -132,6 +132,6 @@
/* External declarations. */
/*===========================================================================*/
-#endif /* _STM32_ISR_H_ */
+#endif /* STM32_ISR_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
index 1f9e5d1c9..3fea891eb 100644
--- a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
/**
* @brief Sub-family identifier.
@@ -2855,6 +2855,6 @@
/** @} */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_isr.h b/os/hal/ports/STM32/STM32F4xx/stm32_isr.h
index 6be46f92f..5c77ed8a4 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_isr.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_ISR_H_
-#define _STM32_ISR_H_
+#ifndef STM32_ISR_H
+#define STM32_ISR_H
/*===========================================================================*/
/* Driver constants. */
@@ -200,6 +200,6 @@
/* External declarations. */
/*===========================================================================*/
-#endif /* _STM32_ISR_H_ */
+#endif /* STM32_ISR_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index 424c45833..68b73d508 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
#if defined(STM32F446xx)
#define STM32F4XX
@@ -1648,6 +1648,6 @@
#endif /* defined(STM32F411xx) */
/** @} */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h
index ccde289bb..de8a14fd4 100644
--- a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
/*===========================================================================*/
/* Platform capabilities. */
@@ -501,6 +501,6 @@
/** @} */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
index ff117bd0e..944052002 100644
--- a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
/*===========================================================================*/
/* Platform capabilities. */
@@ -804,6 +804,6 @@
/** @} */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_isr.h b/os/hal/ports/STM32/STM32L1xx/stm32_isr.h
index dca38f36b..c36a430d2 100644
--- a/os/hal/ports/STM32/STM32L1xx/stm32_isr.h
+++ b/os/hal/ports/STM32/STM32L1xx/stm32_isr.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_ISR_H_
-#define _STM32_ISR_H_
+#ifndef STM32_ISR_H
+#define STM32_ISR_H
/*===========================================================================*/
/* Driver constants. */
@@ -110,6 +110,6 @@
/* External declarations. */
/*===========================================================================*/
-#endif /* _STM32_ISR_H_ */
+#endif /* STM32_ISR_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
index 80f62cb1f..ae29b55b3 100644
--- a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
#if defined(STM32L100xB) || defined(STM32L151xB) || defined(STM32L152xB)
#define STM32L1XX_PROD_CAT 1
@@ -342,6 +342,6 @@
/** @} */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
index a43e18091..107992dd1 100644
--- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _STM32_REGISTRY_H_
-#define _STM32_REGISTRY_H_
+#ifndef STM32_REGISTRY_H
+#define STM32_REGISTRY_H
/*===========================================================================*/
/* Platform capabilities. */
@@ -414,6 +414,6 @@
#define STM32_CRC_PROGRAMMABLE TRUE
/** @} */
-#endif /* _STM32_REGISTRY_H_ */
+#endif /* STM32_REGISTRY_H */
/** @} */