Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lwip] integrate lwip porting layer #5606

Merged
merged 9 commits into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bsp/lm3s9b9x/rtconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
/* SECTION: Device System */
/* Using Device System*/
#define RT_USING_DEVICE
#define RT_USING_DEVICE_IPC

#define RT_USING_UART1
// #define RT_USING_UART2
Expand Down
1 change: 1 addition & 0 deletions bsp/lpc176x/rtconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@

// <section name="RT_USING_DEVICE" description="Using Device Driver Framework" default="true" >
#define RT_USING_DEVICE
#define RT_USING_DEVICE_IPC
// <bool name="RT_USING_UART0" description="Using UART0" default="true" />
#define RT_USING_UART0
// <integer name="RT_UART_RX_BUFFER_SIZE" description="The buffer size for UART reception" default="64" />
Expand Down
1 change: 1 addition & 0 deletions bsp/sam7x/rtconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
/* SECTION: Device System */
/* Using Device System*/
#define RT_USING_DEVICE
#define RT_USING_DEVICE_IPC
#define RT_USING_UART1
#define RT_UART_RX_BUFFER_SIZE 128

Expand Down
6 changes: 3 additions & 3 deletions components/net/at/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ if GetDepend(['AT_USING_SERVER']):
src/at_server.c
src/at_base_cmd.c
''')

if GetDepend(['AT_USING_CLIENT']):
src += Glob('src/at_client.c')

if GetDepend(['AT_USING_SOCKET']):
src += Glob('at_socket/*.c')
path += [cwd + '/at_socket']
path += [cwd + '/at_socket']

group = DefineGroup('AT', src, depend = ['RT_USING_AT'], CPPPATH = path)

Expand Down
3 changes: 2 additions & 1 deletion components/net/lwip/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
menuconfig RT_USING_LWIP
menuconfig RT_USING_LWIP
bool "Enable light weight TCP/IP stack (lwIP)"
select RT_USING_DEVICE
select RT_USING_DEVICE_IPC
default n

if RT_USING_LWIP
Expand Down
3 changes: 0 additions & 3 deletions components/net/lwip/lwip-1.4.1/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ src/api/netdb.c
src/api/netifapi.c
src/api/sockets.c
src/api/tcpip.c
src/arch/sys_arch.c
src/core/def.c
src/core/dhcp.c
src/core/dns.c
Expand All @@ -35,7 +34,6 @@ src/core/ipv4/ip.c
src/core/ipv4/ip_addr.c
src/core/ipv4/ip_frag.c
src/netif/etharp.c
src/netif/ethernetif.c
src/netif/slipif.c
""")

Expand Down Expand Up @@ -68,7 +66,6 @@ src/netif/ppp/vj.c
path = [GetCurrentDir() + '/src',
GetCurrentDir() + '/src/include',
GetCurrentDir() + '/src/include/ipv4',
GetCurrentDir() + '/src/arch/include',
GetCurrentDir() + '/src/include/netif']

if GetDepend(['RT_LWIP_SNMP']):
Expand Down
35 changes: 0 additions & 35 deletions components/net/lwip/lwip-1.4.1/src/arch/include/arch/bpstruct.h

This file was deleted.

35 changes: 0 additions & 35 deletions components/net/lwip/lwip-1.4.1/src/arch/include/arch/epstruct.h

This file was deleted.

52 changes: 0 additions & 52 deletions components/net/lwip/lwip-1.4.1/src/arch/include/arch/perf.h

This file was deleted.

58 changes: 0 additions & 58 deletions components/net/lwip/lwip-1.4.1/src/arch/include/arch/sys_arch.h

This file was deleted.

Loading