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 164164/**
165165 * @brief This is the HAL system configuration section
166166 */
167+ #if !defined (VDD_VALUE )
167168#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 )
169174#define USE_RTOS 0U
175+ #endif
176+ #if !defined (PREFETCH_ENABLE )
170177#define PREFETCH_ENABLE 0U
178+ #endif
179+ #if !defined (INSTRUCTION_CACHE_ENABLE )
171180#define INSTRUCTION_CACHE_ENABLE 1U
181+ #endif
182+ #if !defined (DATA_CACHE_ENABLE )
172183#define DATA_CACHE_ENABLE 1U
184+ #endif
173185
174186/* ########################## Assert Selection ############################## */
175187/**
184196 * Activated: CRC code is present inside driver
185197 * Deactivated: CRC code cleaned from driver
186198 */
187-
188- #define USE_SPI_CRC 1U
199+ #if !defined (USE_SPI_CRC )
200+ #define USE_SPI_CRC 0U
201+ #endif
189202
190203/* ################## CRYP peripheral configuration ########################## */
191-
204+ #if !defined ( USE_HAL_CRYP_SUSPEND_RESUME )
192205#define USE_HAL_CRYP_SUSPEND_RESUME 1U
193-
206+ #endif
194207
195208/* Includes ------------------------------------------------------------------*/
196209/**
You can’t perform that action at this time.
0 commit comments