Skip to content

Commit 5d91123

Browse files
committed
system(WBA): update STM32WBAxx hal default config
Allow some redefinition. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 555b956 commit 5d91123

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

system/STM32WBAxx/stm32wbaxx_hal_conf_default.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,18 @@ extern "C" {
137137
/**
138138
* @brief This is the HAL system configuration section
139139
*/
140+
#if !defined (VDD_VALUE)
140141
#define VDD_VALUE 3300UL /*!< Value of VDD in mv */
142+
#endif
143+
#if !defined (TICK_INT_PRIORITY)
141144
#define TICK_INT_PRIORITY ((1UL<<__NVIC_PRIO_BITS) - 1UL) /*!< tick interrupt priority (lowest by default) */
145+
#endif
146+
#if !defined (USE_RTOS)
142147
#define USE_RTOS 0U
148+
#endif
149+
#if !defined (PREFETCH_ENABLE)
143150
#define PREFETCH_ENABLE 1U /*!< Enable prefetch */
151+
#endif
144152

145153
/* ########################## Assert Selection ############################## */
146154
/**

0 commit comments

Comments
 (0)