Skip to content

Commit 8955b66

Browse files
LMESTMErwan GOURIOU
authored andcommitted
[STM32F4] Update to cube V1.11.0
This cube version includes HAL to V1.4.4 CMSIS to V2.4.3
1 parent 08733d1 commit 8955b66

File tree

198 files changed

+65021
-60993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+65021
-60993
lines changed

hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f446xx.h

Lines changed: 5542 additions & 5494 deletions
Large diffs are not rendered by default.

hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f4xx.h
44
* @author MCD Application Team
5-
* @version V2.4.2
6-
* @date 13-November-2015
5+
* @version V2.4.3
6+
* @date 22-January-2016
77
* @brief CMSIS STM32F4xx Device Peripheral Access Layer Header File.
88
*
99
* The file is the unique include file that the application programmer
@@ -18,7 +18,7 @@
1818
******************************************************************************
1919
* @attention
2020
*
21-
* <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
21+
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
2222
*
2323
* Redistribution and use in source and binary forms, with or without modification,
2424
* are permitted provided that the following conditions are met:
@@ -77,8 +77,8 @@
7777
#if !defined (STM32F405xx) && !defined (STM32F415xx) && !defined (STM32F407xx) && !defined (STM32F417xx) && \
7878
!defined (STM32F427xx) && !defined (STM32F437xx) && !defined (STM32F429xx) && !defined (STM32F439xx) && \
7979
!defined (STM32F401xC) && !defined (STM32F401xE) && !defined (STM32F410Tx) && !defined (STM32F410Cx) && \
80-
!defined (STM32F410Rx) && !defined (STM32F411xE) && !defined (STM32F446xx) && !defined (STM32F469xx) && \
81-
!defined (STM32F479xx)
80+
!defined (STM32F410Rx) && !defined (STM32F411xE) && !defined (STM32F446xx) && !defined (STM32F469xx) && \
81+
!defined (STM32F479xx)
8282
/* #define STM32F405xx */ /*!< STM32F405RG, STM32F405VG and STM32F405ZG Devices */
8383
/* #define STM32F415xx */ /*!< STM32F415RG, STM32F415VG and STM32F415ZG Devices */
8484
/* #define STM32F407xx */ /*!< STM32F407VG, STM32F407VE, STM32F407ZG, STM32F407ZE, STM32F407IG and STM32F407IE Devices */
@@ -116,16 +116,16 @@
116116
#endif /* USE_HAL_DRIVER */
117117

118118
/**
119-
* @brief CMSIS Device version number V2.4.2
119+
* @brief CMSIS version number V2.4.3
120120
*/
121-
#define __STM32F4xx_CMSIS_DEVICE_VERSION_MAIN (0x02) /*!< [31:24] main version */
122-
#define __STM32F4xx_CMSIS_DEVICE_VERSION_SUB1 (0x04) /*!< [23:16] sub1 version */
123-
#define __STM32F4xx_CMSIS_DEVICE_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */
124-
#define __STM32F4xx_CMSIS_DEVICE_VERSION_RC (0x00) /*!< [7:0] release candidate */
125-
#define __STM32F4xx_CMSIS_DEVICE_VERSION ((__STM32F4xx_CMSIS_DEVICE_VERSION_MAIN << 24)\
126-
|(__STM32F4xx_CMSIS_DEVICE_VERSION_SUB1 << 16)\
127-
|(__STM32F4xx_CMSIS_DEVICE_VERSION_SUB2 << 8 )\
128-
|(__STM32F4xx_CMSIS_DEVICE_VERSION))
121+
#define __STM32F4xx_CMSIS_VERSION_MAIN (0x02U) /*!< [31:24] main version */
122+
#define __STM32F4xx_CMSIS_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */
123+
#define __STM32F4xx_CMSIS_VERSION_SUB2 (0x03U) /*!< [15:8] sub2 version */
124+
#define __STM32F4xx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
125+
#define __STM32F4xx_CMSIS_VERSION ((__STM32F4xx_CMSIS_VERSION_MAIN << 24)\
126+
|(__STM32F4xx_CMSIS_VERSION_SUB1 << 16)\
127+
|(__STM32F4xx_CMSIS_VERSION_SUB2 << 8 )\
128+
|(__STM32F4xx_CMSIS_VERSION))
129129

130130
/**
131131
* @}
@@ -182,20 +182,20 @@
182182
*/
183183
typedef enum
184184
{
185-
RESET = 0,
185+
RESET = 0U,
186186
SET = !RESET
187187
} FlagStatus, ITStatus;
188188

189189
typedef enum
190190
{
191-
DISABLE = 0,
191+
DISABLE = 0U,
192192
ENABLE = !DISABLE
193193
} FunctionalState;
194194
#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
195195

196196
typedef enum
197197
{
198-
ERROR = 0,
198+
ERROR = 0U,
199199
SUCCESS = !ERROR
200200
} ErrorStatus;
201201

0 commit comments

Comments
 (0)