1
1
/**
2
2
******************************************************************************
3
3
* @file stm32u0xx_hal_conf_template.h
4
- * @author MCD Application Team
5
- * @brief HAL configuration template file.
4
+ * @brief HAL default configuration template file.
6
5
* This file should be copied to the application folder and renamed
7
6
* to stm32u0xx_hal_conf.h.
8
7
******************************************************************************
19
18
*/
20
19
21
20
/* Define to prevent recursive inclusion -------------------------------------*/
22
- #ifndef __STM32U0xx_HAL_CONF_H
23
- #define __STM32U0xx_HAL_CONF_H
21
+ #ifndef __STM32U0xx_HAL_CONF_DEFAULT_H
22
+ #define __STM32U0xx_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
*/
@@ -63,6 +68,7 @@ extern "C" {
63
68
#define HAL_DMA_MODULE_ENABLED
64
69
#define HAL_SMARTCARD_MODULE_ENABLED
65
70
#define HAL_PCD_MODULE_ENABLED
71
+ #endif
66
72
67
73
/* ########################## Oscillator Values adaptation ####################*/
68
74
/**
@@ -334,4 +340,4 @@ void assert_failed(uint8_t *file, uint32_t line);
334
340
}
335
341
#endif
336
342
337
- #endif /* __STM32U0xx_HAL_CONF_H */
343
+ #endif /* __STM32U0xx_HAL_CONF_DEFAULT_H */
0 commit comments