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:47 UTC

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

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