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/nuttx.git

commit 882c39df4d8f59fb31a11c76c68e6db358f18916
Author: wangjianyu3 <wangjian...@xiaomi.com>
AuthorDate: Sun Mar 30 22:50:54 2025 +0800

    Documentation/szpi-esp32s3: Add doc for PSRAM
    
    Basic NuttShell configuration console and PSRAM enabled.
    
    Signed-off-by: wangjianyu3 <wangjian...@xiaomi.com>
---
 .../esp32s3/boards/lckfb-szpi-esp32s3/index.rst    | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git 
a/Documentation/platforms/xtensa/esp32s3/boards/lckfb-szpi-esp32s3/index.rst 
b/Documentation/platforms/xtensa/esp32s3/boards/lckfb-szpi-esp32s3/index.rst
index 6ec1ba9305..7405e7d292 100644
--- a/Documentation/platforms/xtensa/esp32s3/boards/lckfb-szpi-esp32s3/index.rst
+++ b/Documentation/platforms/xtensa/esp32s3/boards/lckfb-szpi-esp32s3/index.rst
@@ -275,3 +275,25 @@ Then test LEDC(PWM) with pin42(backlight of LCD)::
   nsh> pwm -d 0
   pwm_main: starting output with frequency: 100 duty: 00000000
   pwm_main: stopping output
+
+psram
+-----
+
+Basic NuttShell configuration console and PSRAM(Pseudo Static Random Access 
Memory) enabled.
+
+You can run the configuration and compilation procedure::
+
+  $ ./tools/configure.sh lckfb-szpi-esp32s3:psram
+  $ make flash -j$(nproc) ESPTOOL_PORT=/dev/ttyUSB0
+
+Then comparing memory size with the basic "nsh" config::
+
+  # lckfb-szpi-esp32s3:nsh
+  nsh> free
+     total       used       free    maxused    maxfree  nused  nfree name
+       332948     161500     171448     178280     171448     39      1 Umem
+
+  # lckfb-szpi-esp32s3:psram
+  nsh> free
+        total       used       free    maxused    maxfree  nused  nfree name
+      8785268     161516    8623752     161888    8388592     41      2 Umem

Reply via email to