diff --git a/bsp/stm32/stm32f746-st-nucleo/.config b/bsp/stm32/stm32f746-st-nucleo/.config index 28a33828090dbffd7a6a8547071765163bd81997..0d018e8a707012ea4f4415623f57743f9c1c58d3 100644 --- a/bsp/stm32/stm32f746-st-nucleo/.config +++ b/bsp/stm32/stm32f746-st-nucleo/.config @@ -31,7 +31,7 @@ CONFIG_RT_TIMER_THREAD_STACK_SIZE=512 # CONFIG_RT_KSERVICE_USING_STDLIB is not set # CONFIG_RT_KSERVICE_USING_TINY_SIZE is not set # CONFIG_RT_USING_TINY_FFS is not set -# CONFIG_RT_PRINTF_LONGLONG is not set +# CONFIG_RT_KPRINTF_USING_LONGLONG is not set CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG_COLOR=y # CONFIG_RT_DEBUG_INIT_CONFIG is not set @@ -80,7 +80,7 @@ CONFIG_RT_USING_DEVICE=y CONFIG_RT_USING_CONSOLE=y CONFIG_RT_CONSOLEBUF_SIZE=256 CONFIG_RT_CONSOLE_DEVICE_NAME="uart3" -CONFIG_RT_VER_NUM=0x40100 +CONFIG_RT_VER_NUM=0x40101 CONFIG_ARCH_ARM=y CONFIG_RT_USING_CPU_FFS=y CONFIG_ARCH_ARM_CORTEX_M=y @@ -110,18 +110,7 @@ CONFIG_FINSH_USING_DESCRIPTION=y # CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set # CONFIG_FINSH_USING_AUTH is not set CONFIG_FINSH_ARG_MAX=10 -CONFIG_RT_USING_DFS=y -CONFIG_DFS_USING_POSIX=y -CONFIG_DFS_USING_WORKDIR=y -CONFIG_DFS_FILESYSTEMS_MAX=2 -CONFIG_DFS_FILESYSTEM_TYPES_MAX=2 -CONFIG_DFS_FD_MAX=16 -# CONFIG_RT_USING_DFS_MNTTABLE is not set -# CONFIG_RT_USING_DFS_ELMFAT is not set -CONFIG_RT_USING_DFS_DEVFS=y -# CONFIG_RT_USING_DFS_ROMFS is not set -# CONFIG_RT_USING_DFS_RAMFS is not set -# CONFIG_RT_USING_DFS_NFS is not set +# CONFIG_RT_USING_DFS is not set # CONFIG_RT_USING_FAL is not set # CONFIG_RT_USING_LWP is not set @@ -206,65 +195,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # CONFIG_RT_USING_SAL is not set # CONFIG_RT_USING_NETDEV is not set -CONFIG_NETDEV_USING_PING=y -CONFIG_RT_USING_LWIP=y -# CONFIG_RT_USING_LWIP_LOCAL_VERSION is not set +# CONFIG_RT_USING_LWIP is not set # CONFIG_RT_USING_LWIP141 is not set # CONFIG_RT_USING_LWIP203 is not set -CONFIG_RT_USING_LWIP212=y +# CONFIG_RT_USING_LWIP212 is not set # CONFIG_RT_USING_LWIP_LATEST is not set -CONFIG_RT_USING_LWIP_VER_NUM=0x20102 -# CONFIG_RT_USING_LWIP_IPV6 is not set -CONFIG_RT_LWIP_MEM_ALIGNMENT=4 -CONFIG_RT_LWIP_IGMP=y -CONFIG_RT_LWIP_ICMP=y -# CONFIG_RT_LWIP_SNMP is not set -CONFIG_RT_LWIP_DNS=y -CONFIG_RT_LWIP_DHCP=y -CONFIG_IP_SOF_BROADCAST=1 -CONFIG_IP_SOF_BROADCAST_RECV=1 - -# -# Static IPv4 Address -# -CONFIG_RT_LWIP_IPADDR="192.168.1.30" -CONFIG_RT_LWIP_GWADDR="192.168.1.1" -CONFIG_RT_LWIP_MSKADDR="255.255.255.0" -CONFIG_RT_LWIP_UDP=y -CONFIG_RT_LWIP_TCP=y -CONFIG_RT_LWIP_RAW=y -# CONFIG_RT_LWIP_PPP is not set -CONFIG_RT_MEMP_NUM_NETCONN=8 -CONFIG_RT_LWIP_PBUF_NUM=16 -CONFIG_RT_LWIP_RAW_PCB_NUM=4 -CONFIG_RT_LWIP_UDP_PCB_NUM=4 -CONFIG_RT_LWIP_TCP_PCB_NUM=4 -CONFIG_RT_LWIP_TCP_SEG_NUM=40 -CONFIG_RT_LWIP_TCP_SND_BUF=8196 -CONFIG_RT_LWIP_TCP_WND=8196 -CONFIG_RT_LWIP_TCPTHREAD_PRIORITY=10 -CONFIG_RT_LWIP_TCPTHREAD_MBOX_SIZE=8 -CONFIG_RT_LWIP_TCPTHREAD_STACKSIZE=1024 -# CONFIG_LWIP_NO_RX_THREAD is not set -# CONFIG_LWIP_NO_TX_THREAD is not set -CONFIG_RT_LWIP_ETHTHREAD_PRIORITY=12 -CONFIG_RT_LWIP_ETHTHREAD_STACKSIZE=1024 -CONFIG_RT_LWIP_ETHTHREAD_MBOX_SIZE=8 -# CONFIG_RT_LWIP_REASSEMBLY_FRAG is not set -CONFIG_LWIP_NETIF_STATUS_CALLBACK=1 -CONFIG_LWIP_NETIF_LINK_CALLBACK=1 -CONFIG_SO_REUSE=1 -CONFIG_LWIP_SO_RCVTIMEO=1 -CONFIG_LWIP_SO_SNDTIMEO=1 -CONFIG_LWIP_SO_RCVBUF=1 -CONFIG_LWIP_SO_LINGER=0 -# CONFIG_RT_LWIP_NETIF_LOOPBACK is not set -CONFIG_LWIP_NETIF_LOOPBACK=0 -# CONFIG_RT_LWIP_STATS is not set -# CONFIG_RT_LWIP_USING_HW_CHECKSUM is not set -CONFIG_RT_LWIP_USING_PING=y -# CONFIG_LWIP_USING_DHCPD is not set -# CONFIG_RT_LWIP_DEBUG is not set # CONFIG_RT_USING_AT is not set # @@ -340,6 +275,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UCLOUD_IOT_SDK is not set # CONFIG_PKG_USING_JOYLINK is not set # CONFIG_PKG_USING_EZ_IOT_OS is not set +# CONFIG_PKG_USING_IOTSHARP_SDK is not set # CONFIG_PKG_USING_NIMBLE is not set # CONFIG_PKG_USING_LLSYNC_SDK_ADAPTER is not set # CONFIG_PKG_USING_OTA_DOWNLOADER is not set @@ -379,6 +315,7 @@ CONFIG_RT_LWIP_USING_PING=y # # CONFIG_PKG_USING_MBEDTLS is not set # CONFIG_PKG_USING_LIBSODIUM is not set +# CONFIG_PKG_USING_LIBHYDROGEN is not set # CONFIG_PKG_USING_TINYCRYPT is not set # CONFIG_PKG_USING_TFM is not set # CONFIG_PKG_USING_YD_CRYPTO is not set @@ -493,6 +430,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FDT is not set # CONFIG_PKG_USING_CBOX is not set # CONFIG_PKG_USING_SNOWFLAKE is not set +# CONFIG_PKG_USING_HASH_MATCH is not set # # system packages @@ -524,6 +462,7 @@ CONFIG_RT_LWIP_USING_PING=y # CMSIS: ARM Cortex-M Microcontroller Software Interface Standard # # CONFIG_PKG_USING_CMSIS_5 is not set +# CONFIG_PKG_USING_CMSIS_RTOS1 is not set # CONFIG_PKG_USING_CMSIS_RTOS2 is not set # @@ -566,6 +505,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_TINYUSB is not set # CONFIG_PKG_USING_CHERRYUSB is not set # CONFIG_PKG_USING_KMULTI_RTIMER is not set +# CONFIG_PKG_USING_TFDB is not set # # peripheral libraries and drivers @@ -720,6 +660,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_CONTROLLER is not set # CONFIG_PKG_USING_PHASE_LOCKED_LOOP is not set # CONFIG_PKG_USING_MFBD is not set +# CONFIG_PKG_USING_SLCAN2RTT is not set CONFIG_SOC_FAMILY_STM32=y CONFIG_SOC_SERIES_STM32F7=y diff --git a/bsp/stm32/stm32f746-st-nucleo/project.uvprojx b/bsp/stm32/stm32f746-st-nucleo/project.uvprojx index 3153e1f23bdda1a37d5ccf74bdb248d1099fa7d5..7849f501cb21dc0b4152b23f49f61b190eb3d57c 100644 --- a/bsp/stm32/stm32f746-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f746-st-nucleo/project.uvprojx @@ -336,7 +336,7 @@ USE_HAL_DRIVER, __RTTHREAD__, STM32F746xx, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND - applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\spi;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include;..\..\..\components\net\lwip\lwip-2.1.2\src\include;..\..\..\components\net\lwip\lwip-2.1.2\src\include\netif;..\..\..\components\net\lwip\lwip-2.1.2\src\include\compat\posix;..\..\..\components\net\lwip\port;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc + applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\spi;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc @@ -391,30 +391,30 @@ Compiler - syscalls.c + syscall_mem.c 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\..\components\libc\compilers\armlibc\syscall_mem.c - syscall_mem.c + syscalls.c 1 - ..\..\..\components\libc\compilers\armlibc\syscall_mem.c + ..\..\..\components\libc\compilers\armlibc\syscalls.c - time.c + stdlib.c 1 - ..\..\..\components\libc\compilers\common\time.c + ..\..\..\components\libc\compilers\common\stdlib.c - stdlib.c + time.c 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\common\time.c @@ -422,16 +422,16 @@ CPU - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c @@ -467,51 +467,51 @@ DeviceDrivers - ringblk_buf.c + completion.c 1 - ..\..\..\components\drivers\ipc\ringblk_buf.c + ..\..\..\components\drivers\ipc\completion.c - waitqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\ipc\waitqueue.c + ..\..\..\components\drivers\ipc\dataqueue.c - completion.c + pipe.c 1 - ..\..\..\components\drivers\ipc\completion.c + ..\..\..\components\drivers\ipc\pipe.c - ringbuffer.c + ringblk_buf.c 1 - ..\..\..\components\drivers\ipc\ringbuffer.c + ..\..\..\components\drivers\ipc\ringblk_buf.c - dataqueue.c + ringbuffer.c 1 - ..\..\..\components\drivers\ipc\dataqueue.c + ..\..\..\components\drivers\ipc\ringbuffer.c - workqueue.c + waitqueue.c 1 - ..\..\..\components\drivers\ipc\workqueue.c + ..\..\..\components\drivers\ipc\waitqueue.c - pipe.c + workqueue.c 1 - ..\..\..\components\drivers\ipc\pipe.c + ..\..\..\components\drivers\ipc\workqueue.c @@ -523,16 +523,16 @@ - soft_rtc.c + rtc.c 1 - ..\..\..\components\drivers\rtc\soft_rtc.c + ..\..\..\components\drivers\rtc\rtc.c - rtc.c + soft_rtc.c 1 - ..\..\..\components\drivers\rtc\rtc.c + ..\..\..\components\drivers\rtc\soft_rtc.c @@ -559,13 +559,6 @@ Drivers - - - stm32f7xx_hal_msp.c - 1 - board\CubeMX_Config\Src\stm32f7xx_hal_msp.c - - startup_stm32f746xx.s @@ -575,23 +568,16 @@ - board.c - 1 - board\board.c - - - - - drv_gpio.c + stm32f7xx_hal_msp.c 1 - ..\libraries\HAL_Drivers\drv_gpio.c + board\CubeMX_Config\Src\stm32f7xx_hal_msp.c - drv_usart.c + board.c 1 - ..\libraries\HAL_Drivers\drv_usart.c + board\board.c @@ -603,47 +589,23 @@ - drv_spi.c - 1 - ..\libraries\HAL_Drivers\drv_spi.c - - - - - Filesystem - - - dfs_posix.c - 1 - ..\..\..\components\dfs\src\dfs_posix.c - - - - - dfs_fs.c - 1 - ..\..\..\components\dfs\src\dfs_fs.c - - - - - dfs.c + drv_gpio.c 1 - ..\..\..\components\dfs\src\dfs.c + ..\libraries\HAL_Drivers\drv_gpio.c - dfs_file.c + drv_spi.c 1 - ..\..\..\components\dfs\src\dfs_file.c + ..\libraries\HAL_Drivers\drv_spi.c - devfs.c + drv_usart.c 1 - ..\..\..\components\dfs\filesystems\devfs\devfs.c + ..\libraries\HAL_Drivers\drv_usart.c @@ -663,13 +625,6 @@ ..\..\..\components\finsh\msh.c - - - msh_file.c - 1 - ..\..\..\components\finsh\msh_file.c - - cmd.c @@ -689,86 +644,86 @@ - irq.c + components.c 1 - ..\..\..\src\irq.c + ..\..\..\src\components.c - kservice.c + device.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\device.c - timer.c + idle.c 1 - ..\..\..\src\timer.c + ..\..\..\src\idle.c - mem.c + ipc.c 1 - ..\..\..\src\mem.c + ..\..\..\src\ipc.c - idle.c + irq.c 1 - ..\..\..\src\idle.c + ..\..\..\src\irq.c - mempool.c + kservice.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\kservice.c - components.c + mem.c 1 - ..\..\..\src\components.c + ..\..\..\src\mem.c - scheduler.c + mempool.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\mempool.c - ipc.c + object.c 1 - ..\..\..\src\ipc.c + ..\..\..\src\object.c - object.c + scheduler.c 1 - ..\..\..\src\object.c + ..\..\..\src\scheduler.c - device.c + thread.c 1 - ..\..\..\src\device.c + ..\..\..\src\thread.c - thread.c + timer.c 1 - ..\..\..\src\thread.c + ..\..\..\src\timer.c @@ -957,296 +912,6 @@ - - lwIP - - - netdb.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\netdb.c - - - - - ip.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ip.c - - - - - autoip.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ipv4\autoip.c - - - - - ethernet.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\netif\ethernet.c - - - - - netif.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\netif.c - - - - - sys.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\sys.c - - - - - sockets.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\sockets.c - - - - - altcp_alloc.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\altcp_alloc.c - - - - - netifapi.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\netifapi.c - - - - - tcpip.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\tcpip.c - - - - - ip4_addr.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ipv4\ip4_addr.c - - - - - dhcp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ipv4\dhcp.c - - - - - init.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\init.c - - - - - etharp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ipv4\etharp.c - - - - - memp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\memp.c - - - - - ip4.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ipv4\ip4.c - - - - - netbuf.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\netbuf.c - - - - - raw.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\raw.c - - - - - ip4_frag.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ipv4\ip4_frag.c - - - - - tcp_out.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\tcp_out.c - - - - - lowpan6.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\netif\lowpan6.c - - - - - icmp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ipv4\icmp.c - - - - - api_lib.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\api_lib.c - - - - - inet_chksum.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\inet_chksum.c - - - - - stats.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\stats.c - - - - - err.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\err.c - - - - - altcp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\altcp.c - - - - - tcp_in.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\tcp_in.c - - - - - dns.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\dns.c - - - - - timeouts.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\timeouts.c - - - - - igmp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\ipv4\igmp.c - - - - - udp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\udp.c - - - - - altcp_tcp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\altcp_tcp.c - - - - - pbuf.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\pbuf.c - - - - - def.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\def.c - - - - - api_msg.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\api_msg.c - - - - - ping.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\apps\ping\ping.c - - - - - if_api.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\api\if_api.c - - - - - tcp.c - 1 - ..\..\..\components\net\lwip\lwip-2.1.2\src\core\tcp.c - - - - - sys_arch.c - 1 - ..\..\..\components\net\lwip\port\sys_arch.c - - - - - ethernetif.c - 1 - ..\..\..\components\net\lwip\port\ethernetif.c - - - diff --git a/bsp/stm32/stm32f746-st-nucleo/rtconfig.h b/bsp/stm32/stm32f746-st-nucleo/rtconfig.h index 0c393b536e19ffb6e4e94503d5a1381e012becf3..7021fadae7f875760e20ea19bdfe03178bff0878 100644 --- a/bsp/stm32/stm32f746-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32f746-st-nucleo/rtconfig.h @@ -47,7 +47,7 @@ #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 256 #define RT_CONSOLE_DEVICE_NAME "uart3" -#define RT_VER_NUM 0x40100 +#define RT_VER_NUM 0x40101 #define ARCH_ARM #define RT_USING_CPU_FFS #define ARCH_ARM_CORTEX_M @@ -72,13 +72,6 @@ #define MSH_USING_BUILT_IN_COMMANDS #define FINSH_USING_DESCRIPTION #define FINSH_ARG_MAX 10 -#define RT_USING_DFS -#define DFS_USING_POSIX -#define DFS_USING_WORKDIR -#define DFS_FILESYSTEMS_MAX 2 -#define DFS_FILESYSTEM_TYPES_MAX 2 -#define DFS_FD_MAX 16 -#define RT_USING_DFS_DEVFS /* Device Drivers */ @@ -110,49 +103,6 @@ /* Network */ -#define NETDEV_USING_PING -#define RT_USING_LWIP -#define RT_USING_LWIP212 -#define RT_USING_LWIP_VER_NUM 0x20102 -#define RT_LWIP_MEM_ALIGNMENT 4 -#define RT_LWIP_IGMP -#define RT_LWIP_ICMP -#define RT_LWIP_DNS -#define RT_LWIP_DHCP -#define IP_SOF_BROADCAST 1 -#define IP_SOF_BROADCAST_RECV 1 - -/* Static IPv4 Address */ - -#define RT_LWIP_IPADDR "192.168.1.30" -#define RT_LWIP_GWADDR "192.168.1.1" -#define RT_LWIP_MSKADDR "255.255.255.0" -#define RT_LWIP_UDP -#define RT_LWIP_TCP -#define RT_LWIP_RAW -#define RT_MEMP_NUM_NETCONN 8 -#define RT_LWIP_PBUF_NUM 16 -#define RT_LWIP_RAW_PCB_NUM 4 -#define RT_LWIP_UDP_PCB_NUM 4 -#define RT_LWIP_TCP_PCB_NUM 4 -#define RT_LWIP_TCP_SEG_NUM 40 -#define RT_LWIP_TCP_SND_BUF 8196 -#define RT_LWIP_TCP_WND 8196 -#define RT_LWIP_TCPTHREAD_PRIORITY 10 -#define RT_LWIP_TCPTHREAD_MBOX_SIZE 8 -#define RT_LWIP_TCPTHREAD_STACKSIZE 1024 -#define RT_LWIP_ETHTHREAD_PRIORITY 12 -#define RT_LWIP_ETHTHREAD_STACKSIZE 1024 -#define RT_LWIP_ETHTHREAD_MBOX_SIZE 8 -#define LWIP_NETIF_STATUS_CALLBACK 1 -#define LWIP_NETIF_LINK_CALLBACK 1 -#define SO_REUSE 1 -#define LWIP_SO_RCVTIMEO 1 -#define LWIP_SO_SNDTIMEO 1 -#define LWIP_SO_RCVBUF 1 -#define LWIP_SO_LINGER 0 -#define LWIP_NETIF_LOOPBACK 0 -#define RT_LWIP_USING_PING /* Utilities */