Skip to content

Commit 5aa4228

Browse files
committed
chore(h7): update hal conf default
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 9e27327 commit 5aa4228

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

system/STM32H7xx/stm32h7xx_hal_conf_default.h

+11-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ extern "C" {
5252
#define HAL_DTS_MODULE_ENABLED
5353
#define HAL_DSI_MODULE_ENABLED
5454
#define HAL_ETH_MODULE_ENABLED
55+
/* #define HAL_ETH_LEGACY_MODULE_ENABLED */
5556
#define HAL_EXTI_MODULE_ENABLED
5657
#define HAL_FDCAN_MODULE_ENABLED
5758
#define HAL_FLASH_MODULE_ENABLED
@@ -176,11 +177,15 @@ in voltage and temperature.*/
176177
#define USE_RTOS 0
177178
#endif
178179
#if !defined (USE_SD_TRANSCEIVER)
179-
#define USE_SD_TRANSCEIVER 0U /*!< use uSD Transceiver */
180+
#define USE_SD_TRANSCEIVER 0U /*!< use uSD Transceiver */
180181
#endif
181182
#if !defined (USE_SPI_CRC)
182-
#define USE_SPI_CRC 0U /*!< use CRC in SPI */
183+
#define USE_SPI_CRC 0U /*!< use CRC in SPI */
183184
#endif
185+
#if !defined (USE_FLASH_ECC)
186+
#define USE_FLASH_ECC 0U /*!< use ECC error management in FLASH */
187+
#endif
188+
184189

185190
#if !defined(USE_HAL_ADC_REGISTER_CALLBACKS)
186191
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
@@ -394,6 +399,10 @@ in voltage and temperature.*/
394399
#include "stm32h7xx_hal_eth.h"
395400
#endif /* HAL_ETH_MODULE_ENABLED */
396401

402+
#ifdef HAL_ETH_LEGACY_MODULE_ENABLED
403+
#include "stm32h7xx_hal_eth_legacy.h"
404+
#endif /* HAL_ETH_LEGACY_MODULE_ENABLED */
405+
397406
#ifdef HAL_EXTI_MODULE_ENABLED
398407
#include "stm32h7xx_hal_exti.h"
399408
#endif /* HAL_EXTI_MODULE_ENABLED */

0 commit comments

Comments
 (0)