Ubiquitous/RT-Thread_Fusion_XiUOS/app_match_rt-thread/:Add WIZnet software package which supports W5500 device and update the Kconfig

This commit is contained in:
Beichen
2022-08-03 09:53:01 +08:00
parent a70a31d282
commit 38c2864c73
23 changed files with 11297 additions and 0 deletions
@@ -0,0 +1,34 @@
from building import *
cwd = GetCurrentDir()
src = Split('''
src/wiz_af_inet.c
src/wiz_device.c
src/wiz_socket.c
src/wiz.c
''')
if GetDepend(['WIZ_USING_PING']):
src += Glob('src/wiz_ping.c')
src += Glob('ioLibrary/Ethernet/*.c')
src += Glob('ioLibrary/Internet/DNS/*.c')
if GetDepend(['WIZ_USING_DHCP']):
src += Glob('ioLibrary/Internet/DHCP/*.c')
if GetDepend(['WIZ_USING_W5500']):
src += Glob('ioLibrary/Ethernet/W5500/*.c')
CPPPATH = [
cwd + '/inc',
cwd + '/ioLibrary',
cwd + '/ioLibrary/Ethernet',
cwd + '/ioLibrary/Ethernet/W5500',
cwd + '/ioLibrary/Internet',
]
group = DefineGroup('WIZnet', src, depend = ['PKG_USING_WIZNET'], CPPPATH = CPPPATH)
Return('group')