Change include guard prefix to STA_CORE

This commit is contained in:
Henrik Stickann 2023-01-19 23:35:15 +01:00
parent c4ef41ddf7
commit 7f2f4a4df9
38 changed files with 121 additions and 121 deletions

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Assertion handling. * @brief Assertion handling.
*/ */
#ifndef STA_ASSERT_HPP #ifndef STA_CORE_ASSERT_HPP
#define STA_ASSERT_HPP #define STA_CORE_ASSERT_HPP
/** /**
* @defgroup staCore Core * @defgroup staCore Core
@ -164,4 +164,4 @@ namespace sta
#endif // !STA_ASSERT_ENABLE #endif // !STA_ASSERT_ENABLE
#endif // STA_ASSERT_HPP #endif // STA_CORE_ASSERT_HPP

View File

@ -4,8 +4,8 @@
* Configuration: * Configuration:
* STA_ATOMIC_ENABLE: Enable module * STA_ATOMIC_ENABLE: Enable module
*/ */
#ifndef STA_ATOMIC_MUTEX_HPP #ifndef STA_CORE_ATOMIC_MUTEX_HPP
#define STA_ATOMIC_MUTEX_HPP #define STA_CORE_ATOMIC_MUTEX_HPP
#include <sta/config.hpp> #include <sta/config.hpp>
#ifdef STA_ATOMIC_ENABLE #ifdef STA_ATOMIC_ENABLE
@ -36,4 +36,4 @@ namespace sta
#endif // STA_ATOMIC_ENABLE #endif // STA_ATOMIC_ENABLE
#endif // STA_ATOMIC_MUTEX_HPP #endif // STA_CORE_ATOMIC_MUTEX_HPP

View File

@ -4,8 +4,8 @@
* Configuration: * Configuration:
* STA_ATOMIC_ENABLE: Enable module * STA_ATOMIC_ENABLE: Enable module
*/ */
#ifndef STA_ATOMIC_SIGNAL_HPP #ifndef STA_CORE_ATOMIC_SIGNAL_HPP
#define STA_ATOMIC_SIGNAL_HPP #define STA_CORE_ATOMIC_SIGNAL_HPP
#include <sta/config.hpp> #include <sta/config.hpp>
#ifdef STA_ATOMIC_ENABLE #ifdef STA_ATOMIC_ENABLE
@ -38,4 +38,4 @@ namespace sta
#endif // STA_ATOMIC_ENABLE #endif // STA_ATOMIC_ENABLE
#endif // STA_ATOMIC_SIGNAL_HPP #endif // STA_CORE_ATOMIC_SIGNAL_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief CAN controller driver interface. * @brief CAN controller driver interface.
*/ */
#ifndef STA_CAN_CONTROLLER_HPP #ifndef STA_CORE_CAN_CONTROLLER_HPP
#define STA_CAN_CONTROLLER_HPP #define STA_CORE_CAN_CONTROLLER_HPP
/** /**
* @defgroup can CAN * @defgroup can CAN
@ -117,4 +117,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_CAN_CONTROLLER_HPP #endif // STA_CORE_CAN_CONTROLLER_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief CAN message filter types. * @brief CAN message filter types.
*/ */
#ifndef STA_CAN_FILTER_HPP #ifndef STA_CORE_CAN_FILTER_HPP
#define STA_CAN_FILTER_HPP #define STA_CORE_CAN_FILTER_HPP
#include <sta/can/id.hpp> #include <sta/can/id.hpp>
@ -46,4 +46,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_CAN_FILTER_HPP #endif // STA_CORE_CAN_FILTER_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief CAN frame headers. * @brief CAN frame headers.
*/ */
#ifndef STA_CAN_HEADERS_HPP #ifndef STA_CORE_CAN_HEADERS_HPP
#define STA_CAN_HEADERS_HPP #define STA_CORE_CAN_HEADERS_HPP
#include <sta/can/id.hpp> #include <sta/can/id.hpp>
@ -45,4 +45,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_CAN_HEADERS_HPP #endif // STA_CORE_CAN_HEADERS_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief CAN frame ID types. * @brief CAN frame ID types.
*/ */
#ifndef STA_CAN_ID_HPP #ifndef STA_CORE_CAN_ID_HPP
#define STA_CAN_ID_HPP #define STA_CORE_CAN_ID_HPP
#include <cstdint> #include <cstdint>
@ -115,4 +115,4 @@ namespace sta
#define CAN_EID_MAX UINT32_C(0x3FFFF) #define CAN_EID_MAX UINT32_C(0x3FFFF)
#endif // STA_CAN_ID_HPP #endif // STA_CORE_CAN_ID_HPP

View File

@ -1,5 +1,5 @@
#ifndef STA_CAN_ITER_HPP #ifndef STA_CORE_CAN_ITER_HPP
#define STA_CAN_ITER_HPP #define STA_CORE_CAN_ITER_HPP
#include <cstdint> #include <cstdint>
@ -60,4 +60,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_CAN_ITER_HPP #endif // STA_CORE_CAN_ITER_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Subscription interface for CAN controller drivers. * @brief Subscription interface for CAN controller drivers.
*/ */
#ifndef STA_CAN_SUBSCRIBABLE_HPP #ifndef STA_CORE_CAN_SUBSCRIBABLE_HPP
#define STA_CAN_SUBSCRIBABLE_HPP #define STA_CORE_CAN_SUBSCRIBABLE_HPP
#include <sta/can/filter.hpp> #include <sta/can/filter.hpp>
#include <sta/can/headers.hpp> #include <sta/can/headers.hpp>
@ -101,4 +101,4 @@ namespace sta
#include <sta/can/subscribable.tpp> #include <sta/can/subscribable.tpp>
#endif // STA_CAN_SUBSCRIBABLE_HPP #endif // STA_CORE_CAN_SUBSCRIBABLE_HPP

View File

@ -1,12 +1,12 @@
/** /**
* @brief Implementation of template class CanController<T>. * @brief Implementation of template class CanController<T>.
*/ */
#ifndef STA_CAN_SUBSCRIBABLE_TPP #ifndef STA_CORE_CAN_SUBSCRIBABLE_TPP
#define STA_CAN_SUBSCRIBABLE_TPP #define STA_CORE_CAN_SUBSCRIBABLE_TPP
#ifndef STA_CAN_SUBSCRIBABLE_HPP #ifndef STA_CORE_CAN_SUBSCRIBABLE_HPP
#error "Direct use of internal header. Use <sta/intf/can/subscribable.hpp> instead" #error "Direct use of internal header. Use <sta/can/subscribable.hpp> instead"
#endif // !STA_CAN_SUBSCRIBABLE_HPP #endif // !STA_CORE_CAN_SUBSCRIBABLE_HPP
#ifndef STA_STDLIB_DISABLE #ifndef STA_STDLIB_DISABLE
# include <algorithm> // fill_n # include <algorithm> // fill_n
@ -117,4 +117,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_CAN_SUBSCRIBABLE_TPP #endif // STA_CORE_CAN_SUBSCRIBABLE_TPP

View File

@ -13,8 +13,8 @@
* the default internal linkage of const namespace variables * the default internal linkage of const namespace variables
* will cause undefined reference errors otherwise. * will cause undefined reference errors otherwise.
*/ */
#ifndef STA_DEBUG_SERIAL_HPP #ifndef STA_CORE_DEBUG_SERIAL_HPP
#define STA_DEBUG_SERIAL_HPP #define STA_CORE_DEBUG_SERIAL_HPP
/** /**
* @defgroup staCoreDebug Debug Serial * @defgroup staCoreDebug Debug Serial
@ -105,4 +105,4 @@ namespace sta
#endif // !STA_DEBUG_SERIAL_ENABLE #endif // !STA_DEBUG_SERIAL_ENABLE
#endif // STA_DEBUG_SERIAL_HPP #endif // STA_CORE_DEBUG_SERIAL_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Helper macros for managing endian handling. * @brief Helper macros for managing endian handling.
*/ */
#ifndef STA_ENDIAN_HPP #ifndef STA_CORE_ENDIAN_HPP
#define STA_ENDIAN_HPP #define STA_CORE_ENDIAN_HPP
/** /**
* @defgroup staCoreEndian Endian * @defgroup staCoreEndian Endian
@ -201,4 +201,4 @@
#endif // STA_MCU_BIG_ENDIAN #endif // STA_MCU_BIG_ENDIAN
#endif // STA_ENDIAN_HPP #endif // STA_CORE_ENDIAN_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Helper for using enum values as flags. * @brief Helper for using enum values as flags.
*/ */
#ifndef STA_ENUM_FLAGS_HPP #ifndef STA_CORE_ENUM_FLAGS_HPP
#define STA_ENUM_FLAGS_HPP #define STA_CORE_ENUM_FLAGS_HPP
#include <cstdint> #include <cstdint>
@ -195,4 +195,4 @@ namespace sta
#include <sta/enum_flags.tpp> #include <sta/enum_flags.tpp>
#endif // STA_ENUM_FLAGS_HPP #endif // STA_CORE_ENUM_FLAGS_HPP

View File

@ -1,12 +1,12 @@
/** /**
* @brief Template class implementation for `EnumFlags<T>`. * @brief Template class implementation for `EnumFlags<T>`.
*/ */
#ifndef STA_ENUM_FLAGS_TPP #ifndef STA_CORE_ENUM_FLAGS_TPP
#define STA_ENUM_FLAGS_TPP #define STA_CORE_ENUM_FLAGS_TPP
#ifndef STA_ENUM_FLAGS_HPP #ifndef STA_CORE_ENUM_FLAGS_HPP
# error "Direct use of internal header. Use <sta/enum_flags.hpp> instead" # error "Direct use of internal header. Use <sta/enum_flags.hpp> instead"
#endif // !STA_ENUM_FLAGS_HPP #endif // !STA_CORE_ENUM_FLAGS_HPP
namespace sta namespace sta
@ -113,4 +113,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_ENUM_FLAGS_TPP #endif // STA_CORE_ENUM_FLAGS_TPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief FIFO buffer type. * @brief FIFO buffer type.
*/ */
#ifndef STA_FIFO_BUFFER_HPP #ifndef STA_CORE_FIFO_BUFFER_HPP
#define STA_FIFO_BUFFER_HPP #define STA_CORE_FIFO_BUFFER_HPP
namespace sta namespace sta
@ -115,4 +115,4 @@ namespace sta
#include <sta/fifo_buffer.tpp> #include <sta/fifo_buffer.tpp>
#endif // STA_FIFO_BUFFER_HPP #endif // STA_CORE_FIFO_BUFFER_HPP

View File

@ -1,9 +1,9 @@
#ifndef STA_FIFO_BUFFER_TPP #ifndef STA_CORE_FIFO_BUFFER_TPP
#define STA_FIFO_BUFFER_TPP #define STA_CORE_FIFO_BUFFER_TPP
#ifndef STA_FIFO_BUFFER_HPP #ifndef STA_CORE_FIFO_BUFFER_HPP
# error "Internal header. Include <sta/fifo_buffer.hpp> instead" # error "Internal header. Include <sta/fifo_buffer.hpp> instead"
#endif // !STA_FIFO_BUFFER_HPP #endif // !STA_CORE_FIFO_BUFFER_HPP
#include <cstring> #include <cstring>
@ -100,4 +100,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_FIFO_BUFFER_TPP #endif // STA_CORE_FIFO_BUFFER_TPP

View File

@ -1,8 +1,8 @@
/** /**
* @brief GPIO pin interface definitions. * @brief GPIO pin interface definitions.
*/ */
#ifndef STA_GPIO_PIN_HPP #ifndef STA_CORE_GPIO_PIN_HPP
#define STA_GPIO_PIN_HPP #define STA_CORE_GPIO_PIN_HPP
namespace sta namespace sta
@ -32,4 +32,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_GPIO_PIN_HPP #endif // STA_CORE_GPIO_PIN_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Helper for useful compiler features. * @brief Helper for useful compiler features.
*/ */
#ifndef STA_LANG_HPP #ifndef STA_CORE_LANG_HPP
#define STA_LANG_HPP #define STA_CORE_LANG_HPP
/** /**
* @defgroup staCoreLang Lang * @defgroup staCoreLang Lang
@ -113,4 +113,4 @@
/** @} */ /** @} */
#endif // STA_LANG_HPP #endif // STA_CORE_LANG_HPP

View File

@ -1,8 +1,8 @@
/** /**
* @brief Mutex interface definition. * @brief Mutex interface definition.
*/ */
#ifndef STA_MUTEX_HPP #ifndef STA_CORE_MUTEX_HPP
#define STA_MUTEX_HPP #define STA_CORE_MUTEX_HPP
namespace sta namespace sta
@ -27,4 +27,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_MUTEX_HPP #endif // STA_CORE_MUTEX_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Printable UART interface definition. * @brief Printable UART interface definition.
*/ */
#ifndef STA_PRINTABLE_UART_HPP #ifndef STA_CORE_PRINTABLE_UART_HPP
#define STA_PRINTABLE_UART_HPP #define STA_CORE_PRINTABLE_UART_HPP
#include <sta/uart.hpp> #include <sta/uart.hpp>
@ -201,4 +201,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_PRINTABLE_UART_HPP #endif // STA_CORE_PRINTABLE_UART_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Compatibility layer for different printf implementations. * @brief Compatibility layer for different printf implementations.
*/ */
#ifndef STA_PRINTF_HPP #ifndef STA_CORE_PRINTF_HPP
#define STA_PRINTF_HPP #define STA_CORE_PRINTF_HPP
#ifdef DOXYGEN #ifdef DOXYGEN
/** /**
@ -39,4 +39,4 @@
#endif // STA_PRINTF_USE_MPALAND #endif // STA_PRINTF_USE_MPALAND
#endif // STA_PRINTF_HPP #endif // STA_CORE_PRINTF_HPP

View File

@ -1,8 +1,8 @@
/** /**
* @brief Signal interface definition. * @brief Signal interface definition.
*/ */
#ifndef STA_SIGNAL_HPP #ifndef STA_CORE_SIGNAL_HPP
#define STA_SIGNAL_HPP #define STA_CORE_SIGNAL_HPP
namespace sta namespace sta
@ -37,4 +37,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_SIGNAL_HPP #endif // STA_CORE_SIGNAL_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief SPI device interface. * @brief SPI device interface.
*/ */
#ifndef STA_SPI_DEVICE_HPP #ifndef STA_CORE_SPI_DEVICE_HPP
#define STA_SPI_DEVICE_HPP #define STA_CORE_SPI_DEVICE_HPP
#include <sta/gpio_pin.hpp> #include <sta/gpio_pin.hpp>
#include <sta/spi/interface.hpp> #include <sta/spi/interface.hpp>
@ -112,4 +112,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_SPI_DEVICE_HPP #endif // STA_CORE_SPI_DEVICE_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief SPI interface definition. * @brief SPI interface definition.
*/ */
#ifndef STA_SPI_INTERFACE_HPP #ifndef STA_CORE_SPI_INTERFACE_HPP
#define STA_SPI_INTERFACE_HPP #define STA_CORE_SPI_INTERFACE_HPP
#include <sta/mutex.hpp> #include <sta/mutex.hpp>
#include <sta/spi/settings.hpp> #include <sta/spi/settings.hpp>
@ -100,4 +100,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_SPI_INTERFACE_HPP #endif // STA_CORE_SPI_INTERFACE_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief SPI settings. * @brief SPI settings.
*/ */
#ifndef STA_SPI_SETTINGS_HPP #ifndef STA_CORE_SPI_SETTINGS_HPP
#define STA_SPI_SETTINGS_HPP #define STA_CORE_SPI_SETTINGS_HPP
/** /**
* @defgroup staCoreSPI SPI * @defgroup staCoreSPI SPI
@ -111,4 +111,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_SPI_SETTINGS_HPP #endif // STA_CORE_SPI_SETTINGS_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Implementation of CanController using STM32 HAL. * @brief Implementation of CanController using STM32 HAL.
*/ */
#ifndef STA_STM32_CAN_HPP #ifndef STA_CORE_STM32_CAN_HPP
#define STA_STM32_CAN_HPP #define STA_CORE_STM32_CAN_HPP
/** /**
* @defgroup stm32CAN CAN * @defgroup stm32CAN CAN
@ -126,4 +126,4 @@ namespace sta
#endif // STA_STM32_CAN_ENABLE #endif // STA_STM32_CAN_ENABLE
#endif // STA_STM32_CAN_HPP #endif // STA_CORE_STM32_CAN_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Helper macros for STM32 clock queries. * @brief Helper macros for STM32 clock queries.
*/ */
#ifndef STA_STM32_CLOCKS_HPP #ifndef STA_CORE_STM32_CLOCKS_HPP
#define STA_STM32_CLOCKS_HPP #define STA_CORE_STM32_CLOCKS_HPP
/** /**
* @defgroup stm32 STM32 * @defgroup stm32 STM32
@ -96,4 +96,4 @@
/** @} */ /** @} */
#endif // STA_STM32_CLOCKS_HPP #endif // STA_CORE_STM32_CLOCKS_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Delay functions. * @brief Delay functions.
*/ */
#ifndef STA_STM32_DELAY_HPP #ifndef STA_CORE_STM32_DELAY_HPP
#define STA_STM32_DELAY_HPP #define STA_CORE_STM32_DELAY_HPP
/** /**
* @defgroup stm32Delay Delay * @defgroup stm32Delay Delay
@ -65,4 +65,4 @@ namespace sta
#endif // STA_STM32_DELAY_ENABLE #endif // STA_STM32_DELAY_ENABLE
#endif // STA_STM32_DELAY_HPP #endif // STA_CORE_STM32_DELAY_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Wrapper for STM32 GPIO pins. * @brief Wrapper for STM32 GPIO pins.
*/ */
#ifndef STA_STM32_GPIO_PIN_HPP #ifndef STA_CORE_STM32_GPIO_PIN_HPP
#define STA_STM32_GPIO_PIN_HPP #define STA_CORE_STM32_GPIO_PIN_HPP
/** /**
* @defgroup stm32GPIO GPIO * @defgroup stm32GPIO GPIO
@ -105,4 +105,4 @@ namespace sta
#endif // STA_STM32_GPIO_ENABLE #endif // STA_STM32_GPIO_ENABLE
#endif // STA_STM32_GPIO_PIN_HPP #endif // STA_CORE_STM32_GPIO_PIN_HPP

View File

@ -1,8 +1,8 @@
#ifndef STA_STM32_HAL_HPP #ifndef STA_CORE_STM32_HAL_HPP
#define STA_STM32_HAL_HPP #define STA_CORE_STM32_HAL_HPP
// Include STM32 HAL headers // Include STM32 HAL headers
#include <main.h> #include <main.h>
#endif // STA_STM32_HAL_HPP #endif // STA_CORE_STM32_HAL_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Global STM32 HAL initialization. * @brief Global STM32 HAL initialization.
*/ */
#ifndef STA_STM32_INIT_HPP #ifndef STA_CORE_STM32_INIT_HPP
#define STA_STM32_INIT_HPP #define STA_CORE_STM32_INIT_HPP
namespace sta namespace sta
@ -17,4 +17,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_STM32_INIT_HPP #endif // STA_CORE_STM32_INIT_HPP

View File

@ -1,8 +1,8 @@
/** /**
* @brief Configuration for STM32F411xE family. * @brief Configuration for STM32F411xE family.
*/ */
#ifndef STA_STM32_MCU_STM32F411xE_HPP #ifndef STA_CORE_STM32_MCU_STM32F411xE_HPP
#define STA_STM32_MCU_STM32F411xE_HPP #define STA_CORE_STM32_MCU_STM32F411xE_HPP
#ifndef STM32F411xE #ifndef STM32F411xE
@ -74,4 +74,4 @@
#define STA_STM32_husart6_PCLK_IDX STA_STM32_USART_6_PCLK_IDX #define STA_STM32_husart6_PCLK_IDX STA_STM32_USART_6_PCLK_IDX
#endif // STA_STM32_MCU_STM32F411xE_HPP #endif // STA_CORE_STM32_MCU_STM32F411xE_HPP

View File

@ -1,8 +1,8 @@
/** /**
* @brief Configuration for STM32F413xx family. * @brief Configuration for STM32F413xx family.
*/ */
#ifndef STA_STM32_MCU_STM32F413xx_HPP #ifndef STA_CORE_STM32_MCU_STM32F413xx_HPP
#define STA_STM32_MCU_STM32F413xx_HPP #define STA_CORE_STM32_MCU_STM32F413xx_HPP
#ifndef STM32F413xx #ifndef STM32F413xx
@ -13,4 +13,4 @@
#include <sta/stm32/mcu/common.hpp> #include <sta/stm32/mcu/common.hpp>
#endif // STA_STM32_MCU_STM32F413xx_HPP #endif // STA_CORE_STM32_MCU_STM32F413xx_HPP

View File

@ -1,12 +1,12 @@
/** /**
* @brief Common configuration for STM32 MCUs * @brief Common configuration for STM32 MCUs
*/ */
#ifndef STA_STM32_MCU_COMMON_HPP #ifndef STA_CORE_STM32_MCU_COMMON_HPP
#define STA_STM32_MCU_COMMON_HPP #define STA_CORE_STM32_MCU_COMMON_HPP
// TODO: Are all STM32 MCUs little endian? // TODO: Are all STM32 MCUs little endian?
#define STA_MCU_LITTLE_ENDIAN #define STA_MCU_LITTLE_ENDIAN
#endif // STA_STM32_MCU_COMMON_HPP #endif // STA_CORE_STM32_MCU_COMMON_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Implementations for SpiInterface and SpiDevice using STM32 HAL. * @brief Implementations for SpiInterface and SpiDevice using STM32 HAL.
*/ */
#ifndef STA_STM32_SPI_HPP #ifndef STA_CORE_STM32_SPI_HPP
#define STA_STM32_SPI_HPP #define STA_CORE_STM32_SPI_HPP
/** /**
* @defgroup stm32SPI SPI * @defgroup stm32SPI SPI
@ -130,4 +130,4 @@ namespace sta
#endif // STA_STM32_SPI_ENABLE #endif // STA_STM32_SPI_ENABLE
#endif // STA_STM32_SPI_HPP #endif // STA_CORE_STM32_SPI_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Implementation of UART using STM32 HAL. * @brief Implementation of UART using STM32 HAL.
*/ */
#ifndef STA_STM32_UART_HPP #ifndef STA_CORE_STM32_UART_HPP
#define STA_STM32_UART_HPP #define STA_CORE_STM32_UART_HPP
/** /**
* @defgroup stm32UART UART * @defgroup stm32UART UART
@ -63,4 +63,4 @@ namespace sta
#endif // STA_STM32_UART_ENABLE #endif // STA_STM32_UART_ENABLE
#endif // STA_STM32_UART_HPP #endif // STA_CORE_STM32_UART_HPP

View File

@ -1,8 +1,8 @@
/** /**
* @brief Signatures for time related functions. * @brief Signatures for time related functions.
*/ */
#ifndef STA_TIME_HPP #ifndef STA_CORE_TIME_HPP
#define STA_TIME_HPP #define STA_CORE_TIME_HPP
#include <cstdint> #include <cstdint>
@ -24,4 +24,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_TIME_HPP #endif // STA_CORE_TIME_HPP

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief UART interface definition. * @brief UART interface definition.
*/ */
#ifndef STA_INTF_UART_HPP #ifndef STA_CORE_UART_HPP
#define STA_INTF_UART_HPP #define STA_CORE_UART_HPP
#include <cstddef> #include <cstddef>
#include <cstdint> #include <cstdint>
@ -47,4 +47,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_INTF_UART_HPP #endif // STA_CORE_UART_HPP