Skip to content

Commit b892b99

Browse files
committed
system: WL: update STM32WLxx hal default config
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 5fefbfa commit b892b99

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

system/STM32WLxx/stm32wlxx_hal_conf_default.h

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/**
22
******************************************************************************
3-
* @file stm32wlxx_hal_conf.h
4-
* @author MCD Application Team
5-
* @brief HAL configuration file.
3+
* @file stm32wlxx_hal_conf_default.h
4+
* @brief HAL default configuration file.
65
******************************************************************************
76
* @attention
87
*
@@ -18,8 +17,8 @@
1817
*/
1918

2019
/* Define to prevent recursive inclusion -------------------------------------*/
21-
#ifndef STM32WLxx_HAL_CONF_H
22-
#define STM32WLxx_HAL_CONF_H
20+
#ifndef STM32WLxx_HAL_CONF_DEFAULT_H
21+
#define STM32WLxx_HAL_CONF_DEFAULT_H
2322

2423
#ifdef __cplusplus
2524
extern "C" {
@@ -29,6 +28,12 @@
2928
/* Exported constants --------------------------------------------------------*/
3029

3130
/* ########################## Module Selection ############################## */
31+
/**
32+
* @brief Include the default list of modules to be used in the HAL driver
33+
* and manage module deactivation
34+
*/
35+
#include "stm32yyxx_hal_conf.h"
36+
#if 0
3237
/**
3338
* @brief This is the list of modules to be used in the HAL driver
3439
*/
@@ -64,6 +69,7 @@
6469
#define HAL_GPIO_MODULE_ENABLED
6570
#define HAL_PWR_MODULE_ENABLED
6671
#define HAL_RCC_MODULE_ENABLED
72+
#endif
6773

6874
/* ########################## Register Callbacks selection ############################## */
6975
/**
@@ -335,6 +341,6 @@
335341
}
336342
#endif
337343

338-
#endif /* STM32WLxx_HAL_CONF_H */
344+
#endif /* STM32WLxx_HAL_CONF_DEFAULT_H */
339345

340346
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 commit comments

Comments
 (0)