Commit graph

113 commits

Author SHA1 Message Date
C47D 359dcb92ba feat(st7789.c): Add delay after sending software reset command 2021-09-14 19:13:40 -05:00
C47D 20438187b1 Revert "feat(st7789.c): Initial support for display rotation control using LVGL"
This reverts commit 704f9a2c7f65dac47ba9b1a69aaf4d8dfe5c53ee.
2021-09-14 19:13:39 -05:00
C47D 0e29128b3b feat(st7789.c): Initial support for display rotation control using LVGL 2021-09-14 19:13:39 -05:00
C47D ffae578a39 chore(st7789.h): Add note to st7789_update_cb 2021-09-14 19:13:38 -05:00
C47D 9b1e3d1198 fix(disp_driver): Update disp_driver_init API signature
The signature was changed when I was rebasing master into this branch, this commit fixes it :)
2021-09-14 19:13:37 -05:00
C47D 2134cdcfb5 fix(st7789.h): Add missing ; to st7789_update_cb 2021-09-14 19:13:37 -05:00
C47D b6e1f91ed1 ST7789: Use new configuration option for software reset 2021-09-14 19:13:36 -05:00
C47D 2a3157b8fc ST7789: Move configuration to display_config.h 2021-09-14 19:13:36 -05:00
C47D d79b68bdf6 ST7789: Cleanup
Remove logging and unneccesary includes
2021-09-14 19:13:35 -05:00
C47D dfe54e8573 ST7789: Add template for update_cb
We might use this callback to be able to rotate the display at runtime using the displa controller configuration bytes
2021-09-14 19:13:34 -05:00
C47D 83c08f6a2a st7789: Remove unused symbols
Removed `ST7789_DC` and `ST7789_RST` symbols as they are no longer used.
2021-09-14 19:13:34 -05:00
C47D c797562321 port; Move display_espressif_hal to new lv_port directory 2021-09-14 19:13:33 -05:00
C47D 64832c4136 fix(st7789): Remove extra parameter on disp_spi_send_colors and disp_spi_send_data 2021-09-14 19:13:32 -05:00
C47D e314c7563b disp_driver: Add pointer to lv_disp_drv_t as parameter to disp_driver_init 2021-09-14 19:13:31 -05:00
C47D 0ae3f76097 hal: Fix typo on function signatures 2021-09-14 19:13:30 -05:00
C47D 0f1a6d490e Add pointer to lv_disp_drv_t as first parameter to HAL functions 2021-09-14 19:13:29 -05:00
C47D 413721182c Remove GPIO initialization from display init, they must be initialized by the user in main.c 2021-09-14 19:13:28 -05:00
C47D 7cebfdd671 Rename display_bsp to display_hal
The implementation of display hal is MCU dependant, in this example we implement it using the ESP-IDF framework
2021-09-14 19:13:28 -05:00
C47D 2629b6d86a Update to use display_bsp 2021-09-14 19:13:27 -05:00
C47D 6122d139de display_bsp: Move IO initialization here 2021-09-14 19:13:26 -05:00
C47D 49a3ba84b4 display bsp: Move ESP32 pin specific code to display_bsp 2021-09-14 19:13:26 -05:00
C47D 0b09769dcc ST7789: Hardware abstraction layer prototype 2021-09-14 19:13:25 -05:00
Kevin Sidwar 31f340d864 Change config naming for ssd1306 to use LV_ prefix 2021-09-14 19:13:25 -05:00
Kevin Sidwar 7c956f1442 Fix orientation config define 2021-09-14 19:13:24 -05:00
chenghongyao e3347e3cb5 fix data length overflow 2021-09-14 19:13:24 -05:00
Tomas Rezucha 40ec379b2d Merge branch 'fix/backlight-off' into develop 2021-08-11 22:29:24 +02:00
Tomas Rezucha 5043946699 Fix build on idf v4.1 and v4.2 2021-08-11 22:17:02 +02:00
Tomas Rezucha 72a5d3da79 Merge branch 'fix/backlight-off' into develop 2021-08-11 21:02:57 +02:00
Tomas Rezucha 607df9ab94 Don't call backlight function when backlight is disabled 2021-08-11 20:59:56 +02:00
Tomas Rezucha 4e0355ec30 Fix RA8875 build with monochrome settings 2021-08-11 09:45:28 +02: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 01dc1259f8 Don't fire compiler warnings on missing driver configuration 2021-08-04 10:11:18 +02:00
Tomas Rezucha 803c58774c Remove display driver dependancies on Kconfig 2021-08-04 09:48:06 +02:00
Tomas Rezucha 2d6ea1330c Provide README section about backlight control 2021-08-04 09:38:05 +02:00
Tomas Rezucha 11c240daca Support IDF version < v4.3 2021-08-03 16:59:40 +02:00
Tomas Rezucha 3c4399d510 Update TFT drivers for new backligh control 2021-08-03 14:17:58 +02:00
Tomas Rezucha fa042b0ecd Carve out backlight control to separate component 2021-08-03 14:15:52 +02:00
Carlos Diaz 678779c848
Merge pull request #89 from ropg/range_remove
Remove remaining IDF_TARGET-dependent GPIO ranges.
2021-07-30 14:05:33 -05:00
Carlos Diaz 40064954df
Merge branch 'master' into master 2021-07-29 18:27:34 -05:00
Rop Gonggrijp 779bf4ecfb Remove remaining IDF_TARGET-dependent GPIO ranges.
See discussion in #70
2021-07-15 12:31:18 +02:00
Carlos Diaz a68ce89ff4
Merge pull request #70 from ropg/I2C_Manager
Replace all LVGL driver I2C code with I2C Manager
2021-07-14 13:18:35 -05:00
Rop Gonggrijp 93a44492fc Things suggested by @tore-espressif
See [here](https://github.com/lvgl/lvgl_esp32_drivers/pull/70#pullrequestreview-704302765) in #70
2021-07-14 13:12:49 +02:00
Rop Gonggrijp befa5d0730 directory i2c_manager -> lvgl_i2c 2021-07-14 12:43:19 +02:00
Rop Gonggrijp 048438738c Things noted by @tore-espressif
See https://github.com/lvgl/lvgl_esp32_drivers/pull/70#pullrequestreview-703588587
2021-07-12 10:18:20 +02:00
Rop Gonggrijp 8f661270be Make it work with v7 and v8
Makes the change from #83 dependent on major version number so things work with v7 and v8.
2021-07-08 18:08:29 +02:00
Rop Gonggrijp e52112376f Replace allLVGL driver I2C code with I2C Manager
For discussion see #70
2021-07-08 11:04:07 +02:00
C47D fa86e1d092 Remove & operator when passing display driver to lv_disp_flush_ready
Closes #81
2021-06-30 23:02:10 -05:00
Debian 613787b340 enable the X and Y offset options whith TTGO TDisplay 2021-06-27 11:50:19 -05:00
Justin Smestad 82ba726199
Revert lvgl_tft/Kconfig 2021-06-26 17:50:56 -06:00
Justin Smestad 19087aeb06
Remove SPI guard for TTGO configuration
Fixes remaining part of #50
2021-06-26 17:50:28 -06:00