Skip to content

Commit b04cc23

Browse files
authored
Develop into 2.0.8 (#142)
* 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
1 parent 9c1d737 commit b04cc23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3189
-3835
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -521,23 +521,22 @@ board = esp32-8048S070N
521521

522522
## Appendix: External dependencies
523523

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

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

539532
## Version history
540533

534+
- March 2024
535+
- Rewrote drivers for devices and made them cleaner
536+
- More parametrization
537+
- Fix for more than one point received from GT911
538+
- Added esp32-2432S022C
539+
- Rotation issues fixes
541540
- January 2024
542541
- Fixed esp32-8048S070C
543542
- Added esp32-4848S040C_I_Y_1/3

include/esp32_smartdisplay.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// Use last PWM_CHANNEL for backlight
88
#define PWM_CHANNEL_BCKL (SOC_LEDC_CHANNEL_NUM - 1)
9-
#define PWM_FREQ_BCKL 20000
9+
#define PWM_FREQ_BCKL 400
1010
#define PWM_BITS_BCKL 8
1111
#define PWM_MAX_BCKL ((1 << PWM_BITS_BCKL) - 1)
1212

include/esp_lcd.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#pragma once
2+
3+
#include <stdbool.h>
4+
#include "sdkconfig.h"
5+
#include "esp_err.h"
6+
#include "driver/gpio.h"
7+
#include "esp_lcd_panel_io.h"
8+
#include "freertos/FreeRTOS.h"
9+
#include "freertos/semphr.h"
10+
11+
typedef struct
12+
{
13+
uint8_t cmd; // Command
14+
const uint8_t *data; // Buffer to data for the command
15+
uint8_t bytes; // Size of the data buffer for the command
16+
unsigned short delay_ms; // Delay in milliseconds after the command
17+
} lcd_init_cmd_t;

include/esp_lcd_gc9a01.h

Lines changed: 0 additions & 102 deletions
This file was deleted.

include/esp_lcd_ili9341.h

Lines changed: 0 additions & 101 deletions
This file was deleted.

include/esp_lcd_st7701.h

Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
 (0)