Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TFT_eSPI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
TFT_eSPI
Commits
8dff7450
Commit
8dff7450
authored
Apr 20, 2022
by
dracir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ESP32-S2 support
parent
db15796b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
Kconfig
Kconfig
+15
-7
No files found.
Kconfig
View file @
8dff7450
...
@@ -153,6 +153,7 @@ menu "TFT_eSPI"
...
@@ -153,6 +153,7 @@ menu "TFT_eSPI"
config TFT_PARALLEL_8_BIT
config TFT_PARALLEL_8_BIT
bool "Enable 8-bit parallel mode (otherwise SPI is assumed)"
bool "Enable 8-bit parallel mode (otherwise SPI is assumed)"
default "n"
default "n"
depends on IDF_TARGET_ESP32
help
help
Use 8-bit parallel bus to send data to the LCD. If not set SPI will be used.
Use 8-bit parallel bus to send data to the LCD. If not set SPI will be used.
...
@@ -214,7 +215,8 @@ menu "TFT_eSPI"
...
@@ -214,7 +215,8 @@ menu "TFT_eSPI"
config TFT_MISO
config TFT_MISO
int "TFT MISO pin"
int "TFT MISO pin"
default -1
default -1
range -1 32
range -1 32 if IDF_TARGET_ESP32
range -1 45 if IDF_TARGET_ESP32S2
help
help
Master In Slave Out pin.
Master In Slave Out pin.
Can be labelled as SDO in some displays
Can be labelled as SDO in some displays
...
@@ -222,7 +224,8 @@ menu "TFT_eSPI"
...
@@ -222,7 +224,8 @@ menu "TFT_eSPI"
config TFT_MOSI
config TFT_MOSI
int "TFT MOSI pin"
int "TFT MOSI pin"
default -1
default -1
range -1 32
range -1 32 if IDF_TARGET_ESP32
range -1 45 if IDF_TARGET_ESP32S2
help
help
Master Out Slave In pin.
Master Out Slave In pin.
Can be labelled as SDA or SDI in some displays
Can be labelled as SDA or SDI in some displays
...
@@ -230,7 +233,8 @@ menu "TFT_eSPI"
...
@@ -230,7 +233,8 @@ menu "TFT_eSPI"
config TFT_SCLK
config TFT_SCLK
int "TFT Clock pin"
int "TFT Clock pin"
default -1
default -1
range -1 32
range -1 32 if IDF_TARGET_ESP32
range -1 45 if IDF_TARGET_ESP32S2
help
help
Labelled in some displays as WR
Labelled in some displays as WR
...
@@ -266,7 +270,8 @@ menu "TFT_eSPI"
...
@@ -266,7 +270,8 @@ menu "TFT_eSPI"
config TFT_CS
config TFT_CS
int "TFT Chip Select pin"
int "TFT Chip Select pin"
default -1
default -1
range -1 33
range -1 33 if IDF_TARGET_ESP32
range -1 45 if IDF_TARGET_ESP32S2
config TFT_DC
config TFT_DC
int "TFT Data/Command pin"
int "TFT Data/Command pin"
...
@@ -278,7 +283,8 @@ menu "TFT_eSPI"
...
@@ -278,7 +283,8 @@ menu "TFT_eSPI"
config TFT_RST
config TFT_RST
int "TFT Reset pin"
int "TFT Reset pin"
default -1
default -1
range -1 33
range -1 33 if IDF_TARGET_ESP32
range -1 45 if IDF_TARGET_ESP32S2
config ENABLE_BL
config ENABLE_BL
bool "Enable backlight control"
bool "Enable backlight control"
...
@@ -288,7 +294,8 @@ menu "TFT_eSPI"
...
@@ -288,7 +294,8 @@ menu "TFT_eSPI"
config TFT_BL
config TFT_BL
int "TFT Backlight pin"
int "TFT Backlight pin"
default -1
default -1
range -1 33
range -1 33 if IDF_TARGET_ESP32
range -1 45 if IDF_TARGET_ESP32S2
help
help
Pin for the backlight control signal
Pin for the backlight control signal
...
@@ -355,7 +362,8 @@ menu "TFT_eSPI"
...
@@ -355,7 +362,8 @@ menu "TFT_eSPI"
config TOUCH_CS
config TOUCH_CS
int "Touch chip select pin"
int "Touch chip select pin"
default -1
default -1
range -1 33
range -1 33 if IDF_TARGET_ESP32
range -1 45 if IDF_TARGET_ESP32S2
config SPI_TOUCH_FREQUENCY
config SPI_TOUCH_FREQUENCY
int "SPI frequency for XPT2046 chip (Hz)"
int "SPI frequency for XPT2046 chip (Hz)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment