lcd: support putting RGB frame buffer in PSRAM

This commit is contained in:
morris
2021-07-23 11:04:35 +08:00
parent 21067a0455
commit dc1d14a37f
3 changed files with 69 additions and 39 deletions

View File

@@ -54,6 +54,7 @@ typedef struct {
struct {
unsigned int disp_active_low: 1; /*!< If this flag is enabled, a low level of display control signal can turn the screen on; vice versa */
unsigned int relax_on_idle: 1; /*!< If this flag is enabled, the host won't refresh the LCD if nothing changed in host's frame buffer (this is usefull for LCD with built-in GRAM) */
unsigned int fb_in_psram: 1; /*!< If this flag is enabled, the frame buffer will be allocated from PSRAM preferentially */
} flags;
} esp_lcd_rgb_panel_config_t;