Carlos Diaz
1759b774a9
ST7789: LVGL rotation support ( #182 )
...
* TFT/Kconfig: Update orientation values
* ST7789: Use lv_disp_drv_t rotation field instead of the configured from menuconfig
* ST7789: Update orientation at runtime
* ST7789: Apply workaround to detect orientation change at runtime
* ST7789: Add helper to get display size in v7 and v8
* ST7789: Fix compilation errors
* ST7789: Handle rotation of display with 135x240 dimension
* ST7789: Handle v8 when getting lv_disp_t from lv_disp_drv_t
2022-05-12 22:15:34 -05:00
C47D
9ee177b684
ST7789: Display offsets are now runtime configurable
...
We don't change previous functionality by adding a helper function that sets the user offsets when initializing the display
2022-01-07 13:23:28 -06:00
arktrin
26272b08f0
clarify the 52/53 px offset oddity
2022-01-05 23:47:03 -06:00
arktrin
fbb4ebe409
add offset for 240x135 displays based on ST7789
2022-01-05 23:46:35 -06:00
Tomas Rezucha
385421fe06
Merge branch 'master' into develop
2021-12-14 17:46:46 +01: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
3980e51f07
fix(st7789): Remove backlight control from driver
...
Use backlight control introduced in #95
2021-09-14 19:13:41 -05:00
C47D
9d9fadf450
fix(display_port): Rename display_hal_* to display_port_*
...
Also updates the display drivers that used it
2021-09-14 19:13:41 -05:00
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
b6e1f91ed1
ST7789: Use new configuration option for software reset
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
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
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
0b09769dcc
ST7789: Hardware abstraction layer prototype
2021-09-14 19:13:25 -05:00
chenghongyao
e3347e3cb5
fix data length overflow
2021-09-14 19:13:24 -05:00
chenghongyao
171cd53915
fix data length overflow
2021-08-15 12:52:34 +08:00
Tomas Rezucha
3c4399d510
Update TFT drivers for new backligh control
2021-08-03 14:17:58 +02:00
Carlos Diaz
7aef1518fb
Merge pull request #67 from lvgl/st7789_expose_cmd_api
...
ST7789: Expose send_cmd and send_data to the user
2021-06-07 21:37:47 -05:00
C47D
23907711ca
ST7789: Expose send_cmd and send_data to the user
2021-05-09 21:31:32 -05: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
Carlos Diaz
ee13a029c6
Merge branch 'master' into feature/st7789_soft_reset
2021-02-13 18:50:51 -06:00
Tomas Rezucha
c90f6a4831
Add 7789 color invert option
2021-02-12 10:18:01 +01:00
cranial-smoke
260cf74e1b
Adds soft reset option to ST7789 driver
2021-02-10 17:55:40 -05:00
C47D
08384030b0
Move drivers from the lv_port_esp32 to here
2020-12-17 00:02:55 -06:00