Commit graph

11 commits

Author SHA1 Message Date
Carlos Diaz 463721e291
Cleanup lvgl_helpers (#171)
* lvgl_spi_conf: Define TFT_SPI_HOST even when no SPI is choosen

* lvgl_helpers: Let the SPI driver choose SPI DMA Channel

Use SPI_DMA_CH1 only on ESP32 target.

* lvgl_helpers: Move FT81X initialization to helper

* lvgl_interface_init: Initial cleanup

* lvgl_helpers: Replace spi_common_dma_t values with integers

This enum was introduced in ESP-IDF v4.3 and can't be used in older versions
of ESP-IDF.

* lvgl_helpers: Rearrange includes

* lvgl_tft: Remove gpio_pad_select_gpio from drivers init functions

* lvgl_helpers: Use spi_host_device_t from v4.3 onwards

* esp_backlight: Replace gpio with esp_rom API

* il3820: Remove GPIO initialization from driver init

* FT81x: Replace gpio_pad_select_gpio with esp_rom alias

* Fix esp_rom_gpio.h path

* FT81x: Fix esp_rom_gpio.h path

* adcraw: Disable usage of gpio_pad_select_gpio

* GC9A01: Remove usage of gpio_pad_select_gpio

* ra8875: Remove usage of gpio_pad_select_gpio

* Revert "esp_backlight: Replace gpio with esp_rom API"

This reverts commit 24e4bf0b88.

* Revert "FT81x: Replace gpio_pad_select_gpio with esp_rom alias"

This reverts commit 8c7bc42140.

* esp_lcd_backlight: Handle different versions of ESP-IDF

* esp_lcd_backlight: Add missing header

* lvgl_spi_conf: Add missing include

* uc8151d/jd79653a: Fix compilation error when logging is enabled

* FT81x: Handle ESP-IDF v4.3 rom_gpio

* FT81x: Add missing include

* Compilation error when SPI Host is not selected

* lvgl_helpers.c: Enable init_ft81x only when FT81X is selected

* adcraw: Handle gpio_pad_selection on multiple ESP-IDF versions

* esp_lcd_backlight: Remove esp_rom functions

* FT81x: Remove esp_rom functions

* adcraw: Remove esp_rom functions
2022-02-02 16:45:52 -06:00
C47D 62704efd08 Remove semicolon from preprocessor 2022-01-07 17:38:08 -06:00
C47D bb0e3a1f27 Check for LV_USE_LOG when logging orientation 2022-01-07 15:26:39 -06:00
C47D a0e915eebc Remove TAG from LVGL log API
The filename is appended at the beginning of the log output by default, we don't need to do it.
2021-10-22 18:41:47 -05:00
C47D 6a76078ba8 ili9481: Fix TAG 2021-10-13 22:53:00 -05:00
Tomas Rezucha 280bebf52e
Merge pull request #96 from lvgl/feature/build-all-drivers
Build all display drivers
2021-08-10 07:37:11 +02:00
Tomas Rezucha 803c58774c Remove display driver dependancies on Kconfig 2021-08-04 09:48:06 +02:00
Tomas Rezucha 3c4399d510 Update TFT drivers for new backligh control 2021-08-03 14:17:58 +02:00
Rop Gonggrijp 00dd1504d9 Removed white space at EOL, added some EOLs at EOF
Many code editors are set to do this automatically now, so it ends up being annoying to scrape back out of commits to keep them easily reviewable.

Also added '.DS_Store' and 'build' entries to .gitignore
2021-04-28 11:15:00 +02:00
Rop Gonggrijp 7b571a7fc7 LV_DISP_USE_RST
Allows to not allocate a GPIO for display reset: some may have that pin tied or attached to a Power management IC.

Supersedes PR from @usedbytes doing same but only for IL9341, this is for all supported displays.
2021-04-28 11:04:53 +02:00
C47D 08384030b0 Move drivers from the lv_port_esp32 to here 2020-12-17 00:02:55 -06:00