Skip to content

Commit e07c02a

Browse files
committed
Update STM32L0xx HAL Drivers to v1.10.1
Included in STM32CubeL0 FW V1.11.1 Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 2ab0a44 commit e07c02a

9 files changed

+174
-128
lines changed

system/Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_conf_template.h

+39-39
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
******************************************************************************
33
* @file stm32l0xx_hal_conf.h
44
* @author MCD Application Team
5-
* @brief HAL configuration template file.
5+
* @brief HAL configuration template file.
66
* This file should be copied to the application folder and renamed
77
* to stm32l0xx_hal_conf.h.
88
******************************************************************************
@@ -17,7 +17,7 @@
1717
* opensource.org/licenses/BSD-3-Clause
1818
*
1919
******************************************************************************
20-
*/
20+
*/
2121

2222
/* Define to prevent recursive inclusion -------------------------------------*/
2323
#ifndef __STM32L0xx_HAL_CONF_H
@@ -32,46 +32,46 @@
3232

3333
/* ########################## Module Selection ############################## */
3434
/**
35-
* @brief This is the list of modules to be used in the HAL driver
35+
* @brief This is the list of modules to be used in the HAL driver
3636
*/
37-
#define HAL_MODULE_ENABLED
38-
#define HAL_ADC_MODULE_ENABLED
39-
#define HAL_COMP_MODULE_ENABLED
40-
#define HAL_CRC_MODULE_ENABLED
41-
#define HAL_CRYP_MODULE_ENABLED
42-
#define HAL_DAC_MODULE_ENABLED
37+
#define HAL_MODULE_ENABLED
38+
#define HAL_ADC_MODULE_ENABLED
39+
#define HAL_COMP_MODULE_ENABLED
40+
#define HAL_CRC_MODULE_ENABLED
41+
#define HAL_CRYP_MODULE_ENABLED
42+
#define HAL_DAC_MODULE_ENABLED
4343
#define HAL_DMA_MODULE_ENABLED
4444
#define HAL_FIREWALL_MODULE_ENABLED
4545
#define HAL_FLASH_MODULE_ENABLED
4646
#define HAL_GPIO_MODULE_ENABLED
4747
#define HAL_I2C_MODULE_ENABLED
48-
#define HAL_I2S_MODULE_ENABLED
48+
#define HAL_I2S_MODULE_ENABLED
4949
#define HAL_IWDG_MODULE_ENABLED
50-
#define HAL_LCD_MODULE_ENABLED
50+
#define HAL_LCD_MODULE_ENABLED
5151
#define HAL_LPTIM_MODULE_ENABLED
52-
#define HAL_PWR_MODULE_ENABLED
53-
#define HAL_RCC_MODULE_ENABLED
54-
#define HAL_RNG_MODULE_ENABLED
52+
#define HAL_PWR_MODULE_ENABLED
53+
#define HAL_RCC_MODULE_ENABLED
54+
#define HAL_RNG_MODULE_ENABLED
5555
#define HAL_RTC_MODULE_ENABLED
56-
#define HAL_SPI_MODULE_ENABLED
56+
#define HAL_SPI_MODULE_ENABLED
5757
#define HAL_TIM_MODULE_ENABLED
58-
#define HAL_TSC_MODULE_ENABLED
59-
#define HAL_UART_MODULE_ENABLED
60-
#define HAL_USART_MODULE_ENABLED
61-
#define HAL_IRDA_MODULE_ENABLED
62-
#define HAL_SMARTCARD_MODULE_ENABLED
63-
#define HAL_SMBUS_MODULE_ENABLED
64-
#define HAL_WWDG_MODULE_ENABLED
58+
#define HAL_TSC_MODULE_ENABLED
59+
#define HAL_UART_MODULE_ENABLED
60+
#define HAL_USART_MODULE_ENABLED
61+
#define HAL_IRDA_MODULE_ENABLED
62+
#define HAL_SMARTCARD_MODULE_ENABLED
63+
#define HAL_SMBUS_MODULE_ENABLED
64+
#define HAL_WWDG_MODULE_ENABLED
6565
#define HAL_CORTEX_MODULE_ENABLED
66-
#define HAL_PCD_MODULE_ENABLED
66+
#define HAL_PCD_MODULE_ENABLED
6767

6868
/* ########################## Oscillator Values adaptation ####################*/
6969
/**
7070
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
7171
* This value is used by the RCC HAL module to compute the system frequency
72-
* (when HSE is used as system clock source, directly or through the PLL).
72+
* (when HSE is used as system clock source, directly or through the PLL).
7373
*/
74-
#if !defined (HSE_VALUE)
74+
#if !defined (HSE_VALUE)
7575
#define HSE_VALUE ((uint32_t)8000000U) /*!< Value of the External oscillator in Hz */
7676
#endif /* HSE_VALUE */
7777

@@ -90,7 +90,7 @@
9090
/**
9191
* @brief Internal High Speed oscillator (HSI) value.
9292
* This value is used by the RCC HAL module to compute the system frequency
93-
* (when HSI is used as system clock source, directly or through the PLL).
93+
* (when HSI is used as system clock source, directly or through the PLL).
9494
*/
9595
#if !defined (HSI_VALUE)
9696
#define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
@@ -99,7 +99,7 @@
9999
/**
100100
* @brief Internal High Speed oscillator for USB (HSI48) value.
101101
*/
102-
#if !defined (HSI48_VALUE)
102+
#if !defined (HSI48_VALUE)
103103
#define HSI48_VALUE ((uint32_t)48000000U) /*!< Value of the Internal High Speed oscillator for USB in Hz.
104104
The real value may vary depending on the variations
105105
in voltage and temperature. */
@@ -108,7 +108,7 @@
108108
/**
109109
* @brief Internal Low Speed oscillator (LSI) value.
110110
*/
111-
#if !defined (LSI_VALUE)
111+
#if !defined (LSI_VALUE)
112112
#define LSI_VALUE ((uint32_t)37000U) /*!< LSI Typical Value in Hz*/
113113
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
114114
The real value may vary depending on the variations
@@ -128,24 +128,24 @@
128128
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
129129
#endif /* LSE_STARTUP_TIMEOUT */
130130

131-
131+
132132
/* Tip: To avoid modifying this file each time you need to use different HSE,
133133
=== you can define the HSE value in your toolchain compiler preprocessor. */
134134

135135
/* ########################### System Configuration ######################### */
136136
/**
137137
* @brief This is the HAL system configuration section
138-
*/
138+
*/
139139
#define VDD_VALUE ((uint32_t)3300U) /*!< Value of VDD in mv */
140140
#define TICK_INT_PRIORITY (((uint32_t)1U<<__NVIC_PRIO_BITS) - 1U) /*!< tick interrupt priority */
141-
#define USE_RTOS 0U
141+
#define USE_RTOS 0U
142142
#define PREFETCH_ENABLE 1U
143143
#define PREREAD_ENABLE 0U
144144
#define BUFFER_CACHE_DISABLE 0U
145145

146146
/* ########################## Assert Selection ############################## */
147147
/**
148-
* @brief Uncomment the line below to expanse the "assert_param" macro in the
148+
* @brief Uncomment the line below to expanse the "assert_param" macro in the
149149
* HAL drivers code
150150
*/
151151
/* #define USE_FULL_ASSERT 1U */
@@ -191,13 +191,13 @@
191191

192192
/* Includes ------------------------------------------------------------------*/
193193
/**
194-
* @brief Include module's header file
194+
* @brief Include module's header file
195195
*/
196196

197197
#ifdef HAL_RCC_MODULE_ENABLED
198198
#include "stm32l0xx_hal_rcc.h"
199199
#endif /* HAL_RCC_MODULE_ENABLED */
200-
200+
201201
#ifdef HAL_GPIO_MODULE_ENABLED
202202
#include "stm32l0xx_hal_gpio.h"
203203
#endif /* HAL_GPIO_MODULE_ENABLED */
@@ -233,11 +233,11 @@
233233
#ifdef HAL_FIREWALL_MODULE_ENABLED
234234
#include "stm32l0xx_hal_firewall.h"
235235
#endif /* HAL_FIREWALL_MODULE_ENABLED */
236-
236+
237237
#ifdef HAL_FLASH_MODULE_ENABLED
238238
#include "stm32l0xx_hal_flash.h"
239239
#endif /* HAL_FLASH_MODULE_ENABLED */
240-
240+
241241
#ifdef HAL_I2C_MODULE_ENABLED
242242
#include "stm32l0xx_hal_i2c.h"
243243
#endif /* HAL_I2C_MODULE_ENABLED */
@@ -257,7 +257,7 @@
257257
#ifdef HAL_LPTIM_MODULE_ENABLED
258258
#include "stm32l0xx_hal_lptim.h"
259259
#endif /* HAL_LPTIM_MODULE_ENABLED */
260-
260+
261261
#ifdef HAL_PWR_MODULE_ENABLED
262262
#include "stm32l0xx_hal_pwr.h"
263263
#endif /* HAL_PWR_MODULE_ENABLED */
@@ -316,7 +316,7 @@
316316
* @brief The assert_param macro is used for function's parameters check.
317317
* @param expr If expr is false, it calls assert_failed function
318318
* which reports the name of the source file and the source
319-
* line number of the call that failed.
319+
* line number of the call that failed.
320320
* If expr is true, it returns no value.
321321
* @retval None
322322
*/
@@ -332,7 +332,7 @@
332332
#endif
333333

334334
#endif /* __STM32L0xx_HAL_CONF_H */
335-
335+
336336

337337
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
338338

system/Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_spi.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; Copyright(c) 2016 STMicroelectronics.
9+
* <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
1010
* All rights reserved.</center></h2>
1111
*
1212
* This software component is licensed by ST under BSD 3-Clause license,
@@ -571,7 +571,7 @@ typedef void (*pSPI_CallbackTypeDef)(SPI_HandleTypeDef *hspi); /*!< pointer to
571571
((__CPHA__) == SPI_PHASE_2EDGE))
572572

573573
/** @brief Checks if SPI Slave Select parameter is in allowed range.
574-
* @param __NSS__ specifies the SPI Slave Slelect management parameter.
574+
* @param __NSS__ specifies the SPI Slave Select management parameter.
575575
* This parameter can be a value of @ref SPI_Slave_Select_management
576576
* @retval None
577577
*/

0 commit comments

Comments
 (0)