You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by li...@apache.org on 2026/04/06 16:47:07 UTC

(nuttx) branch master updated (b9b9266c3b5 -> f255cd870bc)

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

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


    from b9b9266c3b5 doc: add info on 3V3 ST7735 displays for Pico and W boards
     new 7bdd9330bc5 doc/raspberry-pi-pico: Fix ST7735 Documentation
     new f255cd870bc Doc/raspberry-pico-w: Update ST7735 Documentation

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:
 .../arm/rp2040/boards/raspberrypi-pico-w/index.rst |  53 ++++++++++++++++++++-
 .../st7735.png                                     | Bin
 .../arm/rp2040/boards/raspberrypi-pico/index.rst   |   2 +-
 3 files changed, 52 insertions(+), 3 deletions(-)
 copy Documentation/platforms/arm/rp2040/boards/{raspberrypi-pico => raspberrypi-pico-w}/st7735.png (100%)


(nuttx) 02/02: Doc/raspberry-pico-w: Update ST7735 Documentation

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f255cd870bcef2979f04e4945b736a5dec9974fb
Author: Alan Carvalho de Assis <ac...@gmail.com>
AuthorDate: Mon Apr 6 11:17:17 2026 -0300

    Doc/raspberry-pico-w: Update ST7735 Documentation
    
    Keep the documentation in sync with raspberrypi-pico.
    
    Signed-off-by: Alan C. Assis <ac...@gmail.com>
---
 .../arm/rp2040/boards/raspberrypi-pico-w/index.rst |  53 ++++++++++++++++++++-
 .../rp2040/boards/raspberrypi-pico-w/st7735.png    | Bin 0 -> 1505497 bytes
 2 files changed, 51 insertions(+), 2 deletions(-)

diff --git a/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico-w/index.rst b/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico-w/index.rst
index 6a614510ded..36e80d3ef3f 100644
--- a/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico-w/index.rst
+++ b/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico-w/index.rst
@@ -327,7 +327,7 @@ ST7735 SPI LCD.
    * - GND
      - GND (Pin 3 or 38 or ...)
    * - VCC
-     - 5V Vbus (Pin 40) or 3V3 (Pin 36), depending on the display
+     - 3V3 (Pin 36) or 5V Vbus (Pin 40), if your module has a voltage regulator
    * - SDA
      - GP15 (SPI1 TX) (Pin 20)
    * - SCK
@@ -337,10 +337,59 @@ ST7735 SPI LCD.
    * - AO(D/C)
      - GP12 (SPI1 RX) (Pin 16)
    * - BL
-     - GP11 (Pin 15)
+     - GP11 (Pin 15) [1]
    * - RESET
      - GP10 (Pin 14)
 
+1: At least in my LCD module I don't need to connect any wire to the backlight pin (BLK) since it is enabled by default.
+
+After compiling and flashing the firmware in our board, run fb command.
+
+.. code:: console
+
+    NuttShell (NSH) NuttX-12.13.0                                                     
+    nsh> ?                                                                            
+    help usage:  help [-v] [<cmd>]                                                    
+        .           cp          exit        mkrd        rmdir       true              
+        [           cmp         expr        mount       set         truncate          
+        ?           dirname     false       mv          kill        uname             
+        alias       date        fdinfo      pidof       pkill       umount            
+        unalias     df          free        printf      sleep       unset             
+        basename    dmesg       help        ps          usleep      uptime            
+        break       echo        hexdump     pwd         source      watch             
+        cat         env         ls          reboot      test        xd                
+        cd          exec        mkdir       rm          time        wait              
+    Builtin Apps:                                                                     
+        dd          getprime    nsh         nxdemo      nxlines     sh                
+        fb          hello       nx          nxhello     ostest                        
+    nsh> fb
+    VideoInfo:
+          fmt: 11
+         xres: 128
+         yres: 160
+      nplanes: 1
+    PlaneInfo (plane 0):
+        fbmem: 0x20003bf0
+        fblen: 40960
+       stride: 256
+      display: 0
+          bpp: 16                                                                     
+    Mapped FB: 0x20003bf0                                                             
+     0: (  0,  0) (128,160)                                                           
+     1: ( 11, 14) (106,132)                                                           
+     2: ( 22, 28) ( 84,104)                                                           
+     3: ( 33, 42) ( 62, 76)                                                           
+     4: ( 44, 56) ( 40, 48)                                                           
+     5: ( 55, 70) ( 18, 20)                                                           
+    Test finished                                                                     
+    nsh>
+
+
+You should see this image:
+
+.. figure:: st7735.png
+   :align: center
+
 telnet
 ------
 
diff --git a/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico-w/st7735.png b/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico-w/st7735.png
new file mode 100644
index 00000000000..6099ab36f3a
Binary files /dev/null and b/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico-w/st7735.png differ


(nuttx) 01/02: doc/raspberry-pi-pico: Fix ST7735 Documentation

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 7bdd9330bc5b20e96fae08c42cdd93adab243f66
Author: Alan Carvalho de Assis <ac...@gmail.com>
AuthorDate: Mon Apr 6 11:15:18 2026 -0300

    doc/raspberry-pi-pico: Fix ST7735 Documentation
    
    Change the order of voltage suggesting 3V3 first and than 5V to avoid
    users to damage their LCDs.
    
    Signed-off-by: Alan C. Assis <ac...@gmail.com>
---
 Documentation/platforms/arm/rp2040/boards/raspberrypi-pico/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico/index.rst b/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico/index.rst
index 4010591a24d..5f8ac2f0fc4 100644
--- a/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico/index.rst
+++ b/Documentation/platforms/arm/rp2040/boards/raspberrypi-pico/index.rst
@@ -346,7 +346,7 @@ ST7735 SPI LCD.
    * - GND
      - GND (Pin 3 or 38 or ...)
    * - VCC
-     - 5V Vbus (Pin 40)
+     - 3V3 (Pin 36) or 5V Vbus (Pin 40), if your module has a voltage regulator
    * - SDA
      - GP15 (SPI1 TX) (Pin 20)
    * - SCK