File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change 164
164
/**
165
165
* @brief This is the HAL system configuration section
166
166
*/
167
+ #if !defined (VDD_VALUE )
167
168
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
168
- #define TICK_INT_PRIORITY ((1uL <<__NVIC_PRIO_BITS) - 1uL) /*!< tick interrupt priority (lowest by default) */
169
+ #endif
170
+ #if !defined (TICK_INT_PRIORITY )
171
+ #define TICK_INT_PRIORITY 0x00U /*!< tick interrupt priority */
172
+ #endif
173
+ #if !defined (USE_RTOS )
169
174
#define USE_RTOS 0U
175
+ #endif
176
+ #if !defined (PREFETCH_ENABLE )
170
177
#define PREFETCH_ENABLE 0U
178
+ #endif
179
+ #if !defined (INSTRUCTION_CACHE_ENABLE )
171
180
#define INSTRUCTION_CACHE_ENABLE 1U
181
+ #endif
182
+ #if !defined (DATA_CACHE_ENABLE )
172
183
#define DATA_CACHE_ENABLE 1U
184
+ #endif
173
185
174
186
/* ########################## Assert Selection ############################## */
175
187
/**
184
196
* Activated: CRC code is present inside driver
185
197
* Deactivated: CRC code cleaned from driver
186
198
*/
187
-
188
- #define USE_SPI_CRC 1U
199
+ #if !defined (USE_SPI_CRC )
200
+ #define USE_SPI_CRC 0U
201
+ #endif
189
202
190
203
/* ################## CRYP peripheral configuration ########################## */
191
-
204
+ #if !defined ( USE_HAL_CRYP_SUSPEND_RESUME )
192
205
#define USE_HAL_CRYP_SUSPEND_RESUME 1U
193
-
206
+ #endif
194
207
195
208
/* Includes ------------------------------------------------------------------*/
196
209
/**
You can’t perform that action at this time.
0 commit comments