8000 [F3] Update STM32F3xx CMSIS to v2.3.4 · stm32duino/Arduino_Core_STM32@195a4eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 195a4eb

Browse files
committed
[F3] Update STM32F3xx CMSIS to v2.3.4
Included in STM32CubeF3 FW V1.11.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent ff04da1 commit 195a4eb

35 files changed

+59470
-57344
lines changed

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f301x8.h

Lines changed: 2734 additions & 2738 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302x8.h

Lines changed: 3886 additions & 3878 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h

Lines changed: 4043 additions & 4001 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xe.h

Lines changed: 4915 additions & 4869 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f303x8.h

Lines changed: 3852 additions & 3864 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f303xc.h

Lines changed: 4380 additions & 4290 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f303xe.h

Lines changed: 5258 additions & 5164 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f318xx.h

Lines changed: 2730 additions & 2732 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f328xx.h

Lines changed: 3844 additions & 3856 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f334x8.h

Lines changed: 4892 additions & 4899 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f358xx.h

Lines changed: 4347 additions & 4269 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f373xc.h

Lines changed: 3546 additions & 3524 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f378xx.h

Lines changed: 3514 additions & 3504 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f398xx.h

Lines changed: 5225 additions & 5143 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f3xx.h

Lines changed: 15 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,13 @@
1616
******************************************************************************
1717
* @attention
1818
*
19-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
19+
* <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
20+
* All rights reserved.</center></h2>
2021
*
21-
* Redistribution and use in source and binary forms, with or without modification,
22-
* are permitted provided that the following conditions are met:
23-
* 1. Redistributions of source code must retain the above copyright notice,
24-
* this list of conditions and the following disclaimer.
25-
* 2. Redistributions in binary form must reproduce the above copyright notice,
26-
* this list of conditions and the following disclaimer in the documentation
27-
* and/or other materials provided with the distribution.
28-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
29-
* may be used to endorse or promote products derived from this software
30-
* without specific prior written permission.
31-
*
32-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
34-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
35-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
36-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
37-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
38-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
40-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
41-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
* This software component is licensed by ST under BSD 3-Clause license,
23+
* the "License"; You may not use this file except in compliance with the
24+
* License. You may obtain a copy of the License at:
25+
* opensource.org/licenses/BSD-3-Clause
4226
*
4327
******************************************************************************
4428
*/
@@ -119,11 +103,11 @@
119103
#endif /* USE_HAL_DRIVER */
120104

121105
/**
122-
* @brief CMSIS Device version number V2.3.2
106+
* @brief CMSIS Device version number V2.3.4
123107
*/
124-
#define __STM32F3_CMSIS_VERSION_MAIN (0x02) /*!< [31:24] main version */
108+
#define __STM32F3_CMSIS_VERSION_MAIN (0x02) /*!< [31:24] main version */
125109
#define __STM32F3_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
126-
#define __STM32F3_CMSIS_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */
110+
#define __STM32F3_CMSIS_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
127111
#define __STM32F3_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
128112
#define __STM32F3_CMSIS_VERSION ((__STM32F3_CMSIS_VERSION_MAIN << 24)\
129113
|(__STM32F3_CMSIS_VERSION_SUB1 << 16)\
@@ -179,20 +163,20 @@
179163
*/
180164
typedef enum
181165
{
182-
RESET = 0,
166+
RESET = 0U,
183167
SET = !RESET
184168
} FlagStatus, ITStatus;
185169

186170
typedef enum
187171
{
188-
DISABLE = 0,
172+
DISABLE = 0U,
189173
ENABLE = !DISABLE
190174
} FunctionalState;
191175
#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
192176

193177
typedef enum
194178
{
195-
SUCCESS = 0,
179+
SUCCESS = 0U,
196180
ERROR = !SUCCESS
197181
} ErrorStatus;
198182

@@ -221,15 +205,13 @@ typedef enum
221205
#define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL)))
222206

223207

224-
#if defined (USE_HAL_DRIVER)
225-
#include "stm32f3xx_hal.h"
226-
#endif /* USE_HAL_DRIVER */
227-
228-
229208
/**
230209
* @}
231210
*/
232211

212+
#if defined (USE_HAL_DRIVER)
213+
#include "stm32f3xx_hal.h"
214+
#endif /* USE_HAL_DRIVER */
233215

234216
#ifdef __cplusplus
235217
}

system/Drivers/CMSIS/Device/ST/STM32F3xx/Include/system_stm32f3xx.h

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,16 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
9+
* <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
10+
* All rights reserved.</center></h2>
1011
*
11-
* Redistribution and use in source and binary forms, with or without modification,
12-
* are permitted provided that the following conditions are met:
13-
* 1. Redistributions of source code must retain the above copyright notice,
14-
* this list of conditions and the following disclaimer.
15-
* 2. Redistributions in binary form must reproduce the above copyright notice,
16-
* this list of conditions and the following disclaimer in the documentation
17-
* and/or other materials provided with the distribution.
18-
* 3. Neither the name of STMicroelectronics nor the names of its contributors
19-
* may be used to endorse or promote products derived from this software
20-
* without specific prior written permission.
21-
*
22-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
26-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+
* This software component is licensed by ST under BSD 3-Clause license,
13+
* the "License"; You may not use this file except in compliance with the
14+
* License. You may obtain a copy of the License at:
15+
* opensource.org/licenses/BSD-3-Clause
3216
*
3317
******************************************************************************
34-
*/
18+
*/
3519

3620
/** @addtogroup CMSIS
3721
* @{

0 commit comments

Comments
 (0)
0