mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Update user_setups
This commit is contained in:
parent
7bf750c095
commit
7efac54de3
@ -25,7 +25,7 @@ extra_default_envs =
|
||||
; arduitouch-esp32_ili9341
|
||||
; d1-mini-esp32_ili9341
|
||||
; d1-mini-esp8266_ili9341
|
||||
; d132-unoshield
|
||||
; d1-r32-unoshield
|
||||
; esp12e-st7735
|
||||
; esp32dev-mrb3511
|
||||
; esp32dev-ili9488
|
||||
@ -35,6 +35,7 @@ extra_default_envs =
|
||||
; nodemcu32s-raspi
|
||||
; wt32-sc01
|
||||
; ttgo_esp32_poe-ili9341
|
||||
; ttgo-lilygo-pi_ili9481
|
||||
;endregion
|
||||
|
||||
;region -- Define your local COM ports for each environment ---
|
||||
@ -50,7 +51,7 @@ upload_port = ${env:d1-mini-esp8266_ili9341.monitor_port}
|
||||
monitor_port = COM3 ; Change to the correct port
|
||||
upload_port = ${env:esp32dev-mrb3511.monitor_port}
|
||||
|
||||
[env:d132-unoshield]
|
||||
[env:d1-r32-unoshield]
|
||||
monitor_port = COM9 ; Change to the correct port
|
||||
;upload_port = ${$env:d132-unoshield.monitor_port}
|
||||
upload_port = 192.168.4.4 ; IP of the ESP
|
||||
@ -64,6 +65,13 @@ upload_port = 192.168.4.5 ; IP of the ESP
|
||||
upload_protocol = espota ; Use ArduinoOTA after flashing over serial
|
||||
upload_flags = --port=3232 ; --auth=haspadmin ; OTA password
|
||||
|
||||
[env:ttgo-lilygo-pi_ili9481]
|
||||
monitor_port = COM9 ; Change to the correct port
|
||||
;upload_port = ${env:ttgo_esp32_poe-ili9341.monitor_port}
|
||||
upload_port = 192.168.4.5 ; IP of the ESP
|
||||
upload_protocol = espota ; Use ArduinoOTA after flashing over serial
|
||||
upload_flags = --port=3232 ; --auth=haspadmin ; OTA password
|
||||
|
||||
[env:lolin-d32-pro_ili9341]
|
||||
monitor_port = COM5 ; Change to the correct port
|
||||
upload_port = ${env:lolin-d32-pro_ili9341.monitor_port}
|
||||
|
@ -4,7 +4,7 @@
|
||||
; - ili9486 TFT ;
|
||||
;***************************************************;
|
||||
|
||||
[env:d132-unoshield]
|
||||
[env:d1-r32-unoshield]
|
||||
extends = esp32
|
||||
board = esp32dev
|
||||
|
@ -1,11 +1,11 @@
|
||||
;***************************************************;
|
||||
; Lilygo®Ttgo Pi ESP32 with TFT 3.5" ;
|
||||
; - Custom PCB with ESP32-WROVER ;
|
||||
; - IPS ili9488 LCD ;
|
||||
; - IPS ili9481 LCD ;
|
||||
; - GT911 touch controller ;
|
||||
;***************************************************;
|
||||
|
||||
[env:ttgo-esp32-lilygo-pi]
|
||||
[env:ttgo-lilygo-pi_ili9481]
|
||||
extends = esp32
|
||||
board = esp32dev
|
||||
board_upload.flash_size=16MB
|
||||
@ -19,6 +19,7 @@ build_flags =
|
||||
|
||||
;region -- TFT_eSPI build options ------------------------
|
||||
-D ILI9481_DRIVER=1
|
||||
-D INVERT_COLORS=1 ;-D TFT_INVERSION_ON ; for inverted colors
|
||||
-D SPI_FREQUENCY=27000000
|
||||
-D TFT_WIDTH=320
|
||||
-D TFT_HEIGHT=480
|
Loading…
x
Reference in New Issue
Block a user