mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 05:27:17 +00:00
The rp23xx common board sources reference rp23xx_st7735.c from both Make.defs and CMakeLists.txt under CONFIG_LCD_ST7735, but the file was never added. Enabling CONFIG_LCD_ST7735 on any rp23xx board therefore fails the build on the missing source. Add the file, modelled on the existing RP2040 sibling boards/arm/rp2040/common/src/rp2040_st7735.c and retargeted to rp23xx/SPI1. It implements board_lcd_initialize(), board_lcd_getdev() and board_lcd_uninitialize(): bring up SPI1, claim the D/C (shared with the unused SPI1 RX pad, per the rp23xx common convention), RST and BL pads as GPIO, pulse the panel reset and bind the ST7735 driver. Validated on silicon on a Waveshare RP2350-LCD-0.96 (RP2350A + ST7735S 160x80 IPS): the panel powers up and displays correctly, painted at boot with no console interaction. Build-tested raspberrypi-pico-2:nsh with CONFIG_LCD_ST7735=y (compiles and links). Assisted-by: Claude (Anthropic Claude Code) Signed-off-by: Ricard Rosson <ricard@groundbits.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore | ||
| x86/qemu/qemu-i486 | ||
| x86_64/qemu/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||