11/**
22 ******************************************************************************
33 * @file stm32u3xx_hal_conf_template.h
4- * @author MCD Application Team
5- * @brief HAL configuration template file.
4+ * @brief HAL default configuration template file.
65 * This file should be copied to the application folder and renamed
76 * to stm32u3xx_hal_conf.h.
87 ******************************************************************************
1918 */
2019
2120/* Define to prevent recursive inclusion -------------------------------------*/
22- #ifndef STM32U3xx_HAL_CONF_H
23- #define STM32U3xx_HAL_CONF_H
21+ #ifndef STM32U3xx_HAL_CONF_DEFAULT_H
22+ #define STM32U3xx_HAL_CONF_DEFAULT_H
2423
2524#include "stm32u3xx_hal_def.h"
2625
@@ -32,6 +31,12 @@ extern "C" {
3231/* Exported constants --------------------------------------------------------*/
3332
3433/* ########################## Module Selection ############################## */
34+ /**
35+ * @brief Include the default list of modules to be used in the HAL driver
36+ * and manage module deactivation
37+ */
38+ #include "stm32yyxx_hal_conf.h"
39+ #if 0
3540/**
3641 * @brief This is the list of modules to be used in the HAL driver
3742 */
@@ -79,6 +84,7 @@ extern "C" {
7984#define HAL_USART_MODULE_ENABLED
8085#define HAL_WWDG_MODULE_ENABLED
8186#define HAL_XSPI_MODULE_ENABLED
87+ #endif
8288
8389
8490/* ########################## Oscillator Values adaptation ####################*/
@@ -506,4 +512,4 @@ void assert_failed(uint8_t *file, uint32_t line);
506512}
507513#endif
508514
509- #endif /* STM32U3xx_HAL_CONF_H */
515+ #endif /* STM32U3xx_HAL_CONF_DEFAULT_H */
0 commit comments