diff --git a/bsp/stm32/stm32f767-st-nucleo/board/Kconfig b/bsp/stm32/stm32f767-st-nucleo/board/Kconfig index 920138393f15c0da23e6b53625062d00e2d90177..6bb14b0a8398b427ecec87b61ce57fc8fb808146 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f767-st-nucleo/board/Kconfig @@ -12,24 +12,24 @@ menu "Onboard Peripheral Drivers" select BSP_USING_UART3 default y - config BSP_USING_ETH - bool "Enable Ethernet" - select RT_USING_LWIP - default n + config BSP_USING_ETH + bool "Enable Ethernet" + select RT_USING_LWIP + default n - if BSP_USING_ETH - choice - prompt "On-board PHY chip" - default PHY_USING_LAN8720A + if BSP_USING_ETH + choice + prompt "On-board PHY chip" + default PHY_USING_LAN8720A - config PHY_USING_LAN8720A - bool "LAN8720A" + config PHY_USING_LAN8720A + bool "LAN8720A" - config PHY_USING_DM9161CEP - bool "DM9161CEP" + config PHY_USING_DM9161CEP + bool "DM9161CEP" - endchoice - endif + endchoice + endif endmenu diff --git a/bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c b/bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c index 012d5a81ebc59a6435a70e91f8dc2bbcdf814690..8a833eec2a63530807748c70c97a4332e15fb02e 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c +++ b/bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c @@ -12,10 +12,10 @@ void phy_reset(void) { - /* - * The PHY reset pin of NUCLEO-F767ZI is connected to the MCU reset pin, - * so no additional reset is required. - */ - - return ; + /* + * The PHY reset pin of NUCLEO-F767ZI is connected to the MCU reset pin, + * so no additional reset is required. + */ + + return ; }