Skip to content

Commit 8b93b66

Browse files
committed
Release v1.05
- upgraded to HAL FW 1.10.0 - added target-specific configuration
2 parents c6e6b62 + 5c29804 commit 8b93b66

21 files changed

+1142
-1067
lines changed

Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@
114114
#endif /* USE_HAL_DRIVER */
115115

116116
/**
117-
* @brief CMSIS Device version number $VERSION$
117+
* @brief CMSIS Device version number
118118
*/
119119
#define __STM32L4_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
120120
#define __STM32L4_CMSIS_VERSION_SUB1 (0x04) /*!< [23:16] sub1 version */
121-
#define __STM32L4_CMSIS_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
121+
#define __STM32L4_CMSIS_VERSION_SUB2 (0x01) /*!< [15:8] sub2 version */
122122
#define __STM32L4_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
123123
#define __STM32L4_CMSIS_VERSION ((__STM32L4_CMSIS_VERSION_MAIN << 24)\
124124
|(__STM32L4_CMSIS_VERSION_SUB1 << 16)\

Drivers/STM32L4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h

Lines changed: 223 additions & 221 deletions
Large diffs are not rendered by default.

Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_def.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ typedef enum
8383
} while(0)
8484

8585
#define UNUSED(x) ((void)(x))
86-
86+
8787
/** @brief Reset the Handle's State field.
8888
* @param __HANDLE__: specifies the Peripheral Handle.
89-
* @note This macro can be used for the following purpose:
89+
* @note This macro can be used for the following purpose:
9090
* - When the Handle is declared as local variable; before passing it as parameter
91-
* to HAL_PPP_Init() for the first time, it is mandatory to use this macro
91+
* to HAL_PPP_Init() for the first time, it is mandatory to use this macro
9292
* to set to 0 the Handle's "State" field.
93-
* Otherwise, "State" field may have any random value and the first time the function
93+
* Otherwise, "State" field may have any random value and the first time the function
9494
* HAL_PPP_Init() is called, the low level hardware initialization will be missed
9595
* (i.e. HAL_PPP_MspInit() will not be executed).
9696
* - When there is a need to reconfigure the low level hardware: instead of calling
@@ -123,7 +123,7 @@ typedef enum
123123
}while (0)
124124
#endif /* USE_RTOS */
125125

126-
#if defined ( __GNUC__ )
126+
#if defined ( __GNUC__ ) && !defined (__CC_ARM) /* GNU Compiler */
127127
#ifndef __weak
128128
#define __weak __attribute__((weak))
129129
#endif /* __weak */
@@ -134,7 +134,7 @@ typedef enum
134134

135135

136136
/* Macro to get variable aligned on 4-bytes, for __ICCARM__ the directive "#pragma data_alignment=4" must be used instead */
137-
#if defined (__GNUC__) /* GNU Compiler */
137+
#if defined ( __GNUC__ ) && !defined (__CC_ARM) /* GNU Compiler */
138138
#ifndef __ALIGN_END
139139
#define __ALIGN_END __attribute__ ((aligned (4)))
140140
#endif /* __ALIGN_END */
@@ -186,14 +186,14 @@ typedef enum
186186

187187
#endif
188188

189-
/**
189+
/**
190190
* @brief __NOINLINE definition
191-
*/
191+
*/
192192
#if defined ( __CC_ARM ) || defined ( __GNUC__ )
193-
/* ARM & GNUCompiler
194-
----------------
193+
/* ARM & GNUCompiler
194+
----------------
195195
*/
196-
#define __NOINLINE __attribute__ ( (noinline) )
196+
#define __NOINLINE __attribute__ ( (noinline) )
197197

198198
#elif defined ( __ICCARM__ )
199199
/* ICCARM Compiler

Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,7 @@ typedef struct
16421642

16431643
#define __HAL_RCC_GPIOA_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOAEN) != RESET)
16441644

1645-
#define __HAL_RCC_GPIOB_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOCEN) != RESET)
1645+
#define __HAL_RCC_GPIOB_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOBEN) != RESET)
16461646

16471647
#define __HAL_RCC_GPIOC_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOCEN) != RESET)
16481648

0 commit comments

Comments
 (0)