11/**
22 ******************************************************************************
3- * @file stm32h7rsxx_hal_conf.h
4- * @author MCD Application Team
5- * @brief HAL configuration template file.
3+ * @file stm32h7rsxx_hal_conf_default.h
4+ * @brief HAL default configuration template file.
65 * This file should be copied to the application folder and renamed
76 * to stm32h7rsxx_hal_conf.h.
87 *
2019 */
2120
2221/* Define to prevent recursive inclusion -------------------------------------*/
23- #ifndef STM32H7RSxx_HAL_CONF_H
24- #define STM32H7RSxx_HAL_CONF_H
22+ #ifndef STM32H7RSxx_HAL_CONF_DEFAULT_H
23+ #define STM32H7RSxx_HAL_CONF_DEFAULT_H
2524
2625#ifdef __cplusplus
2726extern "C" {
@@ -31,6 +30,12 @@ extern "C" {
3130/* Exported constants --------------------------------------------------------*/
3231
3332/* ########################## Module Selection ############################## */
33+ /**
34+ * @brief Include the default list of modules to be used in the HAL driver
35+ * and manage module deactivation
36+ */
37+ #include "stm32yyxx_hal_conf.h"
38+ #if 0
3439/**
3540 * @brief This is the list of modules to be used in the HAL driver
3641 */
@@ -91,6 +96,7 @@ extern "C" {
9196#define HAL_USART_MODULE_ENABLED
9297#define HAL_WWDG_MODULE_ENABLED
9398#define HAL_XSPI_MODULE_ENABLED
99+ #endif
94100
95101/* ########################## Oscillator Values adaptation ####################*/
96102/**
@@ -513,4 +519,4 @@ void assert_failed(uint8_t *file, uint32_t line);
513519}
514520#endif
515521
516- #endif /* STM32H7RSxx_HAL_CONF_H */
522+ #endif /* STM32H7RSxx_HAL_CONF_DEFAULT_H */
0 commit comments