mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
TTGO ESP32 POE user config
This commit is contained in:
parent
ba8f5b1fa0
commit
e5ee2328a8
35
user_setups/esp32/TTGO-esp32-POE_ili9341.ini
Normal file
35
user_setups/esp32/TTGO-esp32-POE_ili9341.ini
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
;***************************************************;
|
||||||
|
; Lilygo®Ttgo ESP32 with Lolin TFT 2.4" ;
|
||||||
|
; - T-Internet-Poe ESP32-WROOM ;
|
||||||
|
; - LAN8720A with POE ;
|
||||||
|
; - ili9341 TFT ;
|
||||||
|
; - xpt2606 touch controller ;
|
||||||
|
;***************************************************;
|
||||||
|
|
||||||
|
[env:ttgo_esp32-lolintft24]
|
||||||
|
platform = espressif32@^1.12.0
|
||||||
|
board = esp32dev
|
||||||
|
upload_protocol = espota ; Use ArduinoOTA after flashing over serial
|
||||||
|
upload_port = 10.4.70.37 ; 10.4.0.198 ; IP of the ESP
|
||||||
|
upload_flags =
|
||||||
|
--port=3232
|
||||||
|
|
||||||
|
;upload_port = COM9 ; To change the port, use platform_override.ini
|
||||||
|
monitor_port = COM9 ; To change the port, use platform_override.ini
|
||||||
|
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv ; default.csv
|
||||||
|
build_flags =
|
||||||
|
${flags.esp32_flags}
|
||||||
|
; -- TFT_eSPI build options ------------------------
|
||||||
|
${lcd.lolin24}
|
||||||
|
-D TFT_MISO=2
|
||||||
|
-D TFT_MOSI=15
|
||||||
|
-D TFT_SCLK=14
|
||||||
|
-D TFT_DC=4
|
||||||
|
-D TFT_CS=33
|
||||||
|
-D TFT_RST=12 ; RST
|
||||||
|
-D TFT_BCKL=16 ; None, configurable via web UI (e.g. 21)
|
||||||
|
-D TOUCH_CS=32 ; (can also be 22 or 16)
|
||||||
|
; -- Options ----------------------------------------
|
||||||
|
-D HASP_USE_TELNET=1
|
||||||
|
-D HASP_USE_ETHERNET=1
|
||||||
|
-D HASP_USE_WIFI=0
|
Loading…
x
Reference in New Issue
Block a user