[kconfig]优化 PHY_USING_LAN8720A

This commit is contained in:
Meco Man 2021-05-10 17:15:46 +08:00
parent ab6c69fe9e
commit 39417ac51a
1 changed files with 5 additions and 1 deletions

View File

@ -50,7 +50,6 @@ menu "Onboard Peripheral Drivers"
bool "Enable Ethernet" bool "Enable Ethernet"
default n default n
select RT_USING_LWIP select RT_USING_LWIP
select PHY_USING_LAN8720A
select RT_LWIP_USING_HW_CHECKSUM select RT_LWIP_USING_HW_CHECKSUM
config BSP_USING_ETH_SAL config BSP_USING_ETH_SAL
@ -60,6 +59,11 @@ menu "Onboard Peripheral Drivers"
select RT_USING_SAL select RT_USING_SAL
select SAL_USING_POSIX select SAL_USING_POSIX
config PHY_USING_LAN8720A
bool
depends on BSP_USING_ETH
default y
config BSP_USING_MPU6050 config BSP_USING_MPU6050
bool "Enable MPU6050 (i2c1)" bool "Enable MPU6050 (i2c1)"
default n default n