mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
Merge pull request #1427 from qgyhd1234/eth_fire
[驱动]:添加野火1052 drv_eth.c 和phy.c 文件
This commit is contained in:
5 files changed
+1683
-3
No files matched your search
@@ -7,9 +7,6 @@ from building import *
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('drivers/*.c')
|
||||
|
||||
if GetDepend('BOARD_RT1050_FIRE'):
|
||||
SrcRemove(src, r'drivers\fsl_enet.c')
|
||||
|
||||
SrcRemove(src, 'drivers/dataqueue.c')
|
||||
src += Glob('common/chip/*.c')
|
||||
src += [cwd + '/system_MIMXRT1052.c']
|
||||
|
||||
@@ -60,6 +60,9 @@ if GetDepend('BOARD_RT1050_EVK') or GetDepend('BOARD_RT1050_SeeedStudio'):
|
||||
if GetDepend('RT_USING_LWIP'):
|
||||
src += ['drv_eth.c', 'fsl_phy.c']
|
||||
CPPDEFINES += ['FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE']
|
||||
|
||||
if GetDepend('BOARD_RT1050_FIRE') and GetDepend('RT_USING_LWIP'):
|
||||
src += ['drv_eth_fire.c', 'fsl_phy_fire.c']
|
||||
|
||||
if GetDepend('RT_USING_AUDIO'):
|
||||
src += ['drv_codec.c', 'fsl_wm8960.c']
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user