1
1
/**
2
2
******************************************************************************
3
- * @file stm32wb0x_hal_conf.h
4
- * @author MCD Application Team
5
- * @brief HAL configuration file.
3
+ * @file stm32wb0x_hal_conf_default.h
4
+ * @brief HAL default configuration file.
6
5
******************************************************************************
7
6
* @attention
8
7
*
17
16
*/
18
17
19
18
/* Define to prevent recursive inclusion -------------------------------------*/
20
- #ifndef STM32WB0x_HAL_CONF_H
21
- #define STM32WB0x_HAL_CONF_H
19
+ #ifndef STM32WB0x_HAL_CONF_DEFAULT_H
20
+ #define STM32WB0x_HAL_CONF_DEFAULT_H
22
21
23
22
#ifdef __cplusplus
24
23
extern "C" {
@@ -28,6 +27,12 @@ extern "C" {
28
27
/* Exported constants --------------------------------------------------------*/
29
28
30
29
/* ########################## Module Selection ############################## */
30
+ /**
31
+ * @brief Include the default list of modules to be used in the HAL driver
32
+ * and manage module deactivation
33
+ */
34
+ #include "stm32yyxx_hal_conf.h"
35
+ #if 0
31
36
/**
32
37
* @brief This is the list of modules to be used in the HAL driver
33
38
*/
@@ -55,6 +60,7 @@ extern "C" {
55
60
#define HAL_TIM_MODULE_ENABLED
56
61
#define HAL_UART_MODULE_ENABLED
57
62
#define HAL_USART_MODULE_ENABLED
63
+ #endif
58
64
59
65
#define USE_HAL_ADC_REGISTER_CALLBACKS 0u
60
66
#define USE_HAL_I2C_REGISTER_CALLBACKS 0u
@@ -298,4 +304,4 @@ void assert_failed(uint8_t *file, uint32_t line);
298
304
}
299
305
#endif
300
306
301
- #endif /* STM32WB0x_HAL_CONF_H */
307
+ #endif /* STM32WB0x_HAL_CONF_DEFAULT_H */
0 commit comments