aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflabbergast <s3+flabbergast@sdfeu.org>2016-04-04 09:26:36 +0100
committerflabbergast <s3+flabbergast@sdfeu.org>2016-04-04 09:26:36 +0100
commit496e7f5e89bcff02eb47c19f3293e73c945a211f (patch)
treef6fde5652e7dbca3a12931d2a0bd3c44ca6a2dc1
parent51703da9dfc26179be2ae096a21e84d3ed725aa6 (diff)
downloadChibiOS-Contrib-496e7f5e89bcff02eb47c19f3293e73c945a211f.tar.gz
ChibiOS-Contrib-496e7f5e89bcff02eb47c19f3293e73c945a211f.tar.bz2
ChibiOS-Contrib-496e7f5e89bcff02eb47c19f3293e73c945a211f.zip
[KINETIS] Rename header guards in HAL.
-rw-r--r--os/hal/ports/KINETIS/K20x/hal_lld.h6
-rw-r--r--os/hal/ports/KINETIS/K20x/hal_pwm_lld.h6
-rw-r--r--os/hal/ports/KINETIS/K20x/hal_spi_lld.h6
-rw-r--r--os/hal/ports/KINETIS/K20x/kinetis_registry.h6
-rw-r--r--os/hal/ports/KINETIS/KL2x/hal_lld.h6
-rw-r--r--os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h6
-rw-r--r--os/hal/ports/KINETIS/KL2x/kinetis_registry.h6
-rw-r--r--os/hal/ports/KINETIS/LLD/hal_adc_lld.h6
-rw-r--r--os/hal/ports/KINETIS/LLD/hal_ext_lld.h6
-rw-r--r--os/hal/ports/KINETIS/LLD/hal_gpt_lld.h6
-rw-r--r--os/hal/ports/KINETIS/LLD/hal_i2c_lld.h6
-rw-r--r--os/hal/ports/KINETIS/LLD/hal_pal_lld.h6
-rw-r--r--os/hal/ports/KINETIS/LLD/hal_serial_lld.h6
-rw-r--r--os/hal/ports/KINETIS/LLD/hal_st_lld.h6
-rw-r--r--os/hal/ports/KINETIS/LLD/hal_usb_lld.h6
15 files changed, 45 insertions, 45 deletions
diff --git a/os/hal/ports/KINETIS/K20x/hal_lld.h b/os/hal/ports/KINETIS/K20x/hal_lld.h
index 31364cf..b7f6b46 100644
--- a/os/hal/ports/KINETIS/K20x/hal_lld.h
+++ b/os/hal/ports/KINETIS/K20x/hal_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _HAL_LLD_H_
-#define _HAL_LLD_H_
+#ifndef HAL_LLD_H_
+#define HAL_LLD_H_
#include "kinetis_registry.h"
@@ -297,6 +297,6 @@ extern "C" {
}
#endif
-#endif /* _HAL_LLD_H_ */
+#endif /* HAL_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/K20x/hal_pwm_lld.h b/os/hal/ports/KINETIS/K20x/hal_pwm_lld.h
index 176e8a8..ccc100f 100644
--- a/os/hal/ports/KINETIS/K20x/hal_pwm_lld.h
+++ b/os/hal/ports/KINETIS/K20x/hal_pwm_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _PWM_LLD_H_
-#define _PWM_LLD_H_
+#ifndef HAL_PWM_LLD_H_
+#define HAL_PWM_LLD_H_
#if HAL_USE_PWM || defined(__DOXYGEN__)
@@ -265,6 +265,6 @@ extern "C" {
#endif /* HAL_USE_PWM */
-#endif /* _PWM_LLD_H_ */
+#endif /* HAL_PWM_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/K20x/hal_spi_lld.h b/os/hal/ports/KINETIS/K20x/hal_spi_lld.h
index a1f2a99..0cf108e 100644
--- a/os/hal/ports/KINETIS/K20x/hal_spi_lld.h
+++ b/os/hal/ports/KINETIS/K20x/hal_spi_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _SPI_LLD_H_
-#define _SPI_LLD_H_
+#ifndef HAL_SPI_LLD_H_
+#define HAL_SPI_LLD_H_
#if HAL_USE_SPI || defined(__DOXYGEN__)
@@ -256,6 +256,6 @@ extern "C" {
#endif /* HAL_USE_SPI */
-#endif /* _SPI_LLD_H_ */
+#endif /* HAL_SPI_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/K20x/kinetis_registry.h b/os/hal/ports/KINETIS/K20x/kinetis_registry.h
index 4c70e84..d2eea6f 100644
--- a/os/hal/ports/KINETIS/K20x/kinetis_registry.h
+++ b/os/hal/ports/KINETIS/K20x/kinetis_registry.h
@@ -23,8 +23,8 @@
* @{
*/
-#ifndef _KINETIS_REGISTRY_H_
-#define _KINETIS_REGISTRY_H_
+#ifndef KINETIS_REGISTRY_H_
+#define KINETIS_REGISTRY_H_
#if !defined(K20x) || defined(__DOXYGEN__)
#define K20x
@@ -253,6 +253,6 @@
/** @} */
-#endif /* _KINETIS_REGISTRY_H_ */
+#endif /* KINETIS_REGISTRY_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/KL2x/hal_lld.h b/os/hal/ports/KINETIS/KL2x/hal_lld.h
index a10c21c..d16e13f 100644
--- a/os/hal/ports/KINETIS/KL2x/hal_lld.h
+++ b/os/hal/ports/KINETIS/KL2x/hal_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _HAL_LLD_H_
-#define _HAL_LLD_H_
+#ifndef HAL_LLD_H_
+#define HAL_LLD_H_
#include "kl2xz.h"
#include "kinetis_registry.h"
@@ -311,6 +311,6 @@ extern "C" {
}
#endif
-#endif /* _HAL_LLD_H_ */
+#endif /* HAL_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h b/os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h
index 5a3d7c2..64ff9ee 100644
--- a/os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h
+++ b/os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _PWM_LLD_H_
-#define _PWM_LLD_H_
+#ifndef HAL_PWM_LLD_H_
+#define HAL_PWM_LLD_H_
#if HAL_USE_PWM || defined(__DOXYGEN__)
@@ -300,6 +300,6 @@ extern "C" {
#endif /* HAL_USE_PWM */
-#endif /* _PWM_LLD_H_ */
+#endif /* HAL_PWM_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/KL2x/kinetis_registry.h b/os/hal/ports/KINETIS/KL2x/kinetis_registry.h
index 92ea0cc..49b1ec8 100644
--- a/os/hal/ports/KINETIS/KL2x/kinetis_registry.h
+++ b/os/hal/ports/KINETIS/KL2x/kinetis_registry.h
@@ -23,8 +23,8 @@
* @{
*/
-#ifndef _KINETIS_REGISTRY_H_
-#define _KINETIS_REGISTRY_H_
+#ifndef KINETIS_REGISTRY_H_
+#define KINETIS_REGISTRY_H_
#if !defined(KL2x) || defined(__DOXYGEN__)
#define KL2x
@@ -253,6 +253,6 @@
/** @} */
-#endif /* _KINETIS_REGISTRY_H_ */
+#endif /* KINETIS_REGISTRY_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/LLD/hal_adc_lld.h b/os/hal/ports/KINETIS/LLD/hal_adc_lld.h
index 22db2c0..c4edbd6 100644
--- a/os/hal/ports/KINETIS/LLD/hal_adc_lld.h
+++ b/os/hal/ports/KINETIS/LLD/hal_adc_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _ADC_LLD_H_
-#define _ADC_LLD_H_
+#ifndef HAL_ADC_LLD_H_
+#define HAL_ADC_LLD_H_
#if HAL_USE_ADC || defined(__DOXYGEN__)
@@ -355,6 +355,6 @@ extern "C" {
#endif /* HAL_USE_ADC */
-#endif /* _ADC_LLD_H_ */
+#endif /* HAL_ADC_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/LLD/hal_ext_lld.h b/os/hal/ports/KINETIS/LLD/hal_ext_lld.h
index 465bb89..bcd9cb0 100644
--- a/os/hal/ports/KINETIS/LLD/hal_ext_lld.h
+++ b/os/hal/ports/KINETIS/LLD/hal_ext_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _EXT_LLD_H_
-#define _EXT_LLD_H_
+#ifndef HAL_EXT_LLD_H_
+#define HAL_EXT_LLD_H_
#if HAL_USE_EXT || defined(__DOXYGEN__)
@@ -183,6 +183,6 @@ extern "C" {
#endif /* HAL_USE_EXT */
-#endif /* _EXT_LLD_H_ */
+#endif /* HAL_EXT_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/LLD/hal_gpt_lld.h b/os/hal/ports/KINETIS/LLD/hal_gpt_lld.h
index 5c3e233..1b9e5ef 100644
--- a/os/hal/ports/KINETIS/LLD/hal_gpt_lld.h
+++ b/os/hal/ports/KINETIS/LLD/hal_gpt_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _GPT_LLD_H_
-#define _GPT_LLD_H_
+#ifndef HAL_GPT_LLD_H_
+#define HAL_GPT_LLD_H_
#if HAL_USE_GPT || defined(__DOXYGEN__)
@@ -328,6 +328,6 @@ extern "C" {
#endif /* HAL_USE_GPT */
-#endif /* _GPT_LLD_H_ */
+#endif /* HAL_GPT_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h b/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h
index 5f1ed87..a7214c5 100644
--- a/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h
+++ b/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _I2C_LLD_H_
-#define _I2C_LLD_H_
+#ifndef HAL_I2C_LLD_H_
+#define HAL_I2C_LLD_H_
#if HAL_USE_I2C || defined(__DOXYGEN__)
@@ -231,6 +231,6 @@ extern "C" {
#endif /* HAL_USE_I2C */
-#endif /* _I2C_LLD_H_ */
+#endif /* HAL_I2C_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/LLD/hal_pal_lld.h b/os/hal/ports/KINETIS/LLD/hal_pal_lld.h
index 2bd9872..05749d5 100644
--- a/os/hal/ports/KINETIS/LLD/hal_pal_lld.h
+++ b/os/hal/ports/KINETIS/LLD/hal_pal_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _PAL_LLD_H_
-#define _PAL_LLD_H_
+#ifndef HAL_PAL_LLD_H_
+#define HAL_PAL_LLD_H_
#if HAL_USE_PAL || defined(__DOXYGEN__)
@@ -381,6 +381,6 @@ extern "C" {
#endif /* HAL_USE_PAL */
-#endif /* _PAL_LLD_H_ */
+#endif /* HAL_PAL_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/LLD/hal_serial_lld.h b/os/hal/ports/KINETIS/LLD/hal_serial_lld.h
index cc66eb3..f11c063 100644
--- a/os/hal/ports/KINETIS/LLD/hal_serial_lld.h
+++ b/os/hal/ports/KINETIS/LLD/hal_serial_lld.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _SERIAL_LLD_H_
-#define _SERIAL_LLD_H_
+#ifndef HAL_SERIAL_LLD_H_
+#define HAL_SERIAL_LLD_H_
#if HAL_USE_SERIAL || defined(__DOXYGEN__)
@@ -215,6 +215,6 @@ extern "C" {
#endif /* HAL_USE_SERIAL */
-#endif /* _SERIAL_LLD_H_ */
+#endif /* HAL_SERIAL_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/LLD/hal_st_lld.h b/os/hal/ports/KINETIS/LLD/hal_st_lld.h
index c67a5d0..29c7035 100644
--- a/os/hal/ports/KINETIS/LLD/hal_st_lld.h
+++ b/os/hal/ports/KINETIS/LLD/hal_st_lld.h
@@ -24,8 +24,8 @@
* @{
*/
-#ifndef _ST_LLD_H_
-#define _ST_LLD_H_
+#ifndef HAL_ST_LLD_H_
+#define HAL_ST_LLD_H_
#include "mcuconf.h"
@@ -151,6 +151,6 @@ static inline bool st_lld_is_alarm_active(void) {
return false;
}
-#endif /* _ST_LLD_H_ */
+#endif /* HAL_ST_LLD_H_ */
/** @} */
diff --git a/os/hal/ports/KINETIS/LLD/hal_usb_lld.h b/os/hal/ports/KINETIS/LLD/hal_usb_lld.h
index 978e8a6..593ef16 100644
--- a/os/hal/ports/KINETIS/LLD/hal_usb_lld.h
+++ b/os/hal/ports/KINETIS/LLD/hal_usb_lld.h
@@ -23,8 +23,8 @@
* @{
*/
-#ifndef _USB_LLD_H_
-#define _USB_LLD_H_
+#ifndef HAL_USB_LLD_H_
+#define HAL_USB_LLD_H_
#if HAL_USE_USB || defined(__DOXYGEN__)
@@ -423,6 +423,6 @@ extern "C" {
#endif /* HAL_USE_USB */
-#endif /* _USB_LLD_H_ */
+#endif /* HAL_USB_LLD_H_ */
/** @} */