Skip to content

Commit d901f05

Browse files
committed
system(c5): update STM32C5xx hal default config
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent eed8bee commit d901f05

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

‎system/STM32C5xx/stm32c5xx_hal_conf_default.h‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
******************************************************************************
3-
* @file stm32c5xx_hal_conf.h
4-
* @brief HAL configuration file.
3+
* @file stm32c5xx_hal_conf_default.h
4+
* @brief HAL default configuration file.
55
******************************************************************************
66
* @attention
77
*
@@ -16,8 +16,8 @@
1616
*/
1717

1818
/* Define to prevent recursive inclusion -------------------------------------*/
19-
#ifndef STM32C5XX_HAL_CONF_H
20-
#define STM32C5XX_HAL_CONF_H
19+
#ifndef STM32C5XX_HAL_CONF_DEFAULT_H
20+
#define STM32C5XX_HAL_CONF_DEFAULT_H
2121

2222
#ifdef __cplusplus
2323
extern "C" {
@@ -95,6 +95,12 @@ extern "C" {
9595
*/
9696

9797
/* ########################## Peripheral configuration ######################### */
98+
/**
99+
* @brief Include the default list of modules to be used in the HAL driver
100+
* and manage module deactivation
101+
*/
102+
#include "stm32yyxx_hal_conf.h"
103+
#if 0
98104

99105
/** @defgroup HAL_ADC_Config HAL ADC Configuration
100106
* @{
@@ -677,8 +683,9 @@ extern "C" {
677683
* @}
678684
*/
679685

686+
#endif
680687
#ifdef __cplusplus
681688
}
682689
#endif /* __cplusplus */
683690

684-
#endif /* STM32C5XX_HAL_CONF_H */
691+
#endif /* STM32C5XX_HAL_CONF_DEFAULT_H */

0 commit comments

Comments
 (0)