Merge pull request #2664 from Guozhanxin/eth_fix
[bsp][stm32]去除 drv_eth.c 和 lwip 的依赖关系。
This commit is contained in:
commit
c4cd2a1cc1
|
@ -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'):
|
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']
|
src += ['drv_soft_i2c.c']
|
||||||
|
|
||||||
if GetDepend('RT_USING_LWIP'):
|
if GetDepend('BSP_USING_ETH'):
|
||||||
src += ['drv_eth.c']
|
src += ['drv_eth.c']
|
||||||
|
|
||||||
if GetDepend(['RT_USING_ADC']):
|
if GetDepend(['RT_USING_ADC']):
|
||||||
|
|
Loading…
Reference in New Issue