Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6860c4a

Browse files
committed
system(wl3): update STM32WL3x hal default config
Allow some redefinition.Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent6aa60eb commit6860c4a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎system/STM32WL3x/stm32wl3x_hal_conf_default.h‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,15 @@ in voltage and temperature.*/
152152
/**
153153
* @brief This is the HAL system configuration section
154154
*/
155+
#if !defined (VDD_VALUE)
155156
#defineVDD_VALUE (3300UL)/*!< Value of VDD in mv */
157+
#endif/* VDD_VALUE */
158+
#if !defined (TICK_INT_PRIORITY)
156159
#defineTICK_INT_PRIORITY ((1UL<<__NVIC_PRIO_BITS) - 1UL)/*!< tick interrupt priority (lowest by default) */
160+
#endif/* TICK_INT_PRIORITY */
161+
#if !defined (USE_RTOS)
157162
#defineUSE_RTOS 0U
158-
163+
#endif
159164
/* ########################## Assert Selection ############################## */
160165
/**
161166
* @brief Uncomment the line below to expanse the "assert_param" macro in the
@@ -169,8 +174,9 @@ in voltage and temperature.*/
169174
* Activated: CRC code is present inside driver
170175
* Deactivated: CRC code cleaned from driver
171176
*/
172-
177+
#if !defined (USE_SPI_CRC)
173178
#defineUSE_SPI_CRC 1U
179+
#endif/* USE_SPI_CRC */
174180

175181
/* Includes ------------------------------------------------------------------*/
176182
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp