aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/hal.h6
-rw-r--r--os/hal/include/hal_adc.h6
-rw-r--r--os/hal/include/hal_buffers.h6
-rw-r--r--os/hal/include/hal_can.h6
-rw-r--r--os/hal/include/hal_channels.h6
-rw-r--r--os/hal/include/hal_dac.h6
-rw-r--r--os/hal/include/hal_ext.h6
-rw-r--r--os/hal/include/hal_files.h6
-rw-r--r--os/hal/include/hal_gpt.h6
-rw-r--r--os/hal/include/hal_i2c.h6
-rw-r--r--os/hal/include/hal_i2s.h6
-rw-r--r--os/hal/include/hal_icu.h6
-rw-r--r--os/hal/include/hal_ioblock.h6
-rw-r--r--os/hal/include/hal_mac.h6
-rw-r--r--os/hal/include/hal_mmc_spi.h6
-rw-r--r--os/hal/include/hal_mmcsd.h6
-rw-r--r--os/hal/include/hal_pal.h6
-rw-r--r--os/hal/include/hal_pwm.h6
-rw-r--r--os/hal/include/hal_queues.h6
-rw-r--r--os/hal/include/hal_rtc.h6
-rw-r--r--os/hal/include/hal_sdc.h6
-rw-r--r--os/hal/include/hal_serial.h6
-rw-r--r--os/hal/include/hal_serial_usb.h6
-rw-r--r--os/hal/include/hal_spi.h6
-rw-r--r--os/hal/include/hal_st.h6
-rw-r--r--os/hal/include/hal_streams.h6
-rw-r--r--os/hal/include/hal_uart.h6
-rw-r--r--os/hal/include/hal_usb.h6
-rw-r--r--os/hal/include/hal_wdg.h6
-rw-r--r--os/hal/include/mii.h6
-rw-r--r--os/hal/include/usb_cdc.h6
31 files changed, 93 insertions, 93 deletions
diff --git a/os/hal/include/hal.h b/os/hal/include/hal.h
index ba7c2c591..876bd2b8a 100644
--- a/os/hal/include/hal.h
+++ b/os/hal/include/hal.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _HAL_H_
-#define _HAL_H_
+#ifndef HAL_H
+#define HAL_H
#include "osal.h"
#include "board.h"
@@ -156,6 +156,6 @@ extern "C" {
}
#endif
-#endif /* _HAL_H_ */
+#endif /* HAL_H */
/** @} */
diff --git a/os/hal/include/hal_adc.h b/os/hal/include/hal_adc.h
index 142ddfda7..5042d3338 100644
--- a/os/hal/include/hal_adc.h
+++ b/os/hal/include/hal_adc.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _ADC_H_
-#define _ADC_H_
+#ifndef HAL_ADC_H
+#define HAL_ADC_H
#if (HAL_USE_ADC == TRUE) || defined(__DOXYGEN__)
@@ -273,6 +273,6 @@ extern "C" {
#endif /* HAL_USE_ADC == TRUE */
-#endif /* _ADC_H_ */
+#endif /* HAL_ADC_H */
/** @} */
diff --git a/os/hal/include/hal_buffers.h b/os/hal/include/hal_buffers.h
index a7bc3a1db..21835b260 100644
--- a/os/hal/include/hal_buffers.h
+++ b/os/hal/include/hal_buffers.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _HAL_BUFFERS_H_
-#define _HAL_BUFFERS_H_
+#ifndef HAL_BUFFERS_H
+#define HAL_BUFFERS_H
/*===========================================================================*/
/* Driver constants. */
@@ -270,6 +270,6 @@ extern "C" {
}
#endif
-#endif /* _HAL_BUFFERS_H_ */
+#endif /* HAL_BUFFERS_H */
/** @} */
diff --git a/os/hal/include/hal_can.h b/os/hal/include/hal_can.h
index 9947b9960..83c647522 100644
--- a/os/hal/include/hal_can.h
+++ b/os/hal/include/hal_can.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _CAN_H_
-#define _CAN_H_
+#ifndef HAL_CAN_H
+#define HAL_CAN_H
#if (HAL_USE_CAN == TRUE) || defined(__DOXYGEN__)
@@ -151,6 +151,6 @@ extern "C" {
#endif /* HAL_USE_CAN == TRUE */
-#endif /* _CAN_H_ */
+#endif /* HAL_CAN_H */
/** @} */
diff --git a/os/hal/include/hal_channels.h b/os/hal/include/hal_channels.h
index 480634b34..ab1ac314a 100644
--- a/os/hal/include/hal_channels.h
+++ b/os/hal/include/hal_channels.h
@@ -33,8 +33,8 @@
* @{
*/
-#ifndef _HAL_CHANNELS_H_
-#define _HAL_CHANNELS_H_
+#ifndef HAL_CHANNELS_H
+#define HAL_CHANNELS_H
/**
* @brief @p BaseChannel specific methods.
@@ -282,6 +282,6 @@ typedef struct {
}
/** @} */
-#endif /* _HAL_CHANNELS_H_ */
+#endif /* HAL_CHANNELS_H */
/** @} */
diff --git a/os/hal/include/hal_dac.h b/os/hal/include/hal_dac.h
index 19325b61d..cc76c9708 100644
--- a/os/hal/include/hal_dac.h
+++ b/os/hal/include/hal_dac.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _DAC_H_
-#define _DAC_H_
+#ifndef HAL_DAC_H
+#define HAL_DAC_H
#if (HAL_USE_DAC == TRUE) || defined(__DOXYGEN__)
@@ -262,6 +262,6 @@ extern "C" {
#endif /* HAL_USE_DAC == TRUE */
-#endif /* _DAC_H_ */
+#endif /* HAL_DAC_H */
/** @} */
diff --git a/os/hal/include/hal_ext.h b/os/hal/include/hal_ext.h
index 282178e79..64721b8ae 100644
--- a/os/hal/include/hal_ext.h
+++ b/os/hal/include/hal_ext.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _EXT_H_
-#define _EXT_H_
+#ifndef HAL_EXT_H
+#define HAL_EXT_H
#if (HAL_USE_EXT == TRUE) || defined(__DOXYGEN__)
@@ -145,6 +145,6 @@ extern "C" {
#endif /* HAL_USE_EXT == TRUE */
-#endif /* _EXT_H_ */
+#endif /* HAL_EXT_H */
/** @} */
diff --git a/os/hal/include/hal_files.h b/os/hal/include/hal_files.h
index ea8ec487d..344023070 100644
--- a/os/hal/include/hal_files.h
+++ b/os/hal/include/hal_files.h
@@ -32,8 +32,8 @@
* @{
*/
-#ifndef _HAL_FILES_H_
-#define _HAL_FILES_H_
+#ifndef HAL_FILES_H
+#define HAL_FILES_H
/**
* @name Files return codes
@@ -233,6 +233,6 @@ typedef struct {
#define fileStreamSeek(ip, offset) ((ip)->vmt->lseek(ip, offset))
/** @} */
-#endif /* _HAL_FILES_H_ */
+#endif /* HAL_FILES_H */
/** @} */
diff --git a/os/hal/include/hal_gpt.h b/os/hal/include/hal_gpt.h
index 38e906bd3..72294b2df 100644
--- a/os/hal/include/hal_gpt.h
+++ b/os/hal/include/hal_gpt.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _GPT_H_
-#define _GPT_H_
+#ifndef HAL_GPT_H
+#define HAL_GPT_H
#if (HAL_USE_GPT == TRUE) || defined(__DOXYGEN__)
@@ -136,6 +136,6 @@ extern "C" {
#endif /* HAL_USE_GPT == TRUE */
-#endif /* _GPT_H_ */
+#endif /* HAL_GPT_H */
/** @} */
diff --git a/os/hal/include/hal_i2c.h b/os/hal/include/hal_i2c.h
index fb8cabad7..59d79b2dd 100644
--- a/os/hal/include/hal_i2c.h
+++ b/os/hal/include/hal_i2c.h
@@ -26,8 +26,8 @@
* @{
*/
-#ifndef _I2C_H_
-#define _I2C_H_
+#ifndef HAL_I2C_H
+#define HAL_I2C_H
#if (HAL_USE_I2C == TRUE) || defined(__DOXYGEN__)
@@ -161,6 +161,6 @@ extern "C" {
#endif /* HAL_USE_I2C == TRUE */
-#endif /* _I2C_H_ */
+#endif /* HAL_I2C_H */
/** @} */
diff --git a/os/hal/include/hal_i2s.h b/os/hal/include/hal_i2s.h
index a759b8455..8c452337d 100644
--- a/os/hal/include/hal_i2s.h
+++ b/os/hal/include/hal_i2s.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _I2S_H_
-#define _I2S_H_
+#ifndef HAL_I2S_H
+#define HAL_I2S_H
#if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__)
@@ -162,6 +162,6 @@ extern "C" {
#endif /* HAL_USE_I2S == TRUE */
-#endif /* _I2S_H_ */
+#endif /* HAL_I2S_H */
/** @} */
diff --git a/os/hal/include/hal_icu.h b/os/hal/include/hal_icu.h
index 262b646fd..6443a3025 100644
--- a/os/hal/include/hal_icu.h
+++ b/os/hal/include/hal_icu.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _ICU_H_
-#define _ICU_H_
+#ifndef HAL_ICU_H
+#define HAL_ICU_H
#if (HAL_USE_ICU == TRUE) || defined(__DOXYGEN__)
@@ -233,6 +233,6 @@ extern "C" {
#endif /* HAL_USE_ICU == TRUE */
-#endif /* _ICU_H_ */
+#endif /* HAL_ICU_H */
/** @} */
diff --git a/os/hal/include/hal_ioblock.h b/os/hal/include/hal_ioblock.h
index b16062a2c..e942cf1c9 100644
--- a/os/hal/include/hal_ioblock.h
+++ b/os/hal/include/hal_ioblock.h
@@ -31,8 +31,8 @@
* @{
*/
-#ifndef _HAL_IOBLOCK_H_
-#define _HAL_IOBLOCK_H_
+#ifndef HAL_IOBLOCK_H
+#define HAL_IOBLOCK_H
/**
* @brief Driver state machine possible states.
@@ -260,6 +260,6 @@ typedef struct {
/** @} */
-#endif /* _HAL_IOBLOCK_H_ */
+#endif /* HAL_IOBLOCK_H */
/** @} */
diff --git a/os/hal/include/hal_mac.h b/os/hal/include/hal_mac.h
index b5c49d01c..f87270ceb 100644
--- a/os/hal/include/hal_mac.h
+++ b/os/hal/include/hal_mac.h
@@ -21,8 +21,8 @@
* @{
*/
-#ifndef _MAC_H_
-#define _MAC_H_
+#ifndef HAL_MAC_H
+#define HAL_MAC_H
#if (HAL_USE_MAC == TRUE) || defined(__DOXYGEN__)
@@ -199,6 +199,6 @@ extern "C" {
#endif /* HAL_USE_MAC == TRUE */
-#endif /* _MAC_H_ */
+#endif /* HAL_MAC_H */
/** @} */
diff --git a/os/hal/include/hal_mmc_spi.h b/os/hal/include/hal_mmc_spi.h
index 7c9a60cae..b3510fdf9 100644
--- a/os/hal/include/hal_mmc_spi.h
+++ b/os/hal/include/hal_mmc_spi.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _MMC_SPI_H_
-#define _MMC_SPI_H_
+#ifndef HAL_MMC_SPI_H
+#define HAL_MMC_SPI_H
#if (HAL_USE_MMC_SPI == TRUE) || defined(__DOXYGEN__)
@@ -190,6 +190,6 @@ extern "C" {
#endif /* HAL_USE_MMC_SPI == TRUE */
-#endif /* _MMC_SPI_H_ */
+#endif /* HAL_MMC_SPI_H */
/** @} */
diff --git a/os/hal/include/hal_mmcsd.h b/os/hal/include/hal_mmcsd.h
index 321e306de..f2e7d88d5 100644
--- a/os/hal/include/hal_mmcsd.h
+++ b/os/hal/include/hal_mmcsd.h
@@ -24,8 +24,8 @@
* @{
*/
-#ifndef _HAL_MMCSD_H_
-#define _HAL_MMCSD_H_
+#ifndef HAL_MMCSD_H
+#define HAL_MMCSD_H
#if (HAL_USE_MMC_SPI == TRUE) || (HAL_USE_SDC == TRUE) || defined(__DOXYGEN__)
@@ -493,6 +493,6 @@ extern "C" {
#endif /* HAL_USE_MMC_SPI == TRUE || HAL_USE_MMC_SDC == TRUE */
-#endif /* _HAL_MMCSD_H_ */
+#endif /* HAL_MMCSD_H */
/** @} */
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index df22f3e94..93b843533 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _PAL_H_
-#define _PAL_H_
+#ifndef HAL_PAL_H
+#define HAL_PAL_H
#if (HAL_USE_PAL == TRUE) || defined(__DOXYGEN__)
@@ -635,7 +635,7 @@ extern "C" {
}
#endif
-#endif /* _PAL_H_ */
+#endif /* HAL_PAL_H */
#endif /* HAL_USE_PAL == TRUE */
diff --git a/os/hal/include/hal_pwm.h b/os/hal/include/hal_pwm.h
index 5704b40bc..b82aac580 100644
--- a/os/hal/include/hal_pwm.h
+++ b/os/hal/include/hal_pwm.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _PWM_H_
-#define _PWM_H_
+#ifndef HAL_PWM_H
+#define HAL_PWM_H
#if (HAL_USE_PWM == TRUE) || defined(__DOXYGEN__)
@@ -303,6 +303,6 @@ extern "C" {
#endif /* HAL_USE_PWM == TRUE */
-#endif /* _PWM_H_ */
+#endif /* HAL_PWM_H */
/** @} */
diff --git a/os/hal/include/hal_queues.h b/os/hal/include/hal_queues.h
index ecb340feb..1f2777e76 100644
--- a/os/hal/include/hal_queues.h
+++ b/os/hal/include/hal_queues.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _HAL_QUEUES_H_
-#define _HAL_QUEUES_H_
+#ifndef HAL_QUEUES_H
+#define HAL_QUEUES_H
/**
* @name Queue functions returned status value
@@ -293,6 +293,6 @@ extern "C" {
}
#endif
-#endif /* _HAL_QUEUES_H_ */
+#endif /* HAL_QUEUES_H */
/** @} */
diff --git a/os/hal/include/hal_rtc.h b/os/hal/include/hal_rtc.h
index e4c32ba64..128509581 100644
--- a/os/hal/include/hal_rtc.h
+++ b/os/hal/include/hal_rtc.h
@@ -26,8 +26,8 @@
* @{
*/
-#ifndef _RTC_H_
-#define _RTC_H_
+#ifndef HAL_RTC_H
+#define HAL_RTC_H
#if (HAL_USE_RTC == TRUE) || defined(__DOXYGEN__)
@@ -139,6 +139,6 @@ extern "C" {
#endif
#endif /* HAL_USE_RTC == TRUE */
-#endif /* _RTC_H_ */
+#endif /* HAL_RTC_H */
/** @} */
diff --git a/os/hal/include/hal_sdc.h b/os/hal/include/hal_sdc.h
index 954688658..7ca3586fd 100644
--- a/os/hal/include/hal_sdc.h
+++ b/os/hal/include/hal_sdc.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _SDC_H_
-#define _SDC_H_
+#ifndef HAL_SDC_H
+#define HAL_SDC_H
#if (HAL_USE_SDC == TRUE) || defined(__DOXYGEN__)
@@ -190,6 +190,6 @@ extern "C" {
#endif /* HAL_USE_SDC == TRUE */
-#endif /* _SDC_H_ */
+#endif /* HAL_SDC_H */
/** @} */
diff --git a/os/hal/include/hal_serial.h b/os/hal/include/hal_serial.h
index 814d54569..e6fd32ba5 100644
--- a/os/hal/include/hal_serial.h
+++ b/os/hal/include/hal_serial.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _SERIAL_H_
-#define _SERIAL_H_
+#ifndef HAL_SERIAL_H
+#define HAL_SERIAL_H
#if (HAL_USE_SERIAL == TRUE) || defined(__DOXYGEN__)
@@ -281,6 +281,6 @@ extern "C" {
#endif /* HAL_USE_SERIAL == TRUE */
-#endif /* _SERIAL_H_ */
+#endif /* HAL_SERIAL_H */
/** @} */
diff --git a/os/hal/include/hal_serial_usb.h b/os/hal/include/hal_serial_usb.h
index d4a1a1b57..6f2cf9722 100644
--- a/os/hal/include/hal_serial_usb.h
+++ b/os/hal/include/hal_serial_usb.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _SERIAL_USB_H_
-#define _SERIAL_USB_H_
+#ifndef HAL_SERIAL_USB_H
+#define HAL_SERIAL_USB_H
#if (HAL_USE_SERIAL_USB == TRUE) || defined(__DOXYGEN__)
@@ -190,6 +190,6 @@ extern "C" {
#endif /* HAL_USE_SERIAL_USB == TRUE */
-#endif /* _SERIAL_USB_H_ */
+#endif /* HAL_SERIAL_USB_H */
/** @} */
diff --git a/os/hal/include/hal_spi.h b/os/hal/include/hal_spi.h
index 45dd0880b..ffffe59c1 100644
--- a/os/hal/include/hal_spi.h
+++ b/os/hal/include/hal_spi.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _SPI_H_
-#define _SPI_H_
+#ifndef HAL_SPI_H
+#define HAL_SPI_H
#if (HAL_USE_SPI == TRUE) || defined(__DOXYGEN__)
@@ -286,6 +286,6 @@ extern "C" {
#endif /* HAL_USE_SPI == TRUE */
-#endif /* _SPI_H_ */
+#endif /* HAL_SPI_H */
/** @} */
diff --git a/os/hal/include/hal_st.h b/os/hal/include/hal_st.h
index 3bd50e854..ce6bd5f77 100644
--- a/os/hal/include/hal_st.h
+++ b/os/hal/include/hal_st.h
@@ -24,8 +24,8 @@
* @{
*/
-#ifndef _ST_H_
-#define _ST_H_
+#ifndef HAL_ST_H
+#define HAL_ST_H
/*===========================================================================*/
/* Driver constants. */
@@ -92,6 +92,6 @@ extern "C" {
}
#endif
-#endif /* _ST_H_ */
+#endif /* HAL_ST_H */
/** @} */
diff --git a/os/hal/include/hal_streams.h b/os/hal/include/hal_streams.h
index 2956f7632..709429f99 100644
--- a/os/hal/include/hal_streams.h
+++ b/os/hal/include/hal_streams.h
@@ -32,8 +32,8 @@
* @{
*/
-#ifndef _HAL_STREAMS_H_
-#define _HAL_STREAMS_H_
+#ifndef HAL_STREAMS_H
+#define HAL_STREAMS_H
/**
* @name Streams return codes
@@ -147,6 +147,6 @@ typedef struct {
#define streamGet(ip) ((ip)->vmt->get(ip))
/** @} */
-#endif /* _HAL_STREAMS_H_ */
+#endif /* HAL_STREAMS_H */
/** @} */
diff --git a/os/hal/include/hal_uart.h b/os/hal/include/hal_uart.h
index a0a8eecdf..7982e1e5d 100644
--- a/os/hal/include/hal_uart.h
+++ b/os/hal/include/hal_uart.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _UART_H_
-#define _UART_H_
+#ifndef HAL_UART_H
+#define HAL_UART_H
#if (HAL_USE_UART == TRUE) || defined(__DOXYGEN__)
@@ -337,6 +337,6 @@ extern "C" {
#endif /* HAL_USE_UART == TRUE */
-#endif /* _UART_H_ */
+#endif /* HAL_UART_H */
/** @} */
diff --git a/os/hal/include/hal_usb.h b/os/hal/include/hal_usb.h
index 15d72cc43..3f7a5ff4a 100644
--- a/os/hal/include/hal_usb.h
+++ b/os/hal/include/hal_usb.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _USB_H_
-#define _USB_H_
+#ifndef HAL_USB_H
+#define HAL_USB_H
#if (HAL_USE_USB == TRUE) || defined(__DOXYGEN__)
@@ -628,6 +628,6 @@ extern "C" {
#endif /* HAL_USE_USB == TRUE */
-#endif /* _USB_H_ */
+#endif /* HAL_USB_H */
/** @} */
diff --git a/os/hal/include/hal_wdg.h b/os/hal/include/hal_wdg.h
index d10b4a73f..d94722ae0 100644
--- a/os/hal/include/hal_wdg.h
+++ b/os/hal/include/hal_wdg.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _WDG_H_
-#define _WDG_H_
+#ifndef HAL_WDG_H
+#define HAL_WDG_H
#if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__)
@@ -84,6 +84,6 @@ extern "C" {
#endif /* HAL_USE_WDG == TRUE */
-#endif /* _WDG_H_ */
+#endif /* HAL_WDG_H */
/** @} */
diff --git a/os/hal/include/mii.h b/os/hal/include/mii.h
index e039d5be8..facbe2352 100644
--- a/os/hal/include/mii.h
+++ b/os/hal/include/mii.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _MII_H_
-#define _MII_H_
+#ifndef MII_H
+#define MII_H
/**
* @name Generic MII registers
@@ -170,6 +170,6 @@
#define MII_LAN8742A_ID 0x0007C130
/** @} */
-#endif /* _MII_H_ */
+#endif /* MII_H */
/** @} */
diff --git a/os/hal/include/usb_cdc.h b/os/hal/include/usb_cdc.h
index 1a1e9324c..63c0bc5c0 100644
--- a/os/hal/include/usb_cdc.h
+++ b/os/hal/include/usb_cdc.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _USB_CDC_H_
-#define _USB_CDC_H_
+#ifndef USB_CDC_H
+#define USB_CDC_H
/*===========================================================================*/
/* Driver constants. */
@@ -131,6 +131,6 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
-#endif /* _USB_CDC_H_ */
+#endif /* USB_CDC_H */
/** @} */