fix trailing space and new line
temporarily disable codespell
This commit is contained in:
		| @@ -15,7 +15,7 @@ | ||||
|   *                        opensource.org/licenses/BSD-3-Clause | ||||
|   * | ||||
|   ****************************************************************************** | ||||
|   */  | ||||
|   */ | ||||
|  | ||||
| /* Define to prevent recursive inclusion -------------------------------------*/ | ||||
| #ifndef __STM32F2xx_HAL_CONF_H | ||||
| @@ -30,9 +30,9 @@ | ||||
|  | ||||
| /* ########################## Module Selection ############################## */ | ||||
| /** | ||||
|   * @brief This is the list of modules to be used in the HAL driver  | ||||
|   * @brief This is the list of modules to be used in the HAL driver | ||||
|   */ | ||||
| #define HAL_MODULE_ENABLED   | ||||
| #define HAL_MODULE_ENABLED | ||||
| /* #define HAL_ADC_MODULE_ENABLED   */ | ||||
| /* #define HAL_CAN_MODULE_ENABLED   */ | ||||
| /* #define HAL_CRC_MODULE_ENABLED   */ | ||||
| @@ -42,7 +42,7 @@ | ||||
| /* #define HAL_DMA_MODULE_ENABLED */ | ||||
| /* #define HAL_ETH_MODULE_ENABLED */ | ||||
| #define HAL_EXTI_MODULE_ENABLED | ||||
| #define HAL_FLASH_MODULE_ENABLED  | ||||
| #define HAL_FLASH_MODULE_ENABLED | ||||
| /* #define HAL_NAND_MODULE_ENABLED */ | ||||
| /* #define HAL_NOR_MODULE_ENABLED */ | ||||
| /* #define HAL_PCCARD_MODULE_ENABLED */ | ||||
| @@ -52,8 +52,8 @@ | ||||
| /* #define HAL_I2C_MODULE_ENABLED */ | ||||
| /* #define HAL_I2S_MODULE_ENABLED    */ | ||||
| /* #define HAL_IWDG_MODULE_ENABLED  */ | ||||
| #define HAL_PWR_MODULE_ENABLED    | ||||
| #define HAL_RCC_MODULE_ENABLED  | ||||
| #define HAL_PWR_MODULE_ENABLED | ||||
| #define HAL_RCC_MODULE_ENABLED | ||||
| /* #define HAL_RNG_MODULE_ENABLED    */ | ||||
| /* #define HAL_RTC_MODULE_ENABLED */ | ||||
| /* #define HAL_SD_MODULE_ENABLED   */ | ||||
| @@ -65,7 +65,7 @@ | ||||
| /* #define HAL_SMARTCARD_MODULE_ENABLED  */ | ||||
| /* #define HAL_WWDG_MODULE_ENABLED   */ | ||||
| #define HAL_CORTEX_MODULE_ENABLED | ||||
| #define HAL_PCD_MODULE_ENABLED  | ||||
| #define HAL_PCD_MODULE_ENABLED | ||||
| /* #define HAL_HCD_MODULE_ENABLED */ | ||||
|  | ||||
|  | ||||
| @@ -73,9 +73,9 @@ | ||||
| /** | ||||
|   * @brief Adjust the value of External High Speed oscillator (HSE) used in your application. | ||||
|   *        This value is used by the RCC HAL module to compute the system frequency | ||||
|   *        (when HSE is used as system clock source, directly or through the PLL).   | ||||
|   *        (when HSE is used as system clock source, directly or through the PLL). | ||||
|   */ | ||||
| #if !defined  (HSE_VALUE)  | ||||
| #if !defined  (HSE_VALUE) | ||||
|   #define HSE_VALUE                     8000000U       /*!< Value of the External oscillator in Hz */ | ||||
| #endif /* HSE_VALUE */ | ||||
|  | ||||
| @@ -86,7 +86,7 @@ | ||||
| /** | ||||
|   * @brief Internal High Speed oscillator (HSI) value. | ||||
|   *        This value is used by the RCC HAL module to compute the system frequency | ||||
|   *        (when HSI is used as system clock source, directly or through the PLL).  | ||||
|   *        (when HSI is used as system clock source, directly or through the PLL). | ||||
|   */ | ||||
| #if !defined  (HSI_VALUE) | ||||
|   #define HSI_VALUE                    16000000U       /*!< Value of the Internal oscillator in Hz*/ | ||||
| @@ -95,7 +95,7 @@ | ||||
| /** | ||||
|   * @brief Internal Low Speed oscillator (LSI) value. | ||||
|   */ | ||||
| #if !defined  (LSI_VALUE)  | ||||
| #if !defined  (LSI_VALUE) | ||||
|  #define LSI_VALUE                        32000U       /*!< LSI Typical Value in Hz*/ | ||||
| #endif /* LSI_VALUE */                                 /*!< Value of the Internal Low Speed oscillator in Hz | ||||
|                                                             The real value may vary depending on the variations | ||||
| @@ -113,8 +113,8 @@ | ||||
|  | ||||
| /** | ||||
|   * @brief External clock source for I2S peripheral | ||||
|   *        This value is used by the I2S HAL module to compute the I2S clock source  | ||||
|   *        frequency, this source is inserted directly through I2S_CKIN pad.  | ||||
|   *        This value is used by the I2S HAL module to compute the I2S clock source | ||||
|   *        frequency, this source is inserted directly through I2S_CKIN pad. | ||||
|   */ | ||||
| #if !defined  (EXTERNAL_CLOCK_VALUE) | ||||
|   #define EXTERNAL_CLOCK_VALUE       12288000U        /*!< Value of the Internal oscillator in Hz*/ | ||||
| @@ -126,7 +126,7 @@ | ||||
| /* ########################### System Configuration ######################### */ | ||||
| /** | ||||
|   * @brief This is the HAL system configuration section | ||||
|   */      | ||||
|   */ | ||||
| #define  VDD_VALUE                      3300U /*!< Value of VDD in mv */ | ||||
| #define  TICK_INT_PRIORITY              0x0FU /*!< tick interrupt priority */ | ||||
| #define  USE_RTOS                          0U | ||||
| @@ -163,7 +163,7 @@ | ||||
|  | ||||
| /* ########################## Assert Selection ############################## */ | ||||
| /** | ||||
|   * @brief Uncomment the line below to expanse the "assert_param" macro in the  | ||||
|   * @brief Uncomment the line below to expanse the "assert_param" macro in the | ||||
|   *        HAL drivers code | ||||
|   */ | ||||
| /* #define USE_FULL_ASSERT    1U */ | ||||
| @@ -180,7 +180,7 @@ | ||||
| #define MAC_ADDR4                         0U | ||||
| #define MAC_ADDR5                         0U | ||||
|  | ||||
| /* Definition of the Ethernet driver buffers size and count */    | ||||
| /* Definition of the Ethernet driver buffers size and count */ | ||||
| #define ETH_RX_BUF_SIZE                   ETH_MAX_PACKET_SIZE /* buffer size for receive               */ | ||||
| #define ETH_TX_BUF_SIZE                   ETH_MAX_PACKET_SIZE /* buffer size for transmit              */ | ||||
| #define ETH_RXBUFNB                       5U       /* 5 Rx buffers of size ETH_RX_BUF_SIZE  */ | ||||
| @@ -190,7 +190,7 @@ | ||||
|  | ||||
| /* LAN8742A PHY Address*/ | ||||
| #define LAN8742A_PHY_ADDRESS            0x00U | ||||
| /* PHY Reset delay these values are based on a 1 ms Systick interrupt*/  | ||||
| /* PHY Reset delay these values are based on a 1 ms Systick interrupt*/ | ||||
| #define PHY_RESET_DELAY                 0x000000FFU | ||||
| /* PHY Configuration delay */ | ||||
| #define PHY_CONFIG_DELAY                0x00000FFFU | ||||
| @@ -202,7 +202,7 @@ | ||||
|  | ||||
| #define PHY_BCR                         ((uint16_t)0x0000)  /*!< Transceiver Basic Control Register   */ | ||||
| #define PHY_BSR                         ((uint16_t)0x0001)  /*!< Transceiver Basic Status Register    */ | ||||
|   | ||||
|  | ||||
| #define PHY_RESET                       ((uint16_t)0x8000)  /*!< PHY Reset */ | ||||
| #define PHY_LOOPBACK                    ((uint16_t)0x4000)  /*!< Select loop-back mode */ | ||||
| #define PHY_FULLDUPLEX_100M             ((uint16_t)0x2100)  /*!< Set the full-duplex mode at 100 Mb/s */ | ||||
| @@ -217,7 +217,7 @@ | ||||
| #define PHY_AUTONEGO_COMPLETE           ((uint16_t)0x0020)  /*!< Auto-Negotiation process completed   */ | ||||
| #define PHY_LINKED_STATUS               ((uint16_t)0x0004)  /*!< Valid link established               */ | ||||
| #define PHY_JABBER_DETECTION            ((uint16_t)0x0002)  /*!< Jabber condition detected            */ | ||||
|    | ||||
|  | ||||
| /* Section 4: Extended PHY Registers */ | ||||
|  | ||||
| #define PHY_SR                          ((uint16_t)0x1F)    /*!< PHY special control/ status register Offset     */ | ||||
| @@ -228,7 +228,7 @@ | ||||
|  | ||||
| #define PHY_ISFR                        ((uint16_t)0x1D)    /*!< PHY Interrupt Source Flag register Offset       */ | ||||
| #define PHY_ISFR_INT4                   ((uint16_t)0x0010)  /*!< PHY Link down inturrupt                         */ | ||||
|   | ||||
|  | ||||
| /* ################## SPI peripheral configuration ########################## */ | ||||
|  | ||||
| /* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver | ||||
| @@ -240,7 +240,7 @@ | ||||
|  | ||||
| /* Includes ------------------------------------------------------------------*/ | ||||
| /** | ||||
|   * @brief Include module's header file  | ||||
|   * @brief Include module's header file | ||||
|   */ | ||||
|  | ||||
| #ifdef HAL_RCC_MODULE_ENABLED | ||||
| @@ -258,7 +258,7 @@ | ||||
| #ifdef HAL_DMA_MODULE_ENABLED | ||||
|   #include "stm32f2xx_hal_dma.h" | ||||
| #endif /* HAL_DMA_MODULE_ENABLED */ | ||||
|     | ||||
|  | ||||
| #ifdef HAL_CORTEX_MODULE_ENABLED | ||||
|   #include "stm32f2xx_hal_cortex.h" | ||||
| #endif /* HAL_CORTEX_MODULE_ENABLED */ | ||||
| @@ -276,7 +276,7 @@ | ||||
| #endif /* HAL_CRC_MODULE_ENABLED */ | ||||
|  | ||||
| #ifdef HAL_CRYP_MODULE_ENABLED | ||||
|   #include "stm32f2xx_hal_cryp.h"  | ||||
|   #include "stm32f2xx_hal_cryp.h" | ||||
| #endif /* HAL_CRYP_MODULE_ENABLED */ | ||||
|  | ||||
| #ifdef HAL_DAC_MODULE_ENABLED | ||||
| @@ -294,7 +294,7 @@ | ||||
| #ifdef HAL_FLASH_MODULE_ENABLED | ||||
|   #include "stm32f2xx_hal_flash.h" | ||||
| #endif /* HAL_FLASH_MODULE_ENABLED */ | ||||
|   | ||||
|  | ||||
| #ifdef HAL_SRAM_MODULE_ENABLED | ||||
|   #include "stm32f2xx_hal_sram.h" | ||||
| #endif /* HAL_SRAM_MODULE_ENABLED */ | ||||
| @@ -309,7 +309,7 @@ | ||||
|  | ||||
| #ifdef HAL_PCCARD_MODULE_ENABLED | ||||
|   #include "stm32f2xx_hal_pccard.h" | ||||
| #endif /* HAL_PCCARD_MODULE_ENABLED */  | ||||
| #endif /* HAL_PCCARD_MODULE_ENABLED */ | ||||
|  | ||||
| #ifdef HAL_HASH_MODULE_ENABLED | ||||
|  #include "stm32f2xx_hal_hash.h" | ||||
| @@ -378,14 +378,14 @@ | ||||
| #ifdef HAL_HCD_MODULE_ENABLED | ||||
|  #include "stm32f2xx_hal_hcd.h" | ||||
| #endif /* HAL_HCD_MODULE_ENABLED */ | ||||
|     | ||||
|  | ||||
| /* Exported macro ------------------------------------------------------------*/ | ||||
| #ifdef  USE_FULL_ASSERT | ||||
| /** | ||||
|   * @brief  The assert_param macro is used for function's parameters check. | ||||
|   * @param  expr: If expr is false, it calls assert_failed function | ||||
|   *         which reports the name of the source file and the source | ||||
|   *         line number of the call that failed.  | ||||
|   *         line number of the call that failed. | ||||
|   *         If expr is true, it returns no value. | ||||
|   * @retval None | ||||
|   */ | ||||
| @@ -402,6 +402,6 @@ | ||||
| #endif | ||||
|  | ||||
| #endif /* __STM32F2xx_HAL_CONF_H */ | ||||
|   | ||||
|  | ||||
|  | ||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach