Skip to content

Commit fa09013

Browse files
TDhaouSTfpistm
authored andcommitted
system(WB): update STM32WBxx CMSIS Drivers to v1.11.0
Included in STM32CubeWB FW v1.14.0 Signed-off-by: TLIG Dhaou <[email protected]>
1 parent 0c3bc05 commit fa09013

17 files changed

+18615
-7015
lines changed

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb10xx.h

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

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb15xx.h

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

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb1mxx.h

Lines changed: 11029 additions & 0 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb30xx.h

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

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb35xx.h

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

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb50xx.h

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

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb55xx.h

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

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb5mxx.h

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

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wbxx.h

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#define __STM32WBxx_H
3939

4040
#ifdef __cplusplus
41-
extern "C" {
41+
extern "C" {
4242
#endif /* __cplusplus */
4343

4444
/** @addtogroup Library_configuration_section
@@ -57,19 +57,19 @@
5757
*/
5858
#if !defined (USE_HAL_DRIVER)
5959
/**
60-
* @brief Comment the line below if you will not use the peripherals drivers.
60+
* @brief Comment the line below if you will not use the peripherals drivers.
6161
In this case, these drivers will not be included and the application code will
6262
be based on direct access to peripherals registers
6363
*/
64-
/*#define USE_HAL_DRIVER */
64+
/*#define USE_HAL_DRIVER */
6565
#endif /* USE_HAL_DRIVER */
6666

6767
/**
6868
* @brief CMSIS Device version number
6969
*/
7070
#define __STM32WBxx_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
71-
#define __STM32WBxx_CMSIS_VERSION_SUB1 (0x0AU) /*!< [23:16] sub1 version */
72-
#define __STM32WBxx_CMSIS_VERSION_SUB2 (0x01U) /*!< [15:8] sub2 version */
71+
#define __STM32WBxx_CMSIS_VERSION_SUB1 (0x0BU) /*!< [23:16] sub1 version */
72+
#define __STM32WBxx_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
7373
#define __STM32WBxx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
7474
#define __STM32WBxx_CMSIS_DEVICE_VERSION ((__STM32WBxx_CMSIS_VERSION_MAIN << 24)\
7575
|(__STM32WBxx_CMSIS_VERSION_SUB1 << 16)\
@@ -85,21 +85,23 @@
8585
*/
8686

8787
#if defined(STM32WB55xx)
88-
#include "stm32wb55xx.h"
88+
#include "stm32wb55xx.h"
8989
#elif defined(STM32WB5Mxx)
90-
#include "stm32wb5mxx.h"
90+
#include "stm32wb5mxx.h"
9191
#elif defined(STM32WB50xx)
92-
#include "stm32wb50xx.h"
92+
#include "stm32wb50xx.h"
9393
#elif defined(STM32WB35xx)
94-
#include "stm32wb35xx.h"
94+
#include "stm32wb35xx.h"
9595
#elif defined(STM32WB30xx)
96-
#include "stm32wb30xx.h"
96+
#include "stm32wb30xx.h"
9797
#elif defined(STM32WB15xx)
98-
#include "stm32wb15xx.h"
98+
#include "stm32wb15xx.h"
9999
#elif defined(STM32WB10xx)
100-
#include "stm32wb10xx.h"
100+
#include "stm32wb10xx.h"
101+
#elif defined(STM32WB1Mxx)
102+
#include "stm32wb1mxx.h"
101103
#else
102-
#error "Please select first the target STM32WBxx device used in your application, for instance xxx (in stm32wbxx.h file)"
104+
#error "Please select first the target STM32WBxx device used in your application, for instance xxx (in stm32wbxx.h file)"
103105
#endif
104106
/**
105107
* @}
@@ -211,7 +213,7 @@ typedef enum
211213
*/
212214

213215
#if defined (USE_HAL_DRIVER)
214-
#include "stm32wbxx_hal.h"
216+
#include "stm32wbxx_hal.h"
215217
#endif /* USE_HAL_DRIVER */
216218

217219
#ifdef __cplusplus

system/Drivers/CMSIS/Device/ST/STM32WBxx/Include/system_stm32wbxx.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
******************************************************************************
33
* @file system_stm32wbxx.h
44
* @author MCD Application Team
5-
* @brief CMSIS Cortex Device System Source File for STM32WBxx devices.
5+
* @brief CMSIS Cortex Device System Source File for STM32WBxx devices.
66
******************************************************************************
77
* @attention
88
*
@@ -22,17 +22,17 @@
2222

2323
/** @addtogroup stm32wbxx_system
2424
* @{
25-
*/
26-
25+
*/
26+
2727
/**
2828
* @brief Define to prevent recursive inclusion
2929
*/
3030
#ifndef __SYSTEM_STM32WBXX_H
3131
#define __SYSTEM_STM32WBXX_H
3232

3333
#ifdef __cplusplus
34-
extern "C" {
35-
#endif
34+
extern "C" {
35+
#endif
3636

3737
#include <stdint.h>
3838

@@ -48,22 +48,22 @@
4848
/** @addtogroup STM32WBxx_System_Exported_types
4949
* @{
5050
*/
51-
/* The SystemCoreClock variable is updated in three ways:
52-
1) by calling CMSIS function SystemCoreClockUpdate()
53-
2) by calling HAL API function HAL_RCC_GetSysClockFreq()
54-
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
55-
Note: If you use this function to configure the system clock; then there
56-
is no need to call the 2 first functions listed above, since SystemCoreClock
57-
variable is updated automatically.
58-
*/
51+
/* The SystemCoreClock variable is updated in three ways:
52+
1) by calling CMSIS function SystemCoreClockUpdate()
53+
2) by calling HAL API function HAL_RCC_GetSysClockFreq()
54+
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
55+
Note: If you use this function to configure the system clock; then there
56+
is no need to call the 2 first functions listed above, since SystemCoreClock
57+
variable is updated automatically.
58+
*/
5959

6060
extern uint32_t SystemCoreClock; /*!< System Clock Frequency */
6161

6262
extern const uint32_t AHBPrescTable[16]; /*!< AHB prescalers table values */
6363
extern const uint32_t APBPrescTable[8]; /*!< APB prescalers table values */
6464
extern const uint32_t MSIRangeTable[16]; /*!< MSI ranges table values */
6565

66-
#if defined(STM32WB55xx) || defined(STM32WB5Mxx) || defined(STM32WB35xx) || defined (STM32WB15xx)
66+
#if defined(STM32WB55xx) || defined(STM32WB5Mxx) || defined(STM32WB35xx) || defined (STM32WB15xx) || defined (STM32WB1Mxx)
6767
extern const uint32_t SmpsPrescalerTable[4][6]; /*!< SMPS factor ranges table values */
6868
#endif
6969
/**
@@ -89,7 +89,7 @@ extern const uint32_t SmpsPrescalerTable[4][6]; /*!< SMPS factor ranges table v
8989
/** @addtogroup STM32WBxx_System_Exported_Functions
9090
* @{
9191
*/
92-
92+
9393
extern void SystemInit(void);
9494
extern void SystemCoreClockUpdate(void);
9595
/**
@@ -105,7 +105,7 @@ extern void SystemCoreClockUpdate(void);
105105
/**
106106
* @}
107107
*/
108-
108+
109109
/**
110110
* @}
111111
*/

0 commit comments

Comments
 (0)