17eb416ef8
* [lvgl_helpers] Cleanup and misc code cleanup Checks for SPI_HOST_MAX symbol before using it. Rename lvgl_driver_init to lvgl_interface_init because it now only initialize the interface bus for display drivers, we still need to remove the indev drivers from here. Use types defined in spi_types.h for spi host (spi_host_device_t) and spi dma channels (spi_dma_chan_t). Also add a couple of symbols to avoid using magic numbers * [lvgl_helpers] Reduce usage of if defined in lvgl_interface_init * [lvgl_helpers] Fix spi dma channel for ESP-IDF versions <= 4.2 * [examples] Update hello_world to call lvgl_interface_init * Add lvgl_get_display_buffer_size helper This helper will allow us to get the calculated display buffer size instead of using a global symbol. * Implement lvgl_get_display_buffer_size This API will be used to get the calculation of display buffer size. * Delete DISP_BUF_SIZE symbols The same functionality is handled by lvgl_get_display_buffer_size * Move SPI max transfer size calculation to helper Use calculate_spi_max_transfer_size to calculate the SPI max transfer size for the SPI master configuration * Remove SPI_BUS_MAX_TRANSFER_SZ definition Same functionality is now handled in calculate_spi_max_transfer_size * Update display buffer size calculation Use lvgl_get_display_buffer_size helper instead of DISP_BUF_SIZE symbol * Update example to LVGL v8 Add comments about changes from: - LVGL v7 to LVGL v8 - Configuration helpers and display drivers * Update lvgl_helpers.c * Update sh1107 driver * Update EVE driver Check for symbols used in previous implementations before trying to use them and add a fallback temporary implementation when not found. The falback implementation isn't tested with hardware. Symbols: - DISP_BUF_SIZE - SPI_TRANSFER_SIZE * Update uc8151d driver * Update jd79653a driver * Update ra8875 driver * Update il3820.h Check for LV_HOR_RES_MAX and LV_VER_RES_MAX before trying to use them * Update lvgl_helpers.c Check for ESP-IDF version before trying to use spi_dma_chan_t type |
||
---|---|---|
.. | ||
disp_driver.c | ||
disp_driver.h | ||
disp_spi.c | ||
disp_spi.h | ||
display_port.h | ||
esp_lcd_backlight.c | ||
esp_lcd_backlight.h | ||
EVE.h | ||
EVE_commands.c | ||
EVE_commands.h | ||
EVE_config.h | ||
FT81x.c | ||
FT81x.h | ||
GC9A01.c | ||
GC9A01.h | ||
hx8357.c | ||
hx8357.h | ||
il3820.c | ||
il3820.h | ||
ili9163c.c | ||
ili9163c.h | ||
ili9341.c | ||
ili9341.h | ||
ili9481.c | ||
ili9481.h | ||
ili9486.c | ||
ili9486.h | ||
ili9488.c | ||
ili9488.h | ||
jd79653a.c | ||
jd79653a.h | ||
Kconfig | ||
pcd8544.c | ||
pcd8544.h | ||
ra8875.c | ||
ra8875.h | ||
sh1107.c | ||
sh1107.h | ||
ssd1306.c | ||
ssd1306.h | ||
st7735s.c | ||
st7735s.h | ||
st7789.c | ||
st7789.h | ||
st7796s.c | ||
st7796s.h | ||
uc8151d.c | ||
uc8151d.h |