2021-05-11 23:26:07 -04:00
|
|
|
menu "LCD and Touch Panel"
|
2022-08-02 07:01:19 -04:00
|
|
|
comment "LCD Touch Drivers are maintained in the IDF Component Registry"
|
|
|
|
|
2021-05-11 23:26:07 -04:00
|
|
|
menu "LCD Peripheral Configuration"
|
2021-08-04 08:11:31 -04:00
|
|
|
config LCD_PANEL_IO_FORMAT_BUF_SIZE
|
2024-01-11 05:25:08 -05:00
|
|
|
depends on SOC_LCD_I80_SUPPORTED
|
2021-08-04 08:11:31 -04:00
|
|
|
int "LCD panel io format buffer size"
|
|
|
|
default 32
|
|
|
|
help
|
|
|
|
LCD driver allocates an internal buffer to transform the data into a proper format, because of
|
|
|
|
the endian order mismatch. This option is to set the size of the buffer, in bytes.
|
2022-03-07 05:04:02 -05:00
|
|
|
|
2022-03-03 02:34:32 -05:00
|
|
|
config LCD_ENABLE_DEBUG_LOG
|
|
|
|
bool "Enable debug log"
|
|
|
|
default n
|
|
|
|
help
|
2024-03-25 02:11:33 -04:00
|
|
|
whether to enable the debug log message for LCD driver.
|
2022-03-03 02:34:32 -05:00
|
|
|
Note that, this option only controls the LCD driver log, won't affect other drivers.
|
2022-03-07 05:04:02 -05:00
|
|
|
|
|
|
|
if SOC_LCD_RGB_SUPPORTED
|
|
|
|
config LCD_RGB_ISR_IRAM_SAFE
|
|
|
|
bool "RGB LCD ISR IRAM-Safe"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Ensure the LCD interrupt is IRAM-Safe by allowing the interrupt handler to be
|
|
|
|
executable when the cache is disabled (e.g. SPI Flash write).
|
|
|
|
If you want the LCD driver to keep flushing the screen even when cache ops disabled,
|
|
|
|
you can enable this option. Note, this will also increase the IRAM usage.
|
2022-07-06 05:01:06 -04:00
|
|
|
|
|
|
|
config LCD_RGB_RESTART_IN_VSYNC
|
|
|
|
bool "Restart transmission in VSYNC"
|
|
|
|
default n
|
|
|
|
select GDMA_CTRL_FUNC_IN_IRAM # need to restart GDMA in the LCD ISR
|
|
|
|
help
|
|
|
|
Reset the GDMA channel every VBlank to stop permanent desyncs from happening.
|
|
|
|
Only need to enable it when in your application, the DMA can't deliver data
|
|
|
|
as fast as the LCD consumes it.
|
2022-03-07 05:04:02 -05:00
|
|
|
endif # SOC_LCD_RGB_SUPPORTED
|
2021-05-11 23:26:07 -04:00
|
|
|
endmenu
|
|
|
|
endmenu
|