11/**
22 ******************************************************************************
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.
65 ******************************************************************************
76 * @attention
87 *
1716 */
1817
1918/* 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
2221
2322#ifdef __cplusplus
2423extern "C" {
@@ -28,6 +27,12 @@ extern "C" {
2827/* Exported constants --------------------------------------------------------*/
2928
3029/* ########################## 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
3136/**
3237 * @brief This is the list of modules to be used in the HAL driver
3338 */
@@ -55,6 +60,7 @@ extern "C" {
5560#define HAL_TIM_MODULE_ENABLED
5661#define HAL_UART_MODULE_ENABLED
5762#define HAL_USART_MODULE_ENABLED
63+ #endif
5864
5965#define USE_HAL_ADC_REGISTER_CALLBACKS 0u
6066#define USE_HAL_I2C_REGISTER_CALLBACKS 0u
@@ -298,4 +304,4 @@ void assert_failed(uint8_t *file, uint32_t line);
298304}
299305#endif
300306
301- #endif /* STM32WB0x_HAL_CONF_H */
307+ #endif /* STM32WB0x_HAL_CONF_DEFAULT_H */
0 commit comments