@@ -52,6 +52,7 @@ extern "C" {
52
52
#define HAL_DTS_MODULE_ENABLED
53
53
#define HAL_DSI_MODULE_ENABLED
54
54
#define HAL_ETH_MODULE_ENABLED
55
+ /* #define HAL_ETH_LEGACY_MODULE_ENABLED */
55
56
#define HAL_EXTI_MODULE_ENABLED
56
57
#define HAL_FDCAN_MODULE_ENABLED
57
58
#define HAL_FLASH_MODULE_ENABLED
@@ -176,11 +177,15 @@ in voltage and temperature.*/
176
177
#define USE_RTOS 0
177
178
#endif
178
179
#if !defined (USE_SD_TRANSCEIVER )
179
- #define USE_SD_TRANSCEIVER 0U /*!< use uSD Transceiver */
180
+ #define USE_SD_TRANSCEIVER 0U /*!< use uSD Transceiver */
180
181
#endif
181
182
#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 */
183
184
#endif
185
+ #if !defined (USE_FLASH_ECC )
186
+ #define USE_FLASH_ECC 0U /*!< use ECC error management in FLASH */
187
+ #endif
188
+
184
189
185
190
#if !defined(USE_HAL_ADC_REGISTER_CALLBACKS )
186
191
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
@@ -394,6 +399,10 @@ in voltage and temperature.*/
394
399
#include "stm32h7xx_hal_eth.h"
395
400
#endif /* HAL_ETH_MODULE_ENABLED */
396
401
402
+ #ifdef HAL_ETH_LEGACY_MODULE_ENABLED
403
+ #include "stm32h7xx_hal_eth_legacy.h"
404
+ #endif /* HAL_ETH_LEGACY_MODULE_ENABLED */
405
+
397
406
#ifdef HAL_EXTI_MODULE_ENABLED
398
407
#include "stm32h7xx_hal_exti.h"
399
408
#endif /* HAL_EXTI_MODULE_ENABLED */
0 commit comments