11/**
22 **********************************************************************************************************************
33 * @file stm32h5xx_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 stm32h5xx_hal_conf.h.
87 **********************************************************************************************************************
1918 */
2019
2120/* Define to prevent recursive inclusion -----------------------------------------------------------------------------*/
22- #ifndef STM32H5xx_HAL_CONF_H
23- #define STM32H5xx_HAL_CONF_H
21+ #ifndef STM32H5xx_HAL_CONF_DEFAULT_H
22+ #define STM32H5xx_HAL_CONF_DEFAULT_H
2423
2524#ifdef __cplusplus
2625extern "C" {
@@ -30,6 +29,12 @@ extern "C" {
3029/* Exported constants ------------------------------------------------------------------------------------------------*/
3130
3231/* ########################################### 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
3338/**
3439 * @brief This is the list of modules to be used in the HAL driver
3540 */
@@ -87,6 +92,7 @@ extern "C" {
8792#define HAL_USART_MODULE_ENABLED
8893#define HAL_WWDG_MODULE_ENABLED
8994#define HAL_XSPI_MODULE_ENABLED
95+ #endif
9096
9197/* ####################################### Oscillator Values adaptation ##############################################*/
9298/**
@@ -485,4 +491,4 @@ void assert_failed(uint8_t *file, uint32_t line);
485491}
486492#endif
487493
488- #endif /* STM32H5xx_HAL_CONF_H */
494+ #endif /* STM32H5xx_HAL_CONF_DEFAULT_H */
0 commit comments