mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Add ttgo-t7-v1.5_ili9341
This commit is contained in:
parent
236e2975b2
commit
ff8566c1a6
1
.github/workflows/build.yaml
vendored
1
.github/workflows/build.yaml
vendored
@ -28,6 +28,7 @@ jobs:
|
|||||||
- lolin-d32-pro_ili9341
|
- lolin-d32-pro_ili9341
|
||||||
- m5stack-core2
|
- m5stack-core2
|
||||||
- makerfabs-tft35-cap
|
- makerfabs-tft35-cap
|
||||||
|
- ttgo-t7-v1.5_ili9341
|
||||||
- wt32-sc01
|
- wt32-sc01
|
||||||
- yeacreate-nscreen32
|
- yeacreate-nscreen32
|
||||||
- linux_sdl_64bits
|
- linux_sdl_64bits
|
||||||
|
37
user_setups/esp32/ttgo-t7-v1.5_ili9341.ini
Normal file
37
user_setups/esp32/ttgo-t7-v1.5_ili9341.ini
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
;***************************************************;
|
||||||
|
; TTGO T7 v1.5 Mini32 with Lolin TFT 2.4" ;
|
||||||
|
; - TTGO T7 v1.5 Mini esp32 board ;
|
||||||
|
; - ili9341 TFT ;
|
||||||
|
; - xpt2046 touch controller ;
|
||||||
|
;***************************************************;
|
||||||
|
|
||||||
|
[env:ttgo-t7-v1.5_ili9341]
|
||||||
|
extends = esp32
|
||||||
|
board = esp32dev
|
||||||
|
|
||||||
|
build_flags =
|
||||||
|
${env.build_flags}
|
||||||
|
${esp32.build_flags}
|
||||||
|
${esp32.ps_ram}
|
||||||
|
-D HASP_MODEL="TTGO T7 v1.5"
|
||||||
|
|
||||||
|
;region -- TFT_eSPI build options ------------------------
|
||||||
|
${lcd.ili9341}
|
||||||
|
${touch.xpt2046}
|
||||||
|
${esp32.vspi} ; Use VSPI hardware SPI bus
|
||||||
|
-D TFT_DC=5
|
||||||
|
-D TFT_CS=26
|
||||||
|
-D TFT_RST=-1 ; RST
|
||||||
|
-D TFT_BCKL=-1 ; None, configurable via web UI (e.g. 21)
|
||||||
|
-D TOUCH_CS=27 ; (can also be 22 or 16)
|
||||||
|
;endregion
|
||||||
|
|
||||||
|
;region -- Library options -------------------------------
|
||||||
|
lib_deps =
|
||||||
|
${env.lib_deps}
|
||||||
|
${esp32.lib_deps}
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
${env.lib_ignore}
|
||||||
|
${esp32.lib_ignore}
|
||||||
|
;endregion
|
Loading…
x
Reference in New Issue
Block a user