Commit graph

169 commits

Author SHA1 Message Date
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
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
Carlos Diaz
dd09b4d01a
Merge pull request #93 from sidwarkd/patch-1
Fix orientation config define on Kconfig and ssd1306
2021-08-25 12:46:29 -05:00
Tomas Rezucha
6a3e46e509
Merge pull request #99 from lvgl/fix/backlight-off
Don't call backlight function when backlight is disabled
2021-08-23 10:13:01 +02:00
chenghongyao
171cd53915 fix data length overflow 2021-08-15 12:52:34 +08:00
Kevin Sidwar
ee36378f54 Change config naming for ssd1306 to use LV_ prefix 2021-08-12 23:48:23 -06: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
Kevin Sidwar
a0e933c7e6
Fix orientation config define 2021-07-30 15:29:18 -06: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
Justin Smestad
55dd527e10
Update KConfig to remove LV_ prefix on orientation checks 2021-06-26 17:44:59 -06:00
Rajssss
35a005a47c
esp_lcd_backlight: do not build if not enabled
Signed-off-by: Rajssss <sssraj.sssraj@gmail.com>
2021-06-26 13:30:26 +05:30
Rajssss
5d4334a5b9
Created separate component for backlight control
-> Uses Timer 0, Channel 0 as PWM to control
   backlight via LED pin

Signed-off-by: Rajssss <sssraj.sssraj@gmail.com>
2021-06-26 12:39:21 +05:30
Rajssss
a17a77b923
st7735s: Added brightness control though LED pin
-> Uses LED(Backlight) Pin as PWM to control the brightness

Signed-off-by: Rajssss <sssraj.sssraj@gmail.com>
2021-06-20 20:51:52 +05:30
C47D
d09fd59869 Add ESP32C3 support on Kconfig files 2021-06-10 22:31:09 -05:00
Carlos Diaz
06e52d6093
Merge branch 'master' into ili9163c 2021-06-07 21:39:21 -05: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
Carlos Diaz
8f4ba03dd6
Merge pull request #63 from abraaocsantana/fix-inverted-colors-gc9a01
Update Kconfig to Supp
2021-06-07 21:37:17 -05:00
Rop Gonggrijp
f4be773d87 Merge branch 'lvgl:master' into master 2021-06-06 11:43:16 +02:00
Abraão de Santana
c3e8f49ae4
Update Kconfig 2021-05-27 22:36:39 -03:00
C47D
23907711ca ST7789: Expose send_cmd and send_data to the user 2021-05-09 21:31:32 -05:00
Martin Lindberg Mogensen
21f81d117b Support ILI9163c (Sparkfun LCD-15143) 2021-04-29 09:55:22 +02:00
Rop Gonggrijp
4ba7c76028 Added support for M5Core2 screen (CONFIG_LV_PREDEFINED_DISPLAY_M5CORE2)
Update README.md
2021-04-28 13:19:33 +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
Alnef
63cfe0fdd8
Fix contrast and display mode initialisation
The double byte command OLED_CMD_SET_CONTRAST (SSD1306 datasheet rev 1.1 p.28) was followed by display_mode.
So the contrast was set to 0xA6 or 0xA7 depending on the display mode configured and the display mode itself wasn't configurable.
2021-04-10 14:59:11 +02:00
Carlos Diaz
147cacc0af
Merge pull request #46 from tore-espressif/fix/wrover-kit-display-inversion
Fix/wrover kit display inversion
2021-03-29 10:18:39 -06:00
C47D
0442ebe736 SSD1306: Fix orientation symbol names
Kconfig sets CONFIG_DISPLAY_ORIENTATION_LANDSCAPE and CONFIG_DISPLAY_ORIENTATION_LANDSCAPE_INVERTED.
This commit replaces the old references to CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE and
CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE_INVERTED.

Fixes: #48
2021-03-14 16:27:57 -06:00
Tomas Rezucha
82b738e533 ili9341: display inversion 2021-03-02 12:51:29 +01:00
C47D
9fed1cc47b SSD1306: Use LV_DISPLAY_ORIENTATION symbols 2021-02-28 17:53:32 -06:00
C47D
5aea338a29 IL3820: Update interface declarations 2021-02-28 17:18:25 -06:00
Tomas Rezucha
34d520c7ee Make this repository a single ESP-IDF component 2021-02-23 16:00:21 +01:00
C47D
37715bc2b7 lvgl_tft: Check for symbols instead of adding all when using make build 2021-02-22 22:24:39 -06:00
C47D
7e3c313ddd Remove AXP192 symbols being created when it shouldn't 2021-02-21 19:01:23 -06:00
Carlos Diaz
347aaa68d2
Merge pull request #26 from lvgl/fix/ssd1306_orientation
Fix/ssd1306 orientation
2021-02-15 22:25:43 -06:00
Carlos Diaz
ee13a029c6
Merge branch 'master' into feature/st7789_soft_reset 2021-02-13 18:50:51 -06:00
Tomas Rezucha
9326e16449 Show deprecated option only for RA8875 2021-02-12 10:47:05 +01:00
Tomas Rezucha
849afed80d Use correct option for color inversion 2021-02-12 10:39:58 +01:00
Tomas Rezucha
c90f6a4831 Add 7789 color invert option 2021-02-12 10:18:01 +01:00
Tomas Rezucha
9fc469edb3 Fix inlcude symbol in EVE_config.h 2021-02-12 08:43:06 +01:00
cranial-smoke
3a34055cad Hides reset pin config if ST7789 soft reset is enabled 2021-02-11 10:11:48 -05:00
cranial-smoke
260cf74e1b Adds soft reset option to ST7789 driver 2021-02-10 17:55:40 -05:00
C47D
bfb129a554 ssd1306: Remove partial update support 2021-02-09 23:27:58 -06:00
C47D
82336c2120 Allow the user to define a custom display buffer size 2021-02-07 18:02:21 -06:00
C47D
4c60f5fc4f tft: Handle ESP32S2 idf target 2021-02-04 00:17:54 -06:00
C47D
6b0fd1f1ac SSD1306: Handle theme not being mono 2021-01-31 17:28:03 -06:00
C47D
d6bb341f00 SSD1306: Update orientation configuration 2021-01-25 21:04:11 -06:00
C47D
f66a2a63de SSD1306: Remove portrait orientation from menuconfig 2021-01-25 20:57:15 -06:00
C47D
b4ac2f9c03 SSD1306: Assert on data transmission fails 2021-01-22 10:19:06 -06:00
C47D
80fb2aedef SSD1306: Return commands result 2021-01-22 10:12:30 -06:00
C47D
9cdc3502a1 SSD1306: Add parenthesis to sizeof 2021-01-21 10:57:02 -06:00
C47D
a1add8530b SSD1306: Remove unused headers and rename helpers 2021-01-21 10:54:17 -06:00
C47D
2f3470b85e Remove log 2021-01-19 23:53:34 -06:00
C47D
746ebfc245 SSD1306: Use helper functions 2021-01-17 00:25:01 -06:00