Merge pull request #2704 from Guozhanxin/iot_board

[bsp][stm32]修复 w5500 和 drv_eth.c 依赖的问题
This commit is contained in:
Bernard Xiong 2019-05-20 20:37:19 +08:00 committed by GitHub
commit a1898156bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']):