Merge branch 'refactor/esp_lcd_io_header_files_v5.3' into 'release/v5.3'

i80_lcd: add help function to allocate draw buffer with proper alignment (v5.3)

See merge request espressif/esp-idf!31428
This commit is contained in:
morris
2024-06-11 15:27:08 +08:00
13 changed files with 342 additions and 236 deletions

View File

@@ -48,3 +48,8 @@ I2C Interfaced LCD
.reset_gpio_num = EXAMPLE_PIN_NUM_RST,
};
ESP_ERROR_CHECK(esp_lcd_new_panel_ssd1306(io_handle, &panel_config, &panel_handle));
API Reference
-------------
.. include-build-file:: inc/esp_lcd_io_i2c.inc

View File

@@ -72,3 +72,8 @@ I80 Interfaced LCD
.bits_per_pixel = 16,
};
ESP_ERROR_CHECK(esp_lcd_new_panel_st7789(io_handle, &panel_config, &panel_handle));
API Reference
-------------
.. include-build-file:: inc/esp_lcd_io_i80.inc

View File

@@ -56,3 +56,8 @@ SPI Interfaced LCD
};
// Create LCD panel handle for ST7789, with the SPI IO device handle
ESP_ERROR_CHECK(esp_lcd_new_panel_st7789(io_handle, &panel_config, &panel_handle));
API Reference
-------------
.. include-build-file:: inc/esp_lcd_io_spi.inc