1
1
/**
2
2
******************************************************************************
3
- * @file stm32c0xx_hal_conf.h
4
- * @author MCD Application Team
5
- * @brief HAL configuration template file.
3
+ * @file stm32c0xx_hal_conf_default.h
4
+ * @brief HAL default configuration template file.
6
5
* This file should be copied to the application folder and renamed
7
6
* to stm32c0xx_hal_conf.h.
8
7
******************************************************************************
19
18
*/
20
19
21
20
/* Define to prevent recursive inclusion -------------------------------------*/
22
- #ifndef STM32C0xx_HAL_CONF_H
23
- #define STM32C0xx_HAL_CONF_H
21
+ #ifndef STM32C0xx_HAL_CONF_DEFAULT_H
22
+ #define STM32C0xx_HAL_CONF_DEFAULT_H
24
23
25
24
#ifdef __cplusplus
26
25
extern "C" {
@@ -30,6 +29,12 @@ extern "C" {
30
29
/* Exported constants --------------------------------------------------------*/
31
30
32
31
/* ########################## Module Selection ############################## */
32
+ /**
33
+ * @brief Include the default list of modules to be used in the HAL driver
34
+ * and manage module deactivation
35
+ */
36
+ #include "stm32yyxx_hal_conf.h"
37
+ #if 0
33
38
/**
34
39
* @brief This is the list of modules to be used in the HAL driver
35
40
*/
@@ -55,6 +60,7 @@ extern "C" {
55
60
#define HAL_UART_MODULE_ENABLED
56
61
#define HAL_USART_MODULE_ENABLED
57
62
#define HAL_WWDG_MODULE_ENABLED
63
+ #endif
58
64
59
65
/* ########################## Register Callbacks selection ############################## */
60
66
/**
@@ -267,4 +273,4 @@ void assert_failed(uint8_t *file, uint32_t line);
267
273
}
268
274
#endif
269
275
270
- #endif /* STM32C0xx_HAL_CONF_H */
276
+ #endif /* STM32C0xx_HAL_CONF_DEFAULT_H */
0 commit comments