Skip to content

Commit ca4a07c

Browse files
committed
system(wba) update STM32WBAxx HAL Drivers to v1.9.0
Included in STM32CubeWBA FW v1.9.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 1b98ba7 commit ca4a07c

38 files changed

Lines changed: 6971 additions & 358 deletions

system/Drivers/STM32WBAxx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ extern "C" {
363363
#define DMA_REQUEST_DCMI_PSSI DMA_REQUEST_DCMI
364364
#elif defined(STM32L4P5xx) || defined(STM32L4Q5xx)
365365
#define DMA_REQUEST_PSSI DMA_REQUEST_DCMI_PSSI
366-
#define LL_DMAMUX_REQ_PSSI LL_DMAMUX_REQ_DCMI_PSSI
367366
#endif /* STM32L4R5xx || STM32L4R9xx || STM32L4R9xx || STM32L4S5xx || STM32L4S7xx || STM32L4S9xx */
368367

369368
#endif /* STM32L4 */
@@ -2031,6 +2030,9 @@ extern "C" {
20312030

20322031
#define PWR_ALL_RAM_RUN_RETENTION_MASK PWR_ALL_RAM_RUN_MASK
20332032
#endif
2033+
#if defined (STM32H7RS)
2034+
#define PWR_SMPS_1V8_SUPPLIES_EXT_AND_LDO PWR_SMPS_1V8_SUPPLIES_EXT_VDD_SUPPLIES_LDO
2035+
#endif
20342036

20352037
/**
20362038
* @}
@@ -3964,7 +3966,7 @@ extern "C" {
39643966
#if defined (STM32G0) || defined (STM32L5) || defined (STM32L412xx) || defined (STM32L422xx) || \
39653967
defined (STM32L4P5xx)|| defined (STM32L4Q5xx) || defined (STM32G4) || defined (STM32WL) || defined (STM32U5) || \
39663968
defined (STM32WBA) || defined (STM32H5) || defined (STM32C0) || defined (STM32N6) || defined (STM32H7RS) || \
3967-
defined (STM32U0) || defined (STM32U3)
3969+
defined (STM32U0) || defined (STM32U3)
39683970
#else
39693971
#define __HAL_RTC_CLEAR_FLAG __HAL_RTC_EXTI_CLEAR_FLAG
39703972
#endif

system/Drivers/STM32WBAxx_HAL_Driver/Inc/stm32wbaxx_hal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ extern HAL_TickFreqTypeDef uwTickFreq;
7979
* @brief STM32WBAxx HAL Driver version number
8080
*/
8181
#define __STM32WBAxx_HAL_VERSION_MAIN (0x01UL) /*!< [31:24] main version */
82-
#define __STM32WBAxx_HAL_VERSION_SUB1 (0x08UL) /*!< [23:16] sub1 version */
82+
#define __STM32WBAxx_HAL_VERSION_SUB1 (0x09UL) /*!< [23:16] sub1 version */
8383
#define __STM32WBAxx_HAL_VERSION_SUB2 (0x00UL) /*!< [15:8] sub2 version */
8484
#define __STM32WBAxx_HAL_VERSION_RC (0x00UL) /*!< [7:0] release candidate */
8585
#define __STM32WBAxx_HAL_VERSION ((__STM32WBAxx_HAL_VERSION_MAIN << 24U)\

system/Drivers/STM32WBAxx_HAL_Driver/Inc/stm32wbaxx_hal_conf_template.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ extern "C" {
5252
#define HAL_IRDA_MODULE_ENABLED
5353
#define HAL_IWDG_MODULE_ENABLED
5454
#define HAL_LPTIM_MODULE_ENABLED
55+
#define HAL_OTFDEC_MODULE_ENABLED
5556
#define HAL_PCD_MODULE_ENABLED
5657
#define HAL_PKA_MODULE_ENABLED
5758
#define HAL_PWR_MODULE_ENABLED
@@ -68,6 +69,7 @@ extern "C" {
6869
#define HAL_UART_MODULE_ENABLED
6970
#define HAL_USART_MODULE_ENABLED
7071
#define HAL_WWDG_MODULE_ENABLED
72+
#define HAL_XSPI_MODULE_ENABLED
7173

7274
/* ########################## Oscillator Values adaptation ####################*/
7375
/**
@@ -166,6 +168,7 @@ extern "C" {
166168
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
167169
#define USE_HAL_IWDG_REGISTER_CALLBACKS 0U /* IWDG register callback disabled */
168170
#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U /* LPTIM register callback disabled */
171+
#define USE_HAL_OTFDEC_REGISTER_CALLBACKS 0U /* OTFDEC register callback disabled */
169172
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD register callback disabled */
170173
#define USE_HAL_PKA_REGISTER_CALLBACKS 0U /* PKA register callback disabled */
171174
#define USE_HAL_RAMCFG_REGISTER_CALLBACKS 0U /* RAMCFG register callback disabled */
@@ -180,6 +183,7 @@ extern "C" {
180183
#define USE_HAL_UART_REGISTER_CALLBACKS 0U /* UART register callback disabled */
181184
#define USE_HAL_USART_REGISTER_CALLBACKS 0U /* USART register callback disabled */
182185
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
186+
#define USE_HAL_XSPI_REGISTER_CALLBACKS 0U /* XSPI register callback disabled */
183187

184188
/* ################## SPI peripheral configuration ########################## */
185189

@@ -277,6 +281,10 @@ extern "C" {
277281
#include "stm32wbaxx_hal_lptim.h"
278282
#endif /* HAL_LPTIM_MODULE_ENABLED */
279283

284+
#ifdef HAL_OTFDEC_MODULE_ENABLED
285+
#include "stm32wbaxx_hal_otfdec.h"
286+
#endif /* HAL_OTFDEC_MODULE_ENABLED */
287+
280288
#ifdef HAL_PCD_MODULE_ENABLED
281289
#include "stm32wbaxx_hal_pcd.h"
282290
#endif /* HAL_PCD_MODULE_ENABLED */
@@ -337,6 +345,10 @@ extern "C" {
337345
#include "stm32wbaxx_hal_wwdg.h"
338346
#endif /* HAL_WWDG_MODULE_ENABLED */
339347

348+
#ifdef HAL_XSPI_MODULE_ENABLED
349+
#include "stm32wbaxx_hal_xspi.h"
350+
#endif /* HAL_XSPI_MODULE_ENABLED */
351+
340352
/* Exported macro ------------------------------------------------------------*/
341353
#ifdef USE_FULL_ASSERT
342354
/**

system/Drivers/STM32WBAxx_HAL_Driver/Inc/stm32wbaxx_hal_exti.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ typedef struct
162162
* @}
163163
*/
164164

165-
#if defined(EXTI_SECCFGR1_SEC0)
165+
#if defined(EXTI_SECCFGR1_SEC1)
166166
/** @defgroup EXTI_Line_attributes EXTI line attributes
167167
* @brief EXTI line secure or non-secure and privileged or non-privileged attributes
168168
* @note secure and non-secure attributes are only available from secure state when the system
@@ -178,7 +178,7 @@ typedef struct
178178
/**
179179
* @}
180180
*/
181-
#endif /* #if defined(EXTI_SECCFGR1_SEC0) */
181+
#endif /* #if defined(EXTI_SECCFGR1_SEC1) */
182182

183183
/**
184184
* @}
@@ -229,7 +229,7 @@ typedef struct
229229
#define EXTI_LINE_NB 18U
230230
#endif /* EXTI_IMR1_IM20 */
231231

232-
#if defined(EXTI_SECCFGR1_SEC0)
232+
#if defined(EXTI_SECCFGR1_SEC1)
233233
/**
234234
* @brief EXTI Mask for secure & privilege attributes
235235
*/
@@ -238,7 +238,7 @@ typedef struct
238238
/**
239239
* @}
240240
*/
241-
#endif /* #if defined(EXTI_SECCFGR1_SEC0) */
241+
#endif /* #if defined(EXTI_SECCFGR1_SEC1) */
242242

243243
/* Private macros ------------------------------------------------------------*/
244244
/** @defgroup EXTI_Private_Macros EXTI Private Macros
@@ -321,7 +321,7 @@ typedef struct
321321

322322
#define IS_EXTI_GPIO_PIN(__PIN__) ((__PIN__) < 16U)
323323

324-
#if defined(EXTI_SECCFGR1_SEC0)
324+
#if defined(EXTI_SECCFGR1_SEC1)
325325
#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
326326

327327
#define IS_EXTI_LINE_ATTRIBUTES(__ATTRIBUTES__) (((((__ATTRIBUTES__) & EXTI_LINE_SEC) == EXTI_LINE_SEC) || \
@@ -337,7 +337,7 @@ typedef struct
337337
(((__ATTRIBUTES__) & ~(EXTI_LINE_PRIV|EXTI_LINE_NPRIV)) == 0U))
338338

339339
#endif /* __ARM_FEATURE_CMSE */
340-
#endif /* #if defined(EXTI_SECCFGR1_SEC0) */
340+
#endif /* #if defined(EXTI_SECCFGR1_SEC1) */
341341

342342
/**
343343
* @}
@@ -382,11 +382,11 @@ void HAL_EXTI_GenerateSWI(const EXTI_HandleTypeDef *hexti);
382382
* @{
383383
*/
384384

385-
#if defined(EXTI_SECCFGR1_SEC0)
385+
#if defined(EXTI_SECCFGR1_SEC1)
386386
/* EXTI line attributes management functions **********************************/
387387
void HAL_EXTI_ConfigLineAttributes(uint32_t ExtiLine, uint32_t LineAttributes);
388388
HAL_StatusTypeDef HAL_EXTI_GetConfigLineAttributes(uint32_t ExtiLine, uint32_t *pLineAttributes);
389-
#endif /* #if defined(EXTI_SECCFGR1_SEC0) */
389+
#endif /* #if defined(EXTI_SECCFGR1_SEC1) */
390390
#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
391391
void HAL_EXTI_LockAttributes(void);
392392
uint32_t HAL_EXTI_GetLockAttributes(void);

0 commit comments

Comments
 (0)