调整缩进
This commit is contained in:
parent
72fd4f0427
commit
97d8f14aeb
|
@ -12,24 +12,24 @@ menu "Onboard Peripheral Drivers"
|
||||||
select BSP_USING_UART3
|
select BSP_USING_UART3
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_USING_ETH
|
config BSP_USING_ETH
|
||||||
bool "Enable Ethernet"
|
bool "Enable Ethernet"
|
||||||
select RT_USING_LWIP
|
select RT_USING_LWIP
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if BSP_USING_ETH
|
if BSP_USING_ETH
|
||||||
choice
|
choice
|
||||||
prompt "On-board PHY chip"
|
prompt "On-board PHY chip"
|
||||||
default PHY_USING_LAN8720A
|
default PHY_USING_LAN8720A
|
||||||
|
|
||||||
config PHY_USING_LAN8720A
|
config PHY_USING_LAN8720A
|
||||||
bool "LAN8720A"
|
bool "LAN8720A"
|
||||||
|
|
||||||
config PHY_USING_DM9161CEP
|
config PHY_USING_DM9161CEP
|
||||||
bool "DM9161CEP"
|
bool "DM9161CEP"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
|
|
||||||
void phy_reset(void)
|
void phy_reset(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The PHY reset pin of NUCLEO-F767ZI is connected to the MCU reset pin,
|
* The PHY reset pin of NUCLEO-F767ZI is connected to the MCU reset pin,
|
||||||
* so no additional reset is required.
|
* so no additional reset is required.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue