Skip to content

Commit c4cd2a1

Browse files
authored
Merge pull request #2664 from Guozhanxin/eth_fix
[bsp][stm32]去除 drv_eth.c 和 lwip 的依赖关系。
2 parents 2bf9ba0 + 0d2be12 commit c4cd2a1

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)