You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/06/03 15:06:24 UTC

[incubator-nuttx] branch master updated: esp32-devkitc/wapi: a few settings which I often need for network testing

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 42d75f9  esp32-devkitc/wapi: a few settings which I often need for network testing
42d75f9 is described below

commit 42d75f97e63da6fd0ad3f16fd943f17a32c2783e
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Jun 2 18:16:10 2021 +0900

    esp32-devkitc/wapi: a few settings which I often need for network testing
    
    CONFIG_DEV_URANDOM=y (for mbedtls)
    CONFIG_NETDB_DNSCLIENT_NAMESIZE=64 (azure generated hostnames)
    CONFIG_NET_ETH_PKTSIZE=1518
    CONFIG_NET_TCP_DELAYED_ACK=y
    CONFIG_NET_TCP_WRITE_BUFFERS=y
    CONFIG_NSH_LINELEN=300 (copy-and-paste azure long URLs)
---
 boards/xtensa/esp32/esp32-devkitc/configs/wapi/defconfig | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/wapi/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/wapi/defconfig
index cf37b07..3764d90 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/wapi/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/wapi/defconfig
@@ -19,6 +19,7 @@ CONFIG_ARCH_STACKDUMP=y
 CONFIG_ARCH_XTENSA=y
 CONFIG_BOARD_LOOPSPERMSEC=16717
 CONFIG_BUILTIN=y
+CONFIG_DEV_URANDOM=y
 CONFIG_DRIVERS_IEEE80211=y
 CONFIG_DRIVERS_WIRELESS=y
 CONFIG_ESP32_MTD_SIZE=0x80000
@@ -37,18 +38,22 @@ CONFIG_MAX_TASKS=16
 CONFIG_MM_REGIONS=3
 CONFIG_NAME_MAX=48
 CONFIG_NETDB_DNSCLIENT=y
+CONFIG_NETDB_DNSCLIENT_NAMESIZE=64
 CONFIG_NETDEV_LATEINIT=y
 CONFIG_NETDEV_PHY_IOCTL=y
 CONFIG_NETDEV_WIRELESS_IOCTL=y
 CONFIG_NET_BROADCAST=y
+CONFIG_NET_ETH_PKTSIZE=1518
 CONFIG_NET_ICMP=y
 CONFIG_NET_ICMP_SOCKET=y
 CONFIG_NET_TCP=y
+CONFIG_NET_TCP_DELAYED_ACK=y
+CONFIG_NET_TCP_WRITE_BUFFERS=y
 CONFIG_NET_UDP=y
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_FILEIOSIZE=512
-CONFIG_NSH_LINELEN=64
+CONFIG_NSH_LINELEN=300
 CONFIG_NSH_READLINE=y
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PTHREAD_MUTEX_TYPES=y