Skip to content

Commit 0d2be12

Browse files
committed
[bsp][stm32]去除 drv_eth.c 和 lwip 的依赖关系。
1 parent 2bf9ba0 commit 0d2be12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/stm32/libraries/HAL_Drivers/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if GetDepend(['RT_USING_I2C', 'RT_USING_I2C_BITOPS']):
3030
if GetDepend('BSP_USING_I2C1') or GetDepend('BSP_USING_I2C2') or GetDepend('BSP_USING_I2C3') or GetDepend('BSP_USING_I2C4'):
3131
src += ['drv_soft_i2c.c']
3232

33-
if GetDepend('RT_USING_LWIP'):
33+
if GetDepend('BSP_USING_ETH'):
3434
src += ['drv_eth.c']
3535

3636
if GetDepend(['RT_USING_ADC']):

0 commit comments

Comments
 (0)