rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

stm32 新 bsp 中 LWIP 和 ETH 编译依赖问题

Open shaoguoji opened this issue 7 years ago • 1 comments

使用新 bsp 时发现, 在 \bsp\stm32\libraries\HAL_Drivers\SConscript 文件中,把 lwip 和 eth 模块关联了起来:

if GetDepend('RT_USING_LWIP'):
    src += ['drv_eth.c']

导致只用 lwip 而不需要 eth(或者不支持 eth)的情况下,也会编译 drv_eth.c,在不支持 eth 的工程中会报 undefined 错误,能否考虑用其他方式处理两者的关系。

shaoguoji avatar Mar 07 '19 04:03 shaoguoji

关于该问题,在如下 PR 中去除了依赖。

#2664

SummerGift avatar May 10 '19 05:05 SummerGift