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/01/28 13:14:45 UTC
[incubator-nuttx] branch master updated: esp32/psram: Fix missing
configs
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 bf384a7 esp32/psram: Fix missing configs
bf384a7 is described below
commit bf384a7e338461d6b893f0577fc4dd089791050c
Author: Alan C. Assis <ac...@gmail.com>
AuthorDate: Tue Jan 26 17:35:29 2021 -0300
esp32/psram: Fix missing configs
---
arch/xtensa/src/esp32/esp32_psram.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/xtensa/src/esp32/esp32_psram.c b/arch/xtensa/src/esp32/esp32_psram.c
index dd3a2b5..6ddfc10 100644
--- a/arch/xtensa/src/esp32/esp32_psram.c
+++ b/arch/xtensa/src/esp32/esp32_psram.c
@@ -153,7 +153,11 @@
#define PICO_PSRAM_CLK_IO 6
#ifndef CONFIG_PICO_PSRAM_CS_IO /* Default is 10 */
-# define PICO_PSRAM_CS_IO 10
+# define CONFIG_PICO_PSRAM_CS_IO 10
+#endif
+
+#ifndef CONFIG_ESP32_SPIRAM_SPIWP_SD3_PIN /* Default is 7 */
+# define CONFIG_ESP32_SPIRAM_SPIWP_SD3_PIN 7
#endif
#define PSRAM_INTERNAL_IO_28 28