Skip to content

Commit

Permalink
Develop into 2.0.8 (#142)
Browse files Browse the repository at this point in the history
* Prepared new version 2.0.4

* Updated boards

* Updated platformio.ini

* Added extern for touch_calibration_data

* New build system for CI

* Updated PCLK_HZ

* UPdated variables for ST7789

* Update Variables GC9A01

* Updated ILI9341

* LVGL to ^8.3.9

* Typos

* DST7262 variables

* Typos and ST7701 variables

* ST7701_LINE_CONFIG

* ST7796 variables

* SPI_DMA_CHANNEL

* CST816S variables

* GT911 variables

* XPT2046 variables

* Typo

* esp_lcd_panel_io_3wire_spi_config_t

* Updated boards

* Updated boards

* BOARD_HAS_

* Update board

* rename with interfaces

* Added Interface type to boards for LCD/TOUCH

* All boards

* wip ESP32-24232s022

* Updated 2432S022C

* Updated boards
Added warning for st7789_i80

* Added 8048S070R

* Updated boards

* Do not invert colors

* Added IPS Setting

* rename, include strength

* Removed v11 version

* Added logging

* logging

* Removed touch_config flags

* Removed not required backlight set

* Added strength

* GT911, fix for non matching touch resolutions

* UPdated boards

* Updated boards

* GT911 vendorId

* updated boards

* Update board

* Boards to main

* Updated boards

* UPdate boards

* %d->%f

* Added logging for vendor config initialization

* Two decimals

* Updated boards

* Data bits are upper D8-D15

* Updated boards

* Updated boards

* Added PlatformIo badge

* Use LVGL pixel buffer size and malloc flags for json (#124)

* Updated boards

* Added spi_bus_config_t flags, intr flags and max_size

* Small changes esp3228S022

* Update version to 2.0.5

* Minor changes to st7789_i80

* BCKL to GPIO_BCKL

* Typo miso_io_num

* Changed location of tuning off the display when initializing

* Updated boards

* Updated boards

* 21-nothing-shown-on-screen-only-backlight

* Updated boards to current develop

* Do not check for information GT911

* Reenabled reading GTInfo: is required for resolution

* Attempt to read GTInfo else use defaults

* Updated boards

* Updated boards + library version

* Set PWM frtequency to 400Hz

* New xpt2046 driver

* Invert if IPS

* Removed settings for XPT2046

* Fixed typo ptr in logging
Updated boards/platformio.ini

* Work in progress GT911

* Update for gt911

* Corrected rot swap touch

* Move esp_lcd_touch to library

* Updated defines

* Updated boards

* Test for all boards

* Flags not yet!

* Added export/exclude

* Updated glob

* Updated exclude globs

* Moved touch libraries back in esp32-smartdisplay

* Updated touch

* Work in progress gc9a01

* Move addressed I2C to header

* Added logging

* Readded io_expander.c

* Disabled reading info from gt911. Seems to cause problems

* fixes

* Typo refactor

* calloc fix!

* fixed for touch

* Typo

* Fixes

* Fixes

* fixes

* fixes

* st7796

* parameter checking for touch

* Fixes

* Fixes

* fixes

* VendorConfig

* Remove cmd/cmds_size

* Fixed

* Fixes

* Test

* Update boards

* 7701

* Fixes

* fixes

* Fixes rotation

* lcd mirror conditional

* TOUCH_SWAP_XY TOUCH_MIRROR_XY

* All platforms

* Bugfix for more points than configured

* Updated MD/boards/platformio.ini

* Updated boards

* Updated boards

* Updated boards
  • Loading branch information
rzeldent committed Mar 10, 2024
1 parent 9c1d737 commit b04cc23
Show file tree
Hide file tree
Showing 50 changed files with 3,189 additions and 3,835 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,23 +521,22 @@ board = esp32-8048S070N

## Appendix: External dependencies

The following libraries are used from the [EspressIf component registry](https://components.espressif.com/):
The following libraries are used from the [Espressif component registry](https://components.espressif.com/):

| Name | Version |
|--- |--- |
| [ESP LCD ST7701](https://components.espressif.com/api/download/?object_type=component&object_id=b9904296-b88e-46a4-897a-3f5b3fa96a6e) | v1.0.0 |
| [ESP LCD CG9A01](https://components.espressif.com/api/download/?object_type=component&object_id=6f06ecdf-97a6-4eea-ad4f-c00d11bd970a) | v1.2 |
| [ESP LCD ILI9341](https://components.espressif.com/api/download/?object_type=component&object_id=680fe7b6-c70b-4560-acf9-919e5b8fa192) | v2.0 |
| [ESP LCD ST7796](https://components.espressif.com/api/download/?object_type=component&object_id=eb6095d1-642a-4e14-9daf-d46db8a1f354) | v1.2.1 |
| [ESP_LCD_PANEL_IO_ADDITIONS](https://components.espressif.com/api/download/?object_type=component&object_id=fc4eba6f-2091-4b28-8703-df58c6c975c7) | v1.0.0 |
| [ESP IO Expander Component](https://components.espressif.com/api/download/?object_type=component&object_id=44022a0f-c4b2-40c0-b2a2-40d7b648cb52) | v1.0.0 |
| [ESP LCD Touch](https://components.espressif.com/api/download/?object_type=component&object_id=bb4a4d94-2827-4695-84d1-1b53383b8001) | v1.1.1 |
| [ESP LCD Touch CST816S](https://components.espressif.com/api/download/?object_type=component&object_id=cc8ef108-15e8-48cf-9be8-3c7e89ca493e) | v1.0.3 |
| [ESP LCD Touch GT911](https://components.espressif.com/api/download/?object_type=component&object_id=4f44d570-8a04-466e-b4bb-429f1df7a9a1) | v1.1.0 |
| [ESP LCD Touch Driver](https://components.espressif.com/api/download/?object_type=component&object_id=225971c2-051f-4619-9f91-0080315ee8b8) | v1.2.0 |

## Version history

- March 2024
- Rewrote drivers for devices and made them cleaner
- More parametrization
- Fix for more than one point received from GT911
- Added esp32-2432S022C
- Rotation issues fixes
- January 2024
- Fixed esp32-8048S070C
- Added esp32-4848S040C_I_Y_1/3
Expand Down
2 changes: 1 addition & 1 deletion include/esp32_smartdisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Use last PWM_CHANNEL for backlight
#define PWM_CHANNEL_BCKL (SOC_LEDC_CHANNEL_NUM - 1)
#define PWM_FREQ_BCKL 20000
#define PWM_FREQ_BCKL 400
#define PWM_BITS_BCKL 8
#define PWM_MAX_BCKL ((1 << PWM_BITS_BCKL) - 1)

Expand Down
17 changes: 17 additions & 0 deletions include/esp_lcd.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#pragma once

#include <stdbool.h>
#include "sdkconfig.h"
#include "esp_err.h"
#include "driver/gpio.h"
#include "esp_lcd_panel_io.h"
#include "freertos/FreeRTOS.h"
#include "freertos/semphr.h"

typedef struct
{
uint8_t cmd; // Command
const uint8_t *data; // Buffer to data for the command
uint8_t bytes; // Size of the data buffer for the command
unsigned short delay_ms; // Delay in milliseconds after the command
} lcd_init_cmd_t;
102 changes: 0 additions & 102 deletions include/esp_lcd_gc9a01.h

This file was deleted.

101 changes: 0 additions & 101 deletions include/esp_lcd_ili9341.h

This file was deleted.

119 changes: 0 additions & 119 deletions include/esp_lcd_st7701.h

This file was deleted.

Loading

0 comments on commit b04cc23

Please sign in to comment.