Skip to content

Commit 439fe51

Browse files
committed
feat(F4): enable HAL Ethernet legacy
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 7c2e51c commit 439fe51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: system/STM32F4xx/stm32f4xx_hal_conf_default.h

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ extern "C" {
4949
#define HAL_DMA_MODULE_ENABLED
5050
#define HAL_DMA2D_MODULE_ENABLED
5151
#define HAL_ETH_MODULE_ENABLED
52+
/*#define HAL_ETH_LEGACY_MODULE_ENABLED*/
5253
#define HAL_FLASH_MODULE_ENABLED
5354
#define HAL_NAND_MODULE_ENABLED
5455
#define HAL_NOR_MODULE_ENABLED
@@ -345,6 +346,10 @@ in voltage and temperature. */
345346
#include "stm32f4xx_hal_eth.h"
346347
#endif /* HAL_ETH_MODULE_ENABLED */
347348

349+
#ifdef HAL_ETH_LEGACY_MODULE_ENABLED
350+
#include "Legacy/stm32f4xx_hal_eth_legacy.h"
351+
#endif /* HAL_ETH_LEGACY_MODULE_ENABLED */
352+
348353
#ifdef HAL_FLASH_MODULE_ENABLED
349354
#include "stm32f4xx_hal_flash.h"
350355
#endif /* HAL_FLASH_MODULE_ENABLED */

0 commit comments

Comments
 (0)