diff options
| author | tanek liang <[email protected]> | 2017-10-27 20:27:28 +0800 |
|---|---|---|
| committer | tanek liang <[email protected]> | 2017-10-28 09:41:14 +0800 |
| commit | bb07f393b20e24d1d219e59f037e7e42b8602def (patch) | |
| tree | 46091b71f944a929e98c2ec92e8de690850b88ad /bsp/imxrt/drivers/SConscript | |
| parent | e93d581e50393212f579dd1ad2ba0fe38e8e594f (diff) | |
[bsp] add enet and lwip for i.mx rt 1052
Diffstat (limited to 'bsp/imxrt/drivers/SConscript')
| -rw-r--r-- | bsp/imxrt/drivers/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bsp/imxrt/drivers/SConscript b/bsp/imxrt/drivers/SConscript index ef3f86be30..1b44c183d0 100644 --- a/bsp/imxrt/drivers/SConscript +++ b/bsp/imxrt/drivers/SConscript @@ -13,6 +13,10 @@ usart.c CPPPATH = [cwd] CPPDEFINES = [] +if GetDepend('RT_USING_LWIP'): + src += ['drv_eth.c', 'fsl_phy.c'] + CPPDEFINES += ['FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE'] + if GetDepend('RT_USING_SDIO'): src += ['drv_sdio.c'] |
