Skip to content

Commit 5e784e8

Browse files
committed
system(wb0): update STM32WB0x hal default config
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 5275c6a commit 5e784e8

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

system/STM32WB0x/stm32wb0x_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 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
*
@@ -17,8 +16,8 @@
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
2423
extern "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

Comments
 (0)