mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Add env:ttgo-esp32-lilygo-pi
This commit is contained in:
parent
3751608c0e
commit
309a06186b
50
user_setups/esp32/ttgo-esp32-lilygo-pi.ini
Normal file
50
user_setups/esp32/ttgo-esp32-lilygo-pi.ini
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
;***************************************************;
|
||||||
|
; Lilygo®Ttgo Pi ESP32 with TFT 3.5" ;
|
||||||
|
; - T-Internet-Poe ESP32-WROVER ;
|
||||||
|
; - ili9481 TFT ;
|
||||||
|
; - xpt2046 touch controller ;
|
||||||
|
;***************************************************;
|
||||||
|
|
||||||
|
[env:ttgo-esp32-lilygo-pi]
|
||||||
|
platform = espressif32
|
||||||
|
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
|
||||||
|
monitor_filters = esp32_exception_decoder
|
||||||
|
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
||||||
|
|
||||||
|
build_flags =
|
||||||
|
${env.build_flags}
|
||||||
|
${esp32.build_flags}
|
||||||
|
|
||||||
|
;region -- 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)
|
||||||
|
;endregion
|
||||||
|
|
||||||
|
;region -- Hasp build options ----------------------------
|
||||||
|
-D HASP_USE_ETHERNET=1
|
||||||
|
-D HASP_USE_WIFI=0
|
||||||
|
;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