mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-08-27 17:01:31 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
88
Living_SDK/kernel/protocols/net/ucube.py
Executable file
88
Living_SDK/kernel/protocols/net/ucube.py
Executable file
|
|
@ -0,0 +1,88 @@
|
|||
src = Split('''
|
||||
port/sys_arch.c
|
||||
''')
|
||||
|
||||
core_src = Split('''
|
||||
core/init.c
|
||||
core/def.c
|
||||
core/dns.c
|
||||
core/inet_chksum.c
|
||||
core/ip.c
|
||||
core/mem.c
|
||||
core/memp.c
|
||||
core/netif.c
|
||||
core/pbuf.c
|
||||
core/raw.c
|
||||
core/stats.c
|
||||
core/sys.c
|
||||
core/tcp.c
|
||||
core/tcp_in.c
|
||||
core/tcp_out.c
|
||||
core/timeouts.c
|
||||
core/udp.c
|
||||
''')
|
||||
|
||||
core_tcp4_src = Split('''
|
||||
core/ipv4/autoip.c
|
||||
core/ipv4/dhcp.c
|
||||
core/ipv4/etharp.c
|
||||
core/ipv4/icmp.c
|
||||
core/ipv4/igmp.c
|
||||
core/ipv4/ip4_frag.c
|
||||
core/ipv4/ip4.c
|
||||
core/ipv4/ip4_addr.c
|
||||
''')
|
||||
|
||||
core_tcp6_src = Split('''
|
||||
core/ipv6/dhcp6.c
|
||||
core/ipv6/ethip6.c
|
||||
core/ipv6/icmp6.c
|
||||
core/ipv6/inet6.c
|
||||
core/ipv6/ip6.c
|
||||
core/ipv6/ip6_addr.c
|
||||
core/ipv6/ip6_frag.c
|
||||
core/ipv6/mld6.c
|
||||
core/ipv6/nd6.c
|
||||
''')
|
||||
|
||||
api_src = Split('''
|
||||
api/api_lib.c
|
||||
api/api_msg.c
|
||||
api/err.c
|
||||
api/netbuf.c
|
||||
api/netdb.c
|
||||
api/netifapi.c
|
||||
api/sockets.c
|
||||
api/tcpip.c
|
||||
''')
|
||||
|
||||
net_if_src = Split('''
|
||||
netif/ethernet.c
|
||||
netif/slipif.c
|
||||
''')
|
||||
|
||||
tftp_src = Split('''
|
||||
apps/tftp/tftp_server.c
|
||||
apps/tftp/tftp_common.c
|
||||
apps/tftp/tftp_client.c
|
||||
apps/tftp/tftp_ota.c
|
||||
''')
|
||||
|
||||
src.extend(core_src)
|
||||
src.extend(core_tcp4_src)
|
||||
src.extend(core_tcp6_src)
|
||||
src.extend(api_src)
|
||||
src.extend(net_if_src)
|
||||
src.extend(tftp_src)
|
||||
|
||||
if aos_global_config.get('use_private_lwip') != 1:
|
||||
component = aos_component('net', src)
|
||||
component.add_global_includes('include', 'port/include')
|
||||
component.add_global_macros('CONFIG_NET_LWIP')
|
||||
|
||||
else:
|
||||
component = aos_component('net', [])
|
||||
|
||||
if aos_global_config.get('no_with_lwip') != 1:
|
||||
component.add_global_macros('WITH_LWIP')
|
||||
aos_global_config.set('with_lwip','1')
|
||||
Loading…
Add table
Add a link
Reference in a new issue