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/04/19 12:48:45 UTC

[incubator-nuttx] branch master updated (b96fc3f -> c1b0ee4)

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

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


    from b96fc3f  net/igmp: drop the invalid packet
     new 792f53b  boards/esp32-devkitc: Remove useless configs from PSRAM defconfig.
     new c1b0ee4  arch/xtensa/src/esp32/Kconfig: Make bank switching default to disabled.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 arch/xtensa/src/esp32/Kconfig                      |  2 +-
 .../esp32/esp32-devkitc/configs/psram/defconfig    | 25 ++++------------------
 2 files changed, 5 insertions(+), 22 deletions(-)

[incubator-nuttx] 01/02: boards/esp32-devkitc: Remove useless configs from PSRAM defconfig.

Posted by xi...@apache.org.
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

commit 792f53b4ac220e1757dff656858e4cbd2239ff69
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Mon Apr 19 12:09:20 2021 +0100

    boards/esp32-devkitc: Remove useless configs from PSRAM defconfig.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 .../esp32/esp32-devkitc/configs/psram/defconfig    | 26 +++++-----------------
 1 file changed, 5 insertions(+), 21 deletions(-)

diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
index 9ac4442..56f8a2c 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
@@ -6,6 +6,7 @@
 # modifications.
 #
 # CONFIG_ARCH_LEDS is not set
+# CONFIG_ESP32_SPIRAM_BANKSWITCH_ENABLE is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_CMDPARMS is not set
@@ -20,7 +21,6 @@ CONFIG_ARCH_XTENSA=y
 CONFIG_BOARD_LOOPSPERMSEC=16717
 CONFIG_BUILTIN=y
 CONFIG_DEV_ZERO=y
-CONFIG_ESP32_EMAC=y
 CONFIG_ESP32_SPIRAM=y
 CONFIG_ESP32_UART0=y
 CONFIG_FS_PROCFS=y
@@ -30,27 +30,12 @@ CONFIG_HEAP2_BASE=0x3F800000
 CONFIG_HEAP2_SIZE=4194304
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INTELHEX_BINARY=y
+CONFIG_IOB_NBUFFERS=36
+CONFIG_IOB_NCHAINS=36
+CONFIG_IOB_THROTTLE=8
 CONFIG_MAX_TASKS=16
+CONFIG_MM_IOB=y
 CONFIG_MM_REGIONS=4
-CONFIG_NETDB_DNSCLIENT=y
-CONFIG_NETDB_DNSSERVER_IPv4ADDR=0x08080808
-CONFIG_NETDB_HOSTFILE=y
-CONFIG_NETDEVICES=y
-CONFIG_NETDEV_PHY_IOCTL=y
-CONFIG_NETINIT_DRIPADDR=0xc0a80f01
-CONFIG_NETINIT_IPADDR=0xc0a80f64
-CONFIG_NETINIT_THREAD=y
-CONFIG_NETUTILS_TELNETD=y
-CONFIG_NETUTILS_TFTPC=y
-CONFIG_NETUTILS_WEBCLIENT=y
-CONFIG_NET_ARP_SEND=y
-CONFIG_NET_BROADCAST=y
-CONFIG_NET_ICMP=y
-CONFIG_NET_ICMP_SOCKET=y
-CONFIG_NET_TCP=y
-CONFIG_NET_TCPBACKLOG=y
-CONFIG_NET_TCP_WRITE_BUFFERS=y
-CONFIG_NET_UDP=y
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_FILEIOSIZE=512
@@ -69,7 +54,6 @@ CONFIG_START_DAY=6
 CONFIG_START_MONTH=12
 CONFIG_START_YEAR=2011
 CONFIG_SYSTEM_NSH=y
-CONFIG_SYSTEM_PING=y
 CONFIG_SYSTEM_RAMTEST=y
 CONFIG_UART0_SERIAL_CONSOLE=y
 CONFIG_USER_ENTRYPOINT="nsh_main"

[incubator-nuttx] 02/02: arch/xtensa/src/esp32/Kconfig: Make bank switching default to disabled.

Posted by xi...@apache.org.
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

commit c1b0ee436c180a248ac6a9d1ca62acfe6c06a118
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Mon Apr 19 12:10:35 2021 +0100

    arch/xtensa/src/esp32/Kconfig: Make bank switching default to disabled.
    
    This config is only useful when there is a > 4MB PSRAM and thus needs to
    be selected by the user explicitly.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 arch/xtensa/src/esp32/Kconfig                             | 2 +-
 boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/xtensa/src/esp32/Kconfig b/arch/xtensa/src/esp32/Kconfig
index eded971..be5b9c4 100644
--- a/arch/xtensa/src/esp32/Kconfig
+++ b/arch/xtensa/src/esp32/Kconfig
@@ -811,7 +811,7 @@ config ESP32_SPIRAM_2T_MODE
 
 config ESP32_SPIRAM_BANKSWITCH_ENABLE
 	bool "Enable bank switching for >4MiB external RAM"
-	default y
+	default n
 	help
 		The ESP32 only supports 4MiB of external RAM in its address
 		space. The hardware does support larger memories, but these
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
index 56f8a2c..d2dad9d 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
@@ -6,7 +6,6 @@
 # modifications.
 #
 # CONFIG_ARCH_LEDS is not set
-# CONFIG_ESP32_SPIRAM_BANKSWITCH_ENABLE is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_CMDPARMS is not set