• sales

    +86-0755-88291180

Raspberry Pi gamepi154-Retropie-Display configuration tutorial

Official image version
retropie-buster-4.7-xxxx.img

Board versionRaspberry Ri Zero/Zero 2/3B/4B/CM4

Download fbcp-ili9341 to your pi
git clone https://github.com/juj/fbcp-ili9341.git 
(Make sure that you download fbcp-ili9341 under path /home/pi/)

cd fbcp-ili9341

sudo mkdir build

cd build
sudo nano ../st7735r.cpp
To change like this following picture
change madctl to 0xc0 (This is rotate 90 degree the LCD)

After changing


Set LCD resolution to 240x240

After changing


Then you need to compile this project
sudo cmake -DWAVESHARE_ST7789VW_HAT=ON -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=6 -DSTATISTICS=number ..
If all work wellyou will get this following picture

sudo make -j
If all work wellyou will get this following picture

If you can not compile successfully , You can download our changed project form here
fbcp-ili9341-st7789-rotate90_211209.tar.gz
Run the display driver using
sudo ./fbcp-ili9341
Then your LCD will display well, but the Fontsize is too small
Change the LCD display resolution

sudo nano /boot/config.txt

Add the following code

hdmi_force_hotplug=1

hdmi_group=2

hdmi_mode=1

hdmi_mode=87

hdmi_cvt 480 480 60 6 0 0 0

display_rotate=0

avoid_warnings=1


Make fbcp-ili9341 work automatically when your Pi boot

sudo nano /etc/rc.local
Add the following code
sudo /home/pi/fbcp-ili9341/build/fbcp-ili9341 &


sudo reboot 
After your Pi reboot,Your LCD will display well

TAG: Raspberry Pi Pico 2 RP2350 1.69 inch LCD TouchScreen Development Board 240x280 1.69inch Display QMI8658 6-Axis Raspberry Pi 7 inch CAPLCD 1280x800 Capacitive TouchScreen HDMI/Type C Display Monitor For Computer mini PC Raspberry Pi 7.5 inch e-Paper link (H) RYBW 800x480 For Arduino / Jetson Nano / STM32 ESP32 C6 Development Board with 1.32inch AMOLED Display QSPI Interface WiFi 6 Audio Acquisition Deepseek ESP32 UART USB Bus Servo ST RSBL Driver board For Raspberry PI Robot Raspberry Pi LCD 3D Display Raspberry Pi 5 UART ESP32 Thermal imaging camera Sipeed NanoCluster Mini Cluster Board mini data center For Raspberry Pi CM45 / Computer /LM3H /M4N Raspberry Pi USB Global Shutter Camera 1MP OV9281 120fps Black/White 120fps also For Jeston RDK Raspberry Pi Pico GNSS expansion board L76K GPS Beidou (BDS) GLONASS QZSS A-GNSS For RP2040/RP2350 Jetson 1.5inch LCD SP3232EEN Gripper Serial Robotic Arm Gripper Mechanical claw Serial Bus Servo ST3215/CF35-12 ESP32-C6 AI Voice Chat Robot For Xiaozhi 1.8 inch AMOLED Development Board 1.8inch TouchScreen Deepseek Jetson Nano 5G module Banana Pi ESP32 1.54inch OLED PC USB Secondary Screen Metal Case