diff options
| author | guozhanxin <[email protected]> | 2019-05-20 18:27:16 +0800 |
|---|---|---|
| committer | guozhanxin <[email protected]> | 2019-05-20 18:28:43 +0800 |
| commit | 501d894cfde5df09e515184203161aadf60daf01 (patch) | |
| tree | d2a05eb74415674b93583b10da2671bd55db2f25 | |
| parent | 9f7cc78b06e45b18d1385a4827e4c03364a13a8f (diff) | |
[bsp][stm32]修复 w5500 和 drv_eth.c 依赖的问题
| -rw-r--r-- | bsp/stm32/libraries/HAL_Drivers/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
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']): |
