Untested device configs

This commit is contained in:
fvanroie 2021-06-14 19:48:36 +02:00
parent 66c456a1d1
commit 2faab3a063
2 changed files with 114 additions and 0 deletions

View File

@ -0,0 +1,51 @@
;***************************************************;
; ESP32 TFT Touch with camera 3.5" Capacitive ;
; - 3.5" ili9488 TFT SPI 4-WIRE ;
; - ft6336 touch controller ;
;***************************************************;
; untested config
[env:esp32-tft-touch-35]
extends = esp32
board = esp32dev
build_flags =
${env.build_flags}
${esp32.build_flags}
${esp32.hspi} ; Use VSPI hardware SPI bus
-D HASP_MODEL="ESP32 TFT Touch 3.5"
;region -- TFT_eSPI build options ------------------------
-D USER_SETUP_LOADED=1
-D ILI9488_DRIVER=1
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
-D TFT_WIDTH=320
-D TFT_HEIGHT=480
-D TFT_CS=15 ;// SS Chip select control pin
-D TFT_DC=33 ;// RS Data Command control pin
-D TFT_RST=-1 ;// Reset pin (could connect to RST pin)
-D TFT_BCKL=32 ;None, configurable via web UI (e.g. 2 for D4)
-D SUPPORT_TRANSACTIONS
-D TOUCH_DRIVER=6336 ; FT6336 Capacitive touch panel driver
-D TOUCH_SDA=26
-D TOUCH_SCL=27
-D TOUCH_IRQ=0
-D TOUCH_RST=-1 ; not used
-D TOUCH_FREQUENCY=400000
-D SPI_FREQUENCY=40000000
-D SPI_READ_FREQUENCY=20000000
;endregion
; -- Debugging options -----------------------------
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
;region -- Library options -------------------------------
lib_deps =
${env.lib_deps}
${esp32.lib_deps}
git+https://github.com/aselectroworks/Arduino-FT6336U.git
lib_ignore =
${env.lib_ignore}
${esp32.lib_ignore}
;endregion

View File

@ -0,0 +1,63 @@
;***************************************************;
; YeaCreate Nscreen32 ;
; - 4" ST7796 TFT 8-biy parallell ;
; - gt911 touch controller ;
;***************************************************;
; untested config
[env:yeacreate-nscreen32]
extends = esp32
board = esp32dev
build_flags =
${env.build_flags}
${esp32.build_flags}
${esp32.hspi} ; Use VSPI hardware SPI bus
-D HASP_MODEL="YeaCreate Nscreen32"
;region -- TFT_eSPI build options ------------------------
-D USER_SETUP_LOADED=1
-D ST7796_DRIVER=1
-D ESP32_PARALLEL=1
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
-D TFT_WIDTH=320
-D TFT_HEIGHT=480
; ESP32 pins used for the parallel interface TFT
-D TFT_CS=33 ; Chip select control pin
-D TFT_DC=15 ; Data Command control pin - must use a pin in the range 0-31 also named RS
-D TFT_WR=4 ; Write strobe control pin - must use a pin in the range 0-31
-D TFT_RD=2
-D TFT_D0=12 ; Must use pins in the range 0-31 for the data bus
-D TFT_D1=13 ; so a single register write sets/clears all bits
-D TFT_D2=26
-D TFT_D3=25
-D TFT_D4=19
-D TFT_D5=18
-D TFT_D6=27
-D TFT_D7=14
-D TFT_RST=32 ; Reset pin
;-D TFT_BCKL=32 ;None, configurable via web UI (e.g. 2 for D4)
-D SUPPORT_TRANSACTIONS
-D TOUCH_DRIVER=911 ; GT911 Capacitive touch panel driver
-D TOUCH_SDA=21
-D TOUCH_SCL=22
-D TOUCH_IRQ=5
-D TOUCH_RST=23
-D TOUCH_FREQUENCY=400000
-D SPI_FREQUENCY=40000000
-D SPI_READ_FREQUENCY=20000000
;endregion
; -- Debugging options -----------------------------
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
;region -- Library options -------------------------------
lib_deps =
${env.lib_deps}
${esp32.lib_deps}
git+https://github.com/aselectroworks/Arduino-FT6336U.git
lib_ignore =
${env.lib_ignore}
${esp32.lib_ignore}
;endregion