diff --git a/os/hal/ports/LPC/LPC214x/hal_lld.h b/os/hal/ports/LPC/LPC214x/hal_lld.h index eee898355..bc4b62e1f 100644 --- a/os/hal/ports/LPC/LPC214x/hal_lld.h +++ b/os/hal/ports/LPC/LPC214x/hal_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _HAL_LLD_H_ -#define _HAL_LLD_H_ +#ifndef HAL_LLD_H +#define HAL_LLD_H #include "lpc214x.h" #include "vic.h" @@ -78,6 +78,6 @@ extern "C" { } #endif -#endif /* _HAL_LLD_H_ */ +#endif /* HAL_LLD_H */ /** @} */ diff --git a/os/hal/ports/LPC/LPC214x/pal_lld.c b/os/hal/ports/LPC/LPC214x/hal_pal_lld.c similarity index 100% rename from os/hal/ports/LPC/LPC214x/pal_lld.c rename to os/hal/ports/LPC/LPC214x/hal_pal_lld.c diff --git a/os/hal/ports/LPC/LPC214x/pal_lld.h b/os/hal/ports/LPC/LPC214x/hal_pal_lld.h similarity index 95% rename from os/hal/ports/LPC/LPC214x/pal_lld.h rename to os/hal/ports/LPC/LPC214x/hal_pal_lld.h index 6db14eed7..5039f3813 100644 --- a/os/hal/ports/LPC/LPC214x/pal_lld.h +++ b/os/hal/ports/LPC/LPC214x/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__) @@ -256,6 +256,6 @@ extern "C" { #endif /* HAL_USE_PAL */ -#endif /* _PAL_LLD_H_ */ +#endif /* HAL_PAL_LLD_H */ /** @} */ diff --git a/os/hal/ports/LPC/LPC214x/serial_lld.c b/os/hal/ports/LPC/LPC214x/hal_serial_lld.c similarity index 100% rename from os/hal/ports/LPC/LPC214x/serial_lld.c rename to os/hal/ports/LPC/LPC214x/hal_serial_lld.c diff --git a/os/hal/ports/LPC/LPC214x/serial_lld.h b/os/hal/ports/LPC/LPC214x/hal_serial_lld.h similarity index 96% rename from os/hal/ports/LPC/LPC214x/serial_lld.h rename to os/hal/ports/LPC/LPC214x/hal_serial_lld.h index 43723167e..7e60615bf 100644 --- a/os/hal/ports/LPC/LPC214x/serial_lld.h +++ b/os/hal/ports/LPC/LPC214x/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__) @@ -158,6 +158,6 @@ extern "C" { #endif /* HAL_USE_SERIAL */ -#endif /* _SERIAL_LLD_H_ */ +#endif /* HAL_SERIAL_LLD_H */ /** @} */ diff --git a/os/hal/ports/LPC/LPC214x/spi_lld.c b/os/hal/ports/LPC/LPC214x/hal_spi_lld.c similarity index 100% rename from os/hal/ports/LPC/LPC214x/spi_lld.c rename to os/hal/ports/LPC/LPC214x/hal_spi_lld.c diff --git a/os/hal/ports/LPC/LPC214x/spi_lld.h b/os/hal/ports/LPC/LPC214x/hal_spi_lld.h similarity index 95% rename from os/hal/ports/LPC/LPC214x/spi_lld.h rename to os/hal/ports/LPC/LPC214x/hal_spi_lld.h index 4c20e8085..57dd92c97 100644 --- a/os/hal/ports/LPC/LPC214x/spi_lld.h +++ b/os/hal/ports/LPC/LPC214x/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__) @@ -202,6 +202,6 @@ extern "C" { #endif /* HAL_USE_SPI */ -#endif /* _SPI_LLD_H_ */ +#endif /* HAL_SPI_LLD_H */ /** @} */ diff --git a/os/hal/ports/LPC/LPC214x/st_lld.c b/os/hal/ports/LPC/LPC214x/hal_st_lld.c similarity index 100% rename from os/hal/ports/LPC/LPC214x/st_lld.c rename to os/hal/ports/LPC/LPC214x/hal_st_lld.c diff --git a/os/hal/ports/LPC/LPC214x/st_lld.h b/os/hal/ports/LPC/LPC214x/hal_st_lld.h similarity index 94% rename from os/hal/ports/LPC/LPC214x/st_lld.h rename to os/hal/ports/LPC/LPC214x/hal_st_lld.h index 0554cdfc3..1d4beb59f 100644 --- a/os/hal/ports/LPC/LPC214x/st_lld.h +++ b/os/hal/ports/LPC/LPC214x/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" @@ -144,6 +144,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/LPC/LPC214x/vic.h b/os/hal/ports/LPC/LPC214x/vic.h index d13e79379..1961ae359 100644 --- a/os/hal/ports/LPC/LPC214x/vic.h +++ b/os/hal/ports/LPC/LPC214x/vic.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _VIC_H_ -#define _VIC_H_ +#ifndef VIC_H +#define VIC_H #ifdef __cplusplus extern "C" { @@ -34,6 +34,6 @@ extern "C" { } #endif -#endif /* _VIC_H_ */ +#endif /* VIC_H */ /** @} */