Skip to content

Commit 2208479

Browse files
committed
[WB] Update stm32wbxx_hal_conf_default.h
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent e6c3055 commit 2208479

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

system/STM32WBxx/stm32wbxx_hal_conf_default.h

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ extern "C" {
9393
#define USE_HAL_USART_REGISTER_CALLBACKS 0u
9494
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0u
9595

96+
#ifndef USE_HAL_CRYP_SUSPEND_RESUME
97+
#define USE_HAL_CRYP_SUSPEND_RESUME 0u
98+
#endif
99+
96100
/* ########################## Oscillator Values adaptation ####################*/
97101
/**
98102
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
@@ -131,16 +135,16 @@ extern "C" {
131135
#if !defined (LSI1_VALUE)
132136
#define LSI1_VALUE (32000UL) /*!< LSI1 Typical Value in Hz*/
133137
#endif /* LSI1_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
134-
The real value may vary depending on the variations
135-
in voltage and temperature.*/
138+
The real value may vary depending on the variations
139+
in voltage and temperature.*/
136140
/**
137141
* @brief Internal Low Speed oscillator (LSI2) value.
138142
*/
139143
#if !defined (LSI2_VALUE)
140144
#define LSI2_VALUE (32000UL) /*!< LSI2 Typical Value in Hz*/
141145
#endif /* LSI2_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
142-
The real value may vary depending on the variations
143-
in voltage and temperature.*/
146+
The real value may vary depending on the variations
147+
in voltage and temperature.*/
144148

145149
/**
146150
* @brief External Low Speed oscillator (LSE) value.
@@ -185,16 +189,16 @@ in voltage and temperature.*/
185189
#define TICK_INT_PRIORITY 0x00U /*!< tick interrupt priority */
186190
#endif
187191
#if !defined (USE_RTOS)
188-
#define USE_RTOS 0
192+
#define USE_RTOS 0U
189193
#endif
190194
#if !defined (PREFETCH_ENABLE)
191-
#define PREFETCH_ENABLE 0
195+
#define PREFETCH_ENABLE 0U
192196
#endif
193197
#if !defined (INSTRUCTION_CACHE_ENABLE)
194-
#define INSTRUCTION_CACHE_ENABLE 1
198+
#define INSTRUCTION_CACHE_ENABLE 1U
195199
#endif
196200
#if !defined (DATA_CACHE_ENABLE)
197-
#define DATA_CACHE_ENABLE 1
201+
#define DATA_CACHE_ENABLE 1U
198202
#endif
199203

200204
/* ########################## Assert Selection ############################## */

0 commit comments

Comments
 (0)