Commit graph

146 commits

Author SHA1 Message Date
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
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
C47D a100162d40 SSD1306: Add helper functions 2021-01-17 00:10:12 -06:00
C47D ece77252c8 SSD1306: Replace hardcoded I2C port 2021-01-16 23:49:57 -06:00
Carlos Diaz b7e1b51c73 SSD1306: Add portrait inverted support
By @VedantParanjape
2021-01-16 20:37:55 -06:00
Carlos Diaz fbdc247c25
Merge branch 'master' into feature/add_st7796s 2021-01-15 00:07:27 -06:00
Baoshi 446bed67bd Move st7796 driver file into lvgl_tft folder.
Add missing Kconfig options.
Fix ft6x36 compilation error.
2021-01-11 22:31:57 +08:00
Carlos Diaz 432ad87208 Update SSD1306 driver 2021-01-09 21:00:08 -06:00
Carlos Diaz 77f8ed1fa1 Remove double definition of display orientation symbols 2021-01-09 20:39:33 -06:00
C47D 55c314b685 Update references to LV_DISPLAY_WIDTH 2021-01-09 15:04:53 -06:00
C47D 6a451cacf7 Update ra8875 driver 2021-01-09 14:55:55 -06:00
C47D a086bc73d7 Fix orientation choice 2021-01-06 12:25:48 -06:00
C47D d808cb1eff Add missing endchoice 2021-01-06 12:22:28 -06:00
C47D a3c25375a3 Add display orientation choice 2021-01-06 12:14:18 -06:00
C47D bbffd73e19 Remove no longer supported configurations 2021-01-06 11:19:37 -06:00
C47D 2b7fec33a7 Add ST7796S to display driver files 2020-12-24 13:52:44 -06:00
C47D e73b657d5f Add ST7796S to display Kconfig 2020-12-24 13:50:03 -06:00
C47D efdce871bd Add st7796s to build 2020-12-24 11:45:17 -06:00
C47D 8cd600d8e8 Replace LV_CONF_INCLUDE_SIMPLE with LV_LVGL_H_INCLUDE_SIMPLE 2020-12-21 11:10:35 -06:00
C47D a2a00bd745 Update INCLUDE_SIMPLE symbol 2020-12-20 17:50:53 -06:00
C47D 08384030b0 Move drivers from the lv_port_esp32 to here 2020-12-17 00:02:55 -06:00