From 501d894cfde5df09e515184203161aadf60daf01 Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Mon, 20 May 2019 18:27:16 +0800 Subject: [PATCH] =?UTF-8?q?[bsp][stm32]=E4=BF=AE=E5=A4=8D=20w5500=20?= =?UTF-8?q?=E5=92=8C=20drv=5Feth.c=20=E4=BE=9D=E8=B5=96=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/libraries/HAL_Drivers/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32/libraries/HAL_Drivers/SConscript b/bsp/stm32/libraries/HAL_Drivers/SConscript index bd409b46f7..8c54e63276 100644 --- a/bsp/stm32/libraries/HAL_Drivers/SConscript +++ b/bsp/stm32/libraries/HAL_Drivers/SConscript @@ -30,7 +30,7 @@ if GetDepend(['RT_USING_I2C', 'RT_USING_I2C_BITOPS']): if GetDepend('BSP_USING_I2C1') or GetDepend('BSP_USING_I2C2') or GetDepend('BSP_USING_I2C3') or GetDepend('BSP_USING_I2C4'): src += ['drv_soft_i2c.c'] -if GetDepend('BSP_USING_ETH'): +if GetDepend(['BSP_USING_ETH', 'RT_USING_LWIP']): src += ['drv_eth.c'] if GetDepend(['RT_USING_ADC']):