Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop into 2.0.8 #142

Merged
merged 138 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
5e0cba9
Prepared new version 2.0.4
rzeldent Jan 13, 2024
f817261
Updated boards
rzeldent Jan 20, 2024
bbe5984
Updated platformio.ini
rzeldent Jan 20, 2024
c7a7733
Added extern for touch_calibration_data
rzeldent Jan 22, 2024
fbeca99
New build system for CI
rzeldent Jan 22, 2024
48e7b3f
Updated PCLK_HZ
rzeldent Jan 22, 2024
d25e945
UPdated variables for ST7789
rzeldent Jan 22, 2024
44af480
Update Variables GC9A01
rzeldent Jan 22, 2024
417e6e5
Updated ILI9341
rzeldent Jan 23, 2024
1eabdc1
LVGL to ^8.3.9
rzeldent Jan 23, 2024
f684429
Typos
rzeldent Jan 23, 2024
79c82e7
DST7262 variables
rzeldent Jan 23, 2024
2d61fd9
Typos and ST7701 variables
rzeldent Jan 23, 2024
9d926c0
ST7701_LINE_CONFIG
rzeldent Jan 23, 2024
91524c8
ST7796 variables
rzeldent Jan 23, 2024
b11852b
SPI_DMA_CHANNEL
rzeldent Jan 23, 2024
dc5891e
CST816S variables
rzeldent Jan 23, 2024
26d8971
GT911 variables
rzeldent Jan 23, 2024
88c46cc
XPT2046 variables
rzeldent Jan 23, 2024
9013d18
Typo
rzeldent Jan 23, 2024
9ce3cd1
esp_lcd_panel_io_3wire_spi_config_t
rzeldent Jan 24, 2024
9b768ba
Updated boards
rzeldent Jan 24, 2024
5efdeff
Updated boards
rzeldent Jan 24, 2024
44b09b4
BOARD_HAS_
rzeldent Jan 24, 2024
c1b11db
Update board
rzeldent Jan 24, 2024
d652a06
rename with interfaces
rzeldent Jan 24, 2024
5a4afaa
Added Interface type to boards for LCD/TOUCH
rzeldent Jan 24, 2024
cd28350
All boards
rzeldent Jan 24, 2024
17d2c44
wip ESP32-24232s022
rzeldent Jan 24, 2024
2e2983c
Updated 2432S022C
rzeldent Jan 24, 2024
25e7fc5
Updated boards
rzeldent Jan 25, 2024
fc44a4b
Added 8048S070R
rzeldent Jan 25, 2024
8af8c73
Updated boards
rzeldent Jan 25, 2024
7f3c2fc
Do not invert colors
rzeldent Jan 26, 2024
1e15258
Added IPS Setting
rzeldent Jan 26, 2024
ea1b6ad
rename, include strength
rzeldent Jan 26, 2024
30856b3
Removed v11 version
rzeldent Jan 26, 2024
edbd889
Added logging
rzeldent Jan 27, 2024
80b11db
logging
rzeldent Jan 27, 2024
f5b798e
Removed touch_config flags
rzeldent Jan 27, 2024
782ca26
Removed not required backlight set
rzeldent Jan 27, 2024
790cb66
Added strength
rzeldent Jan 27, 2024
28160e9
GT911, fix for non matching touch resolutions
rzeldent Jan 28, 2024
10e1d22
UPdated boards
rzeldent Jan 28, 2024
7e5280c
Merge branch 'develop' of https://github.com/rzeldent/esp32-smartdisp…
rzeldent Jan 28, 2024
ada59e5
Updated boards
rzeldent Jan 28, 2024
edbc631
GT911 vendorId
rzeldent Jan 28, 2024
1dcf363
updated boards
rzeldent Jan 28, 2024
db62b92
Update board
rzeldent Jan 28, 2024
9d6ad94
Boards to main
rzeldent Jan 28, 2024
8e44ab9
Merge branch 'main' into develop
rzeldent Jan 28, 2024
26a2c01
Updated boards
rzeldent Jan 28, 2024
88f9351
UPdate boards
rzeldent Jan 28, 2024
78eecc0
%d->%f
rzeldent Jan 30, 2024
174dcd9
Added logging for vendor config initialization
rzeldent Jan 30, 2024
c433203
Two decimals
rzeldent Jan 30, 2024
4f54bec
Updated boards
rzeldent Feb 1, 2024
770ca58
Data bits are upper D8-D15
rzeldent Feb 3, 2024
d49d3ba
Updated boards
rzeldent Feb 3, 2024
1f8f62b
Updated boards
rzeldent Feb 3, 2024
975ddd8
Added PlatformIo badge
rzeldent Feb 4, 2024
f8a2435
Use LVGL pixel buffer size and malloc flags for json (#124)
rzeldent Feb 7, 2024
7b39bc6
Updated boards
rzeldent Feb 7, 2024
5263ec6
Merge branch 'develop' of https://github.com/rzeldent/esp32-smartdisp…
rzeldent Feb 7, 2024
3f7e891
Added spi_bus_config_t flags, intr flags and max_size
rzeldent Feb 8, 2024
02e4f13
Small changes esp3228S022
rzeldent Feb 9, 2024
904ce8b
Update version to 2.0.5
rzeldent Feb 9, 2024
3791b10
Merge branch 'main' into develop
rzeldent Feb 9, 2024
8fadf7a
Minor changes to st7789_i80
rzeldent Feb 10, 2024
fb16e47
BCKL to GPIO_BCKL
rzeldent Feb 10, 2024
bb656fd
Typo miso_io_num
rzeldent Feb 11, 2024
2a86e22
Changed location of tuning off the display when initializing
rzeldent Feb 12, 2024
b48543f
Updated boards
rzeldent Feb 19, 2024
cff6f4c
Updated boards
rzeldent Feb 19, 2024
a3c0f11
Merge branch 'main' into develop
rzeldent Feb 19, 2024
82cdeed
21-nothing-shown-on-screen-only-backlight
rzeldent Feb 22, 2024
939db6c
Updated boards to current develop
rzeldent Feb 22, 2024
5762e64
Do not check for information GT911
rzeldent Feb 22, 2024
3d0e444
Reenabled reading GTInfo: is required for resolution
rzeldent Feb 22, 2024
75595a4
Attempt to read GTInfo else use defaults
rzeldent Feb 22, 2024
2cc12f5
Updated boards
rzeldent Feb 22, 2024
99b203f
Updated boards + library version
rzeldent Feb 24, 2024
27e6cb2
Set PWM frtequency to 400Hz
rzeldent Feb 24, 2024
07c04dd
New xpt2046 driver
rzeldent Feb 24, 2024
0530eba
Invert if IPS
rzeldent Feb 24, 2024
9e72532
Removed settings for XPT2046
rzeldent Feb 24, 2024
5b0bbe7
Fixed typo ptr in logging
rzeldent Feb 25, 2024
e31f0cf
Work in progress GT911
rzeldent Feb 25, 2024
f1a2fbb
Update for gt911
rzeldent Feb 25, 2024
38956ed
Corrected rot swap touch
rzeldent Feb 26, 2024
9919860
Move esp_lcd_touch to library
rzeldent Feb 28, 2024
5f47993
Updated defines
rzeldent Feb 28, 2024
32ba803
Updated boards
rzeldent Feb 28, 2024
3fdf0bc
Test for all boards
rzeldent Feb 28, 2024
2d6ec9b
Flags not yet!
rzeldent Feb 29, 2024
c073ceb
Added export/exclude
rzeldent Mar 3, 2024
9bcbf5d
Updated glob
rzeldent Mar 3, 2024
151dc78
Updated exclude globs
rzeldent Mar 3, 2024
a66ea38
Moved touch libraries back in esp32-smartdisplay
rzeldent Mar 3, 2024
0c0c885
Updated touch
rzeldent Mar 3, 2024
89326bb
Work in progress gc9a01
rzeldent Mar 4, 2024
43180a2
Move addressed I2C to header
rzeldent Mar 4, 2024
7ed0b46
Added logging
rzeldent Mar 4, 2024
5ce2c69
Readded io_expander.c
rzeldent Mar 4, 2024
450bb4d
Disabled reading info from gt911. Seems to cause problems
rzeldent Mar 5, 2024
bb278c0
fixes
rzeldent Mar 5, 2024
6efc9f4
Typo refactor
rzeldent Mar 5, 2024
f4ed039
calloc fix!
rzeldent Mar 5, 2024
5bc8509
fixed for touch
rzeldent Mar 5, 2024
7a3feaa
Typo
rzeldent Mar 5, 2024
f1b8ece
Fixes
rzeldent Mar 5, 2024
b9df093
Fixes
rzeldent Mar 5, 2024
bc7a4ae
fixes
rzeldent Mar 5, 2024
63f72a4
fixes
rzeldent Mar 6, 2024
acfa05c
st7796
rzeldent Mar 6, 2024
27ef443
parameter checking for touch
rzeldent Mar 6, 2024
8992f08
Fixes
rzeldent Mar 7, 2024
4bcf466
Fixes
rzeldent Mar 7, 2024
42b5398
fixes
rzeldent Mar 7, 2024
25a00cf
VendorConfig
rzeldent Mar 7, 2024
6701245
Remove cmd/cmds_size
rzeldent Mar 7, 2024
a852e9d
Fixed
rzeldent Mar 7, 2024
dfb17da
Fixes
rzeldent Mar 7, 2024
292168d
Test
rzeldent Mar 8, 2024
5d0258d
Update boards
rzeldent Mar 8, 2024
a5a1c7a
7701
rzeldent Mar 8, 2024
79e9cfc
Fixes
rzeldent Mar 8, 2024
0fbb2a9
fixes
rzeldent Mar 9, 2024
6d00b82
Fixes rotation
rzeldent Mar 9, 2024
165e049
lcd mirror conditional
rzeldent Mar 9, 2024
29276fe
TOUCH_SWAP_XY TOUCH_MIRROR_XY
rzeldent Mar 9, 2024
f5f968d
All platforms
rzeldent Mar 9, 2024
73353c5
Bugfix for more points than configured
rzeldent Mar 9, 2024
e147d5d
Updated MD/boards/platformio.ini
rzeldent Mar 10, 2024
e1d342f
Merge branch 'main' into develop
rzeldent Mar 10, 2024
040bc7e
Updated boards
rzeldent Mar 10, 2024
9f9b5c2
Updated boards
rzeldent Mar 10, 2024
40a3abe
Updated boards
rzeldent Mar 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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