Skip to content

Commit 40a86ec

Browse files
committed
system(h7rs): update STM32H7RSxx hal default config
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent f357a75 commit 40a86ec

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

system/STM32H7RSxx/stm32h7rsxx_hal_conf_default.h

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
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
*
@@ -20,8 +19,8 @@
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
2726
extern "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

Comments
 (0)