bsp/stm32h7: disable ethernet for STM32H7B3I-DK BSP variant

Note: the ethernet port is not presented on the board anyway.
This commit is contained in:
Karel Gardas
2022-04-01 18:14:16 +02:00
committed by Sebastian Huber
parent bf64ff2bb7
commit 27d1707f20

View File

@@ -33,6 +33,8 @@
#include <bspopts.h>
#ifndef STM32H7B3xxQ
static const stm32h7_gpio_config gpiog = {
.regs = GPIOG,
.config = {
@@ -94,3 +96,5 @@ HAL_ETH_MspInit(ETH_HandleTypeDef *heth)
stm32h7_gpio_init(&gpiob);
#endif
}
#endif