acassis commented on code in PR #18505:
URL: https://github.com/apache/nuttx/pull/18505#discussion_r2901741997
##########
drivers/lcd/Kconfig:
##########
@@ -835,6 +835,149 @@ config LCD_ST7796
---help---
Enable support for ST7796 LCD display driver.
+if LCD_ST7796
+
+config LCD_ST7796_XRES
+ int "ST7796 X Resolution (raw panel width)"
+ default 320
+ ---help---
+ Raw horizontal resolution of the ST7796 panel in pixels.
+ For the ST7796S this is 320. Effective display width
+ depends on the selected orientation.
+
+config LCD_ST7796_YRES
+ int "ST7796 Y Resolution (raw panel height)"
+ default 480
+ ---help---
+ Raw vertical resolution of the ST7796 panel in pixels.
+ For the ST7796S this is 480. Effective display height
+ depends on the selected orientation.
+
+choice
+ prompt "ST7796 Color Depth"
+ default LCD_ST7796_RGB565
+
+config LCD_ST7796_RGB444
+ bool "12-bit RGB444"
+ ---help---
+ 12-bit color depth (4096 colors).
+ Lower memory usage but reduced color quality.
+
+config LCD_ST7796_RGB565
+ bool "16-bit RGB565 (recommended)"
Review Comment:
Ok, no problem
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]