[PATCH] Patch to avoid nameclash of PAGESIZE define

Robin Müller robin.mueller.m at gmail.com
Tue Apr 20 18:13:38 UTC 2021


Does this one work? For some reason the full header was not included..

Kind Regards
Robin

On Tue, 20 Apr 2021 at 20:11, Robin Mueller <robin.mueller.m at gmail.com>
wrote:

> This commit excludes the PAGESIZE legacy define
> because there is a nameclash with a define of the same name
> coming from the RTEMS header limits.h.
>
> All other changes come from loading the file from a Unix system.
> ---
>  .../stm32h7/include/Legacy/stm32_hal_legacy.h | 172 +++++++++---------
>  1 file changed, 88 insertions(+), 84 deletions(-)
>
> diff --git a/bsps/arm/stm32h7/include/Legacy/stm32_hal_legacy.h
> b/bsps/arm/stm32h7/include/Legacy/stm32_hal_legacy.h
> index c311c1618e..804a4c87da 100644
> --- a/bsps/arm/stm32h7/include/Legacy/stm32_hal_legacy.h
> +++ b/bsps/arm/stm32h7/include/Legacy/stm32_hal_legacy.h
> @@ -31,7 +31,7 @@
>  /* Exported constants
> --------------------------------------------------------*/
>
>  /** @defgroup HAL_AES_Aliased_Defines HAL CRYP Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define AES_FLAG_RDERR                  CRYP_FLAG_RDERR
> @@ -45,7 +45,7 @@
>    */
>
>  /** @defgroup HAL_ADC_Aliased_Defines HAL ADC Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define ADC_RESOLUTION12b               ADC_RESOLUTION_12B
> @@ -105,7 +105,7 @@
>    */
>
>  /** @defgroup HAL_CEC_Aliased_Defines HAL CEC Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -116,7 +116,7 @@
>    */
>
>  /** @defgroup HAL_COMP_Aliased_Defines HAL COMP Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define COMP_WINDOWMODE_DISABLED       COMP_WINDOWMODE_DISABLE
> @@ -208,7 +208,7 @@
>    */
>
>  /** @defgroup HAL_CORTEX_Aliased_Defines HAL CORTEX Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_CORTEX_SYSTICKCLK_CONFIG HAL_SYSTICK_CLKSourceConfig
> @@ -217,7 +217,7 @@
>    */
>
>  /** @defgroup HAL_CRC_Aliased_Defines HAL CRC Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -229,7 +229,7 @@
>    */
>
>  /** @defgroup HAL_DAC_Aliased_Defines HAL DAC Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -258,7 +258,7 @@
>    */
>
>  /** @defgroup HAL_DMA_Aliased_Defines HAL DMA Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_REMAPDMA_ADC_DMA_CH2                DMA_REMAP_ADC_DMA_CH2
> @@ -392,7 +392,7 @@
>    */
>
>  /** @defgroup HAL_FLASH_Aliased_Defines HAL FLASH Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -420,7 +420,11 @@
>  #define TYPEPROGRAMDATA_FASTBYTE      FLASH_TYPEPROGRAMDATA_FASTBYTE
>  #define TYPEPROGRAMDATA_FASTHALFWORD  FLASH_TYPEPROGRAMDATA_FASTHALFWORD
>  #define TYPEPROGRAMDATA_FASTWORD      FLASH_TYPEPROGRAMDATA_FASTWORD
> +#ifndef __rtems__
> +/* Commented out for the RTEMS BSP because there can be nameclashes with
> another
> +similar defininition in limits.h */
>  #define PAGESIZE                      FLASH_PAGE_SIZE
> +#endif /* __rtems__ */
>  #define TYPEPROGRAM_FASTBYTE          FLASH_TYPEPROGRAM_BYTE
>  #define TYPEPROGRAM_FASTHALFWORD      FLASH_TYPEPROGRAM_HALFWORD
>  #define TYPEPROGRAM_FASTWORD          FLASH_TYPEPROGRAM_WORD
> @@ -490,7 +494,7 @@
>    */
>
>  /** @defgroup HAL_JPEG_Aliased_Macros HAL JPEG Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -508,7 +512,7 @@
>    */
>
>  /** @defgroup HAL_SYSCFG_Aliased_Defines HAL SYSCFG Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -534,7 +538,7 @@
>
>
>  /** @defgroup LL_FMC_Aliased_Defines LL FMC Aliased Defines maintained
> for compatibility purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #if defined(STM32L4) || defined(STM32F7) || defined(STM32H7) ||
> defined(STM32G4)
> @@ -553,7 +557,7 @@
>    */
>
>  /** @defgroup LL_FSMC_Aliased_Defines LL FSMC Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -564,7 +568,7 @@
>    */
>
>  /** @defgroup HAL_GPIO_Aliased_Macros HAL GPIO Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define GET_GPIO_SOURCE                           GPIO_GET_INDEX
> @@ -631,7 +635,7 @@
>    */
>
>  /** @defgroup HAL_HRTIM_Aliased_Macros HAL HRTIM Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HRTIM_TIMDELAYEDPROTECTION_DISABLED
>  HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DISABLED
> @@ -836,7 +840,7 @@
>    */
>
>  /** @defgroup HAL_I2C_Aliased_Defines HAL I2C Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define I2C_DUALADDRESS_DISABLED                I2C_DUALADDRESS_DISABLE
> @@ -860,7 +864,7 @@
>    */
>
>  /** @defgroup HAL_IRDA_Aliased_Defines HAL IRDA Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define IRDA_ONE_BIT_SAMPLE_DISABLED
> IRDA_ONE_BIT_SAMPLE_DISABLE
> @@ -871,7 +875,7 @@
>    */
>
>  /** @defgroup HAL_IWDG_Aliased_Defines HAL IWDG Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define KR_KEY_RELOAD                   IWDG_KEY_RELOAD
> @@ -883,7 +887,7 @@
>    */
>
>  /** @defgroup HAL_LPTIM_Aliased_Defines HAL LPTIM Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -912,7 +916,7 @@
>    */
>
>  /** @defgroup HAL_NAND_Aliased_Defines HAL NAND Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_NAND_Read_Page              HAL_NAND_Read_Page_8b
> @@ -932,7 +936,7 @@
>    */
>
>  /** @defgroup HAL_NOR_Aliased_Defines HAL NOR Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define NOR_StatusTypedef              HAL_NOR_StatusTypeDef
> @@ -948,7 +952,7 @@
>    */
>
>  /** @defgroup HAL_OPAMP_Aliased_Defines HAL OPAMP Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -988,7 +992,7 @@
>    */
>
>  /** @defgroup HAL_I2S_Aliased_Defines HAL I2S Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define I2S_STANDARD_PHILLIPS      I2S_STANDARD_PHILIPS
> @@ -1009,7 +1013,7 @@
>    */
>
>  /** @defgroup HAL_PCCARD_Aliased_Defines HAL PCCARD Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -1040,7 +1044,7 @@
>    */
>
>  /** @defgroup HAL_RTC_Aliased_Defines HAL RTC Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -1087,7 +1091,7 @@
>
>
>  /** @defgroup HAL_SMARTCARD_Aliased_Defines HAL SMARTCARD Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define SMARTCARD_NACK_ENABLED                  SMARTCARD_NACK_ENABLE
> @@ -1109,7 +1113,7 @@
>
>
>  /** @defgroup HAL_SMBUS_Aliased_Defines HAL SMBUS Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define SMBUS_DUALADDRESS_DISABLED      SMBUS_DUALADDRESS_DISABLE
> @@ -1128,7 +1132,7 @@
>    */
>
>  /** @defgroup HAL_SPI_Aliased_Defines HAL SPI Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define SPI_TIMODE_DISABLED             SPI_TIMODE_DISABLE
> @@ -1160,7 +1164,7 @@
>    */
>
>  /** @defgroup HAL_TIM_Aliased_Defines HAL TIM Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define CCER_CCxE_MASK                   TIM_CCER_CCxE_MASK
> @@ -1255,7 +1259,7 @@
>    */
>
>  /** @defgroup HAL_TSC_Aliased_Defines HAL TSC Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define TSC_SYNC_POL_FALL        TSC_SYNC_POLARITY_FALLING
> @@ -1265,7 +1269,7 @@
>    */
>
>  /** @defgroup HAL_UART_Aliased_Defines HAL UART Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define UART_ONEBIT_SAMPLING_DISABLED   UART_ONE_BIT_SAMPLE_DISABLE
> @@ -1297,7 +1301,7 @@
>
>
>  /** @defgroup HAL_USART_Aliased_Defines HAL USART Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -1311,7 +1315,7 @@
>    */
>
>  /** @defgroup HAL_WWDG_Aliased_Defines HAL WWDG Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define CFR_BASE                    WWDG_CFR_BASE
> @@ -1321,7 +1325,7 @@
>    */
>
>  /** @defgroup HAL_CAN_Aliased_Defines HAL CAN Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define CAN_FilterFIFO0             CAN_FILTER_FIFO0
> @@ -1340,7 +1344,7 @@
>    */
>
>  /** @defgroup HAL_ETH_Aliased_Defines HAL ETH Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -1401,7 +1405,7 @@
>    */
>
>  /** @defgroup HAL_DCMI_Aliased_Defines HAL DCMI Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_DCMI_ERROR_OVF      HAL_DCMI_ERROR_OVR
> @@ -1421,7 +1425,7 @@
>    || defined(STM32F429xx) || defined(STM32F439xx) || defined(STM32F469xx)
> || defined(STM32F479xx) \
>    || defined(STM32H7)
>  /** @defgroup HAL_DMA2D_Aliased_Defines HAL DMA2D Aliased Defines
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define DMA2D_ARGB8888          DMA2D_OUTPUT_ARGB8888
> @@ -1447,7 +1451,7 @@
>  #endif  /* STM32L4 ||  STM32F7 ||  STM32F4 ||  STM32H7 */
>
>  /** @defgroup HAL_PPP_Aliased_Defines HAL PPP Aliased Defines maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -1458,7 +1462,7 @@
>  /* Exported functions
> --------------------------------------------------------*/
>
>  /** @defgroup HAL_CRYP_Aliased_Functions HAL CRYP Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_CRYP_ComputationCpltCallback
>  HAL_CRYPEx_ComputationCpltCallback
> @@ -1467,7 +1471,7 @@
>    */
>
>  /** @defgroup HAL_HASH_Aliased_Functions HAL HASH Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_HASH_STATETypeDef        HAL_HASH_StateTypeDef
> @@ -1518,7 +1522,7 @@
>    */
>
>  /** @defgroup HAL_Aliased_Functions HAL Generic Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_EnableDBGSleepMode HAL_DBGMCU_EnableDBGSleepMode
> @@ -1548,7 +1552,7 @@
>    */
>
>  /** @defgroup HAL_FLASH_Aliased_Functions HAL FLASH Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define FLASH_HalfPageProgram      HAL_FLASHEx_HalfPageProgram
> @@ -1564,7 +1568,7 @@
>    */
>
>  /** @defgroup HAL_I2C_Aliased_Functions HAL I2C Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_I2CEx_AnalogFilter_Config         HAL_I2CEx_ConfigAnalogFilter
> @@ -1602,7 +1606,7 @@
>    */
>
>  /** @defgroup HAL_PWR_Aliased HAL PWR Aliased maintained for legacy
> purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -1660,7 +1664,7 @@
>    */
>
>  /** @defgroup HAL_SMBUS_Aliased_Functions HAL SMBUS Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_SMBUS_Slave_Listen_IT          HAL_SMBUS_EnableListen_IT
> @@ -1671,7 +1675,7 @@
>    */
>
>  /** @defgroup HAL_SPI_Aliased_Functions HAL SPI Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_SPI_FlushRxFifo                HAL_SPIEx_FlushRxFifo
> @@ -1680,7 +1684,7 @@
>    */
>
>  /** @defgroup HAL_TIM_Aliased_Functions HAL TIM Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_TIM_DMADelayPulseCplt
>  TIM_DMADelayPulseCplt
> @@ -1700,7 +1704,7 @@
>    */
>
>  /** @defgroup HAL_UART_Aliased_Functions HAL UART Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_UART_WakeupCallback HAL_UARTEx_WakeupCallback
> @@ -1709,7 +1713,7 @@
>    */
>
>  /** @defgroup HAL_LTDC_Aliased_Functions HAL LTDC Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_LTDC_LineEvenCallback HAL_LTDC_LineEventCallback
> @@ -1722,7 +1726,7 @@
>
>
>  /** @defgroup HAL_PPP_Aliased_Functions HAL PPP Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -1733,7 +1737,7 @@
>  /* Exported macros
> ------------------------------------------------------------*/
>
>  /** @defgroup HAL_AES_Aliased_Macros HAL CRYP Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define AES_IT_CC                      CRYP_IT_CC
> @@ -1744,7 +1748,7 @@
>    */
>
>  /** @defgroup HAL_Aliased_Macros HAL Generic Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_GET_BOOT_MODE                   __HAL_SYSCFG_GET_BOOT_MODE
> @@ -1774,7 +1778,7 @@
>
>
>  /** @defgroup HAL_ADC_Aliased_Macros HAL ADC Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __ADC_ENABLE                                     __HAL_ADC_ENABLE
> @@ -1859,7 +1863,7 @@
>    */
>
>  /** @defgroup HAL_DAC_Aliased_Macros HAL DAC Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_DHR12R1_ALIGNEMENT
> DAC_DHR12R1_ALIGNMENT
> @@ -1872,7 +1876,7 @@
>    */
>
>  /** @defgroup HAL_DBGMCU_Aliased_Macros HAL DBGMCU Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_FREEZE_TIM1_DBGMCU __HAL_DBGMCU_FREEZE_TIM1
> @@ -1945,7 +1949,7 @@
>    */
>
>  /** @defgroup HAL_COMP_Aliased_Macros HAL COMP Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #if defined(STM32F3)
> @@ -2123,7 +2127,7 @@
>
>  #if defined(STM32L0) || defined(STM32L4)
>  /** @defgroup HAL_COMP_Aliased_Functions HAL COMP Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define HAL_COMP_Start_IT       HAL_COMP_Start /* Function considered as
> legacy as EXTI event or IT configuration is done into HAL_COMP_Init() */
> @@ -2134,7 +2138,7 @@
>  #endif
>
>  /** @defgroup HAL_DAC_Aliased_Macros HAL DAC Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -2147,7 +2151,7 @@
>    */
>
>  /** @defgroup HAL_FLASH_Aliased_Macros HAL FLASH Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -2163,7 +2167,7 @@
>    */
>
>  /** @defgroup HAL_I2C_Aliased_Macros HAL I2C Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -2191,7 +2195,7 @@
>    */
>
>  /** @defgroup HAL_I2S_Aliased_Macros HAL I2S Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -2207,7 +2211,7 @@
>    */
>
>  /** @defgroup HAL_IRDA_Aliased_Macros HAL IRDA Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -2228,7 +2232,7 @@
>
>
>  /** @defgroup HAL_IWDG_Aliased_Macros HAL IWDG Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_IWDG_ENABLE_WRITE_ACCESS  IWDG_ENABLE_WRITE_ACCESS
> @@ -2239,7 +2243,7 @@
>
>
>  /** @defgroup HAL_LPTIM_Aliased_Macros HAL LPTIM Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -2253,7 +2257,7 @@
>
>
>  /** @defgroup HAL_OPAMP_Aliased_Macros HAL OPAMP Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __OPAMP_CSR_OPAXPD                OPAMP_CSR_OPAXPD
> @@ -2276,7 +2280,7 @@
>
>
>  /** @defgroup HAL_PWR_Aliased_Macros HAL PWR Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_PVD_EVENT_DISABLE
> __HAL_PWR_PVD_EXTI_DISABLE_EVENT
> @@ -2334,7 +2338,7 @@
>
>
>  /** @defgroup HAL_RCC_Aliased HAL RCC Aliased maintained for legacy
> purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -3428,7 +3432,7 @@
>    */
>
>  /** @defgroup HAL_RNG_Aliased_Macros HAL RNG Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define  HAL_RNG_ReadyCallback(__HANDLE__)
> HAL_RNG_ReadyDataCallback((__HANDLE__), uint32_t random32bit)
> @@ -3438,7 +3442,7 @@
>    */
>
>  /** @defgroup HAL_RTC_Aliased_Macros HAL RTC Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #if defined (STM32G0) || defined (STM32L5) || defined (STM32L412xx) ||
> defined (STM32L422xx) || defined (STM32L4P5xx) || defined (STM32L4Q5xx) ||
> defined (STM32G4)
> @@ -3499,7 +3503,7 @@
>    */
>
>  /** @defgroup HAL_SD_Aliased_Macros HAL SD Aliased Macros maintained for
> legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -3581,7 +3585,7 @@
>    */
>
>  /** @defgroup HAL_SMARTCARD_Aliased_Macros HAL SMARTCARD Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -3602,7 +3606,7 @@
>    */
>
>  /** @defgroup HAL_SMBUS_Aliased_Macros HAL SMBUS Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_SMBUS_RESET_CR1           SMBUS_RESET_CR1
> @@ -3618,7 +3622,7 @@
>    */
>
>  /** @defgroup HAL_SPI_Aliased_Macros HAL SPI Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -3631,7 +3635,7 @@
>    */
>
>  /** @defgroup HAL_UART_Aliased_Macros HAL UART Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -3651,7 +3655,7 @@
>
>
>  /** @defgroup HAL_USART_Aliased_Macros HAL USART Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -3668,7 +3672,7 @@
>    */
>
>  /** @defgroup HAL_USB_Aliased_Macros HAL USB Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define USB_EXTI_LINE_WAKEUP
>  USB_WAKEUP_EXTI_LINE
> @@ -3719,7 +3723,7 @@
>    */
>
>  /** @defgroup HAL_TIM_Aliased_Macros HAL TIM Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_TIM_SetICPrescalerValue   TIM_SET_ICPRESCALERVALUE
> @@ -3749,7 +3753,7 @@
>    */
>
>  /** @defgroup HAL_ETH_Aliased_Macros HAL ETH Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> @@ -3769,7 +3773,7 @@
>    */
>
>  /** @defgroup HAL_LTDC_Aliased_Macros HAL LTDC Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define __HAL_LTDC_LAYER LTDC_LAYER
> @@ -3779,7 +3783,7 @@
>    */
>
>  /** @defgroup HAL_SAI_Aliased_Macros HAL SAI Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #define SAI_OUTPUTDRIVE_DISABLED          SAI_OUTPUTDRIVE_DISABLE
> @@ -3801,7 +3805,7 @@
>    */
>
>  /** @defgroup HAL_SPDIFRX_Aliased_Macros HAL SPDIFRX Aliased Macros
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #if defined(STM32H7)
> @@ -3814,7 +3818,7 @@
>    */
>
>  /** @defgroup HAL_HRTIM_Aliased_Functions HAL HRTIM Aliased Functions
> maintained for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #if defined (STM32H7) || defined (STM32G4) || defined (STM32F3)
> @@ -3830,7 +3834,7 @@
>    */
>
>  /** @defgroup HAL_QSPI_Aliased_Macros HAL QSPI Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>  #if defined (STM32L4) || defined (STM32F4) || defined (STM32F7) ||
> defined(STM32H7)
> @@ -3841,7 +3845,7 @@
>    */
>
>  /** @defgroup HAL_PPP_Aliased_Macros HAL PPP Aliased Macros maintained
> for legacy purpose
> -  * @ingroup RTEMSBSPsARMSTM32H7
> +  * @ingroup RTEMSBSPsARMSTM32H7
>    * @{
>    */
>
> --
> 2.25.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210420/977cc726/attachment-0001.html>


More information about the devel mailing list