TTGO ESP32 POE user config

This commit is contained in:
arovak 2020-11-03 22:53:23 +01:00
parent ba8f5b1fa0
commit e5ee2328a8

View 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