mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-09-28 21:17:33 +00:00
Change include guard prefix to STA_CORE
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief Implementation of CanController using STM32 HAL.
|
||||
*/
|
||||
#ifndef STA_STM32_CAN_HPP
|
||||
#define STA_STM32_CAN_HPP
|
||||
#ifndef STA_CORE_STM32_CAN_HPP
|
||||
#define STA_CORE_STM32_CAN_HPP
|
||||
|
||||
/**
|
||||
* @defgroup stm32CAN CAN
|
||||
@@ -126,4 +126,4 @@ namespace sta
|
||||
|
||||
#endif // STA_STM32_CAN_ENABLE
|
||||
|
||||
#endif // STA_STM32_CAN_HPP
|
||||
#endif // STA_CORE_STM32_CAN_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief Helper macros for STM32 clock queries.
|
||||
*/
|
||||
#ifndef STA_STM32_CLOCKS_HPP
|
||||
#define STA_STM32_CLOCKS_HPP
|
||||
#ifndef STA_CORE_STM32_CLOCKS_HPP
|
||||
#define STA_CORE_STM32_CLOCKS_HPP
|
||||
|
||||
/**
|
||||
* @defgroup stm32 STM32
|
||||
@@ -96,4 +96,4 @@
|
||||
|
||||
/** @} */
|
||||
|
||||
#endif // STA_STM32_CLOCKS_HPP
|
||||
#endif // STA_CORE_STM32_CLOCKS_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief Delay functions.
|
||||
*/
|
||||
#ifndef STA_STM32_DELAY_HPP
|
||||
#define STA_STM32_DELAY_HPP
|
||||
#ifndef STA_CORE_STM32_DELAY_HPP
|
||||
#define STA_CORE_STM32_DELAY_HPP
|
||||
|
||||
/**
|
||||
* @defgroup stm32Delay Delay
|
||||
@@ -65,4 +65,4 @@ namespace sta
|
||||
|
||||
#endif // STA_STM32_DELAY_ENABLE
|
||||
|
||||
#endif // STA_STM32_DELAY_HPP
|
||||
#endif // STA_CORE_STM32_DELAY_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief Wrapper for STM32 GPIO pins.
|
||||
*/
|
||||
#ifndef STA_STM32_GPIO_PIN_HPP
|
||||
#define STA_STM32_GPIO_PIN_HPP
|
||||
#ifndef STA_CORE_STM32_GPIO_PIN_HPP
|
||||
#define STA_CORE_STM32_GPIO_PIN_HPP
|
||||
|
||||
/**
|
||||
* @defgroup stm32GPIO GPIO
|
||||
@@ -105,4 +105,4 @@ namespace sta
|
||||
|
||||
#endif // STA_STM32_GPIO_ENABLE
|
||||
|
||||
#endif // STA_STM32_GPIO_PIN_HPP
|
||||
#endif // STA_CORE_STM32_GPIO_PIN_HPP
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#ifndef STA_STM32_HAL_HPP
|
||||
#define STA_STM32_HAL_HPP
|
||||
#ifndef STA_CORE_STM32_HAL_HPP
|
||||
#define STA_CORE_STM32_HAL_HPP
|
||||
|
||||
// Include STM32 HAL headers
|
||||
#include <main.h>
|
||||
|
||||
|
||||
#endif // STA_STM32_HAL_HPP
|
||||
#endif // STA_CORE_STM32_HAL_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief Global STM32 HAL initialization.
|
||||
*/
|
||||
#ifndef STA_STM32_INIT_HPP
|
||||
#define STA_STM32_INIT_HPP
|
||||
#ifndef STA_CORE_STM32_INIT_HPP
|
||||
#define STA_CORE_STM32_INIT_HPP
|
||||
|
||||
|
||||
namespace sta
|
||||
@@ -17,4 +17,4 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_STM32_INIT_HPP
|
||||
#endif // STA_CORE_STM32_INIT_HPP
|
||||
|
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* @brief Configuration for STM32F411xE family.
|
||||
*/
|
||||
#ifndef STA_STM32_MCU_STM32F411xE_HPP
|
||||
#define STA_STM32_MCU_STM32F411xE_HPP
|
||||
#ifndef STA_CORE_STM32_MCU_STM32F411xE_HPP
|
||||
#define STA_CORE_STM32_MCU_STM32F411xE_HPP
|
||||
|
||||
|
||||
#ifndef STM32F411xE
|
||||
@@ -74,4 +74,4 @@
|
||||
#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
|
||||
|
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* @brief Configuration for STM32F413xx family.
|
||||
*/
|
||||
#ifndef STA_STM32_MCU_STM32F413xx_HPP
|
||||
#define STA_STM32_MCU_STM32F413xx_HPP
|
||||
#ifndef STA_CORE_STM32_MCU_STM32F413xx_HPP
|
||||
#define STA_CORE_STM32_MCU_STM32F413xx_HPP
|
||||
|
||||
|
||||
#ifndef STM32F413xx
|
||||
@@ -13,4 +13,4 @@
|
||||
#include <sta/stm32/mcu/common.hpp>
|
||||
|
||||
|
||||
#endif // STA_STM32_MCU_STM32F413xx_HPP
|
||||
#endif // STA_CORE_STM32_MCU_STM32F413xx_HPP
|
||||
|
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* @brief Common configuration for STM32 MCUs
|
||||
*/
|
||||
#ifndef STA_STM32_MCU_COMMON_HPP
|
||||
#define STA_STM32_MCU_COMMON_HPP
|
||||
#ifndef STA_CORE_STM32_MCU_COMMON_HPP
|
||||
#define STA_CORE_STM32_MCU_COMMON_HPP
|
||||
|
||||
|
||||
// TODO: Are all STM32 MCUs little endian?
|
||||
#define STA_MCU_LITTLE_ENDIAN
|
||||
|
||||
|
||||
#endif // STA_STM32_MCU_COMMON_HPP
|
||||
#endif // STA_CORE_STM32_MCU_COMMON_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief Implementations for SpiInterface and SpiDevice using STM32 HAL.
|
||||
*/
|
||||
#ifndef STA_STM32_SPI_HPP
|
||||
#define STA_STM32_SPI_HPP
|
||||
#ifndef STA_CORE_STM32_SPI_HPP
|
||||
#define STA_CORE_STM32_SPI_HPP
|
||||
|
||||
/**
|
||||
* @defgroup stm32SPI SPI
|
||||
@@ -130,4 +130,4 @@ namespace sta
|
||||
|
||||
#endif // STA_STM32_SPI_ENABLE
|
||||
|
||||
#endif // STA_STM32_SPI_HPP
|
||||
#endif // STA_CORE_STM32_SPI_HPP
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* @file
|
||||
* @brief Implementation of UART using STM32 HAL.
|
||||
*/
|
||||
#ifndef STA_STM32_UART_HPP
|
||||
#define STA_STM32_UART_HPP
|
||||
#ifndef STA_CORE_STM32_UART_HPP
|
||||
#define STA_CORE_STM32_UART_HPP
|
||||
|
||||
/**
|
||||
* @defgroup stm32UART UART
|
||||
@@ -63,4 +63,4 @@ namespace sta
|
||||
|
||||
#endif // STA_STM32_UART_ENABLE
|
||||
|
||||
#endif // STA_STM32_UART_HPP
|
||||
#endif // STA_CORE_STM32_UART_HPP
|
||||
|
Reference in New Issue
Block a user