90c52e6f8f
Author: Gregory Nutt <gnutt@nuttx.org> Run all .h and .c files modified in last PR through nxstyle. Author: Xiang Xiao <xiaoxiang@xiaomi.com> Net cleanup (#17) * Fix the semaphore usage issue found in tcp/udp 1. The count semaphore need disable priority inheritance 2. Loop again if net_lockedwait return -EINTR 3. Call nxsem_trywait to avoid the race condition 4. Call nxsem_post instead of sem_post * Put the work notifier into free list to avoid the heap fragment in the long run. Since the allocation strategy is encapsulated internally, we can even refine the implementation later. * Network stack shouldn't allocate memory in the poll implementation to avoid the heap fragment in the long run, other modification include: 1. Select MM_IOB automatically since ICMP[v6] socket can't work without the read ahead buffer 2. Remove the net lock since xxx_callback_free already do the same thing 3. TCP/UDP poll should work even the read ahead buffer isn't enabled at all * Add NET_ prefix for UDP_NOTIFIER and TCP_NOTIFIER option to align with other UDP/TCP option convention * Remove the unused _SF_[IDLE|ACCEPT|SEND|RECV|MASK] flags since there are code to set/clear these flags, but nobody check them.
98 lines
2.4 KiB
Plaintext
98 lines
2.4 KiB
Plaintext
#
|
|
# This file is autogenerated: PLEASE DO NOT EDIT IT.
|
|
#
|
|
# You can use "make menuconfig" to make any modifications to the installed .config file.
|
|
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
|
# modifications.
|
|
#
|
|
# CONFIG_LPC17_40_EMC is not set
|
|
# CONFIG_NSH_DISABLE_IFCONFIG is not set
|
|
# CONFIG_NSH_DISABLE_PS is not set
|
|
CONFIG_ARCH="arm"
|
|
CONFIG_ARCH_BOARD="lpc4088-devkit"
|
|
CONFIG_ARCH_BOARD_LPC4088_DEVKIT=y
|
|
CONFIG_ARCH_CHIP="lpc17xx_40xx"
|
|
CONFIG_ARCH_CHIP_LPC17XX_40XX=y
|
|
CONFIG_ARCH_CHIP_LPC4088=y
|
|
CONFIG_ARCH_STACKDUMP=y
|
|
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y
|
|
CONFIG_BCH=y
|
|
CONFIG_BOARD_LOOPSPERMSEC=11934
|
|
CONFIG_BUILTIN=y
|
|
CONFIG_DEBUG_ERROR=y
|
|
CONFIG_DEBUG_FEATURES=y
|
|
CONFIG_DEBUG_INFO=y
|
|
CONFIG_DEBUG_NET=y
|
|
CONFIG_DEBUG_SYMBOLS=y
|
|
CONFIG_DEBUG_WARN=y
|
|
CONFIG_DEV_LOOP=y
|
|
CONFIG_ETH0_PHY_LAN8720=y
|
|
CONFIG_FAT_LCNAMES=y
|
|
CONFIG_FAT_LFN=y
|
|
CONFIG_FS_FAT=y
|
|
CONFIG_FS_ROMFS=y
|
|
CONFIG_INTELHEX_BINARY=y
|
|
CONFIG_IOB_NBUFFERS=24
|
|
CONFIG_IOB_THROTTLE=0
|
|
CONFIG_LPC17_40_ETHERNET=y
|
|
CONFIG_LPC17_40_GPDMA=y
|
|
CONFIG_LPC17_40_MULTICAST=y
|
|
CONFIG_LPC17_40_PHY_AUTONEG=y
|
|
CONFIG_LPC17_40_SDCARD=y
|
|
CONFIG_LPC17_40_UART0=y
|
|
CONFIG_LPC17_40_UART1=y
|
|
CONFIG_MAX_TASKS=16
|
|
CONFIG_MAX_WDOGPARMS=2
|
|
CONFIG_MMCSD=y
|
|
CONFIG_MMCSD_SDIO=y
|
|
CONFIG_MM_REGIONS=2
|
|
CONFIG_NET=y
|
|
CONFIG_NETDB_DNSCLIENT=y
|
|
CONFIG_NETDEV_PHY_IOCTL=y
|
|
CONFIG_NETUTILS_DHCPC=y
|
|
CONFIG_NETUTILS_DISCOVER=y
|
|
CONFIG_NETUTILS_TELNETD=y
|
|
CONFIG_NETUTILS_WEBSERVER=y
|
|
CONFIG_NET_BROADCAST=y
|
|
CONFIG_NET_ICMP=y
|
|
CONFIG_NET_SOCKOPTS=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_TCP_NOTIFIER=y
|
|
CONFIG_NET_TCP_WRITE_BUFFERS=y
|
|
CONFIG_NET_UDP=y
|
|
CONFIG_NFILE_DESCRIPTORS=8
|
|
CONFIG_NFILE_STREAMS=8
|
|
CONFIG_NSH_ARCHINIT=y
|
|
CONFIG_NSH_DHCPC=y
|
|
CONFIG_NSH_FILEIOSIZE=512
|
|
CONFIG_NSH_NETMASK=0xffff0000
|
|
CONFIG_NSH_NOMAC=y
|
|
CONFIG_NSH_READLINE=y
|
|
CONFIG_NXFLAT=y
|
|
CONFIG_PIPES=y
|
|
CONFIG_PREALLOC_MQ_MSGS=4
|
|
CONFIG_PREALLOC_TIMERS=4
|
|
CONFIG_PREALLOC_WDOGS=4
|
|
CONFIG_RAM_SIZE=65536
|
|
CONFIG_RAM_START=0x10000000
|
|
CONFIG_RR_INTERVAL=200
|
|
CONFIG_SCHED_HPNTHREADS=5
|
|
CONFIG_SCHED_HPWORK=y
|
|
CONFIG_SCHED_HPWORKPRIORITY=192
|
|
CONFIG_SCHED_LPNTHREADS=4
|
|
CONFIG_SCHED_LPWORK=y
|
|
CONFIG_SCHED_LPWORKPRIORITY=176
|
|
CONFIG_SCHED_LPWORKSTACKSIZE=3084
|
|
CONFIG_SCHED_WAITPID=y
|
|
CONFIG_START_DAY=23
|
|
CONFIG_START_MONTH=4
|
|
CONFIG_START_YEAR=2019
|
|
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
|
CONFIG_SYSTEM_MDIO=y
|
|
CONFIG_SYSTEM_NSH=y
|
|
CONFIG_TASK_NAME_SIZE=0
|
|
CONFIG_UART0_SERIAL_CONSOLE=y
|
|
CONFIG_USERMAIN_STACKSIZE=4096
|
|
CONFIG_USER_ENTRYPOINT="nsh_main"
|
|
CONFIG_WDOG_INTRESERVE=0
|