From 39417ac51a4bd213973e5a19253b1246a0e60553 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 10 May 2021 17:15:46 +0800 Subject: [PATCH] =?UTF-8?q?[kconfig]=E4=BC=98=E5=8C=96=20PHY=5FUSING=5FLAN?= =?UTF-8?q?8720A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/stm32f407-atk-explorer/board/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig index 8f198ecd2f..7e36d691f8 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig +++ b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig @@ -50,7 +50,6 @@ menu "Onboard Peripheral Drivers" bool "Enable Ethernet" default n select RT_USING_LWIP - select PHY_USING_LAN8720A select RT_LWIP_USING_HW_CHECKSUM config BSP_USING_ETH_SAL @@ -60,6 +59,11 @@ menu "Onboard Peripheral Drivers" select RT_USING_SAL select SAL_USING_POSIX + config PHY_USING_LAN8720A + bool + depends on BSP_USING_ETH + default y + config BSP_USING_MPU6050 bool "Enable MPU6050 (i2c1)" default n