Updated header guards for STM32 files.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9212 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-04-02 09:05:14 +00:00
parent 7e5818b449
commit bcdc4801e9
20 changed files with 60 additions and 60 deletions

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */