mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 19:56:44 +00:00
Use Arduino core v2
This commit is contained in:
parent
c1143f8e74
commit
eb846e88f3
@ -5,14 +5,13 @@
|
||||
;***************************************************;
|
||||
|
||||
[env:d1-r32-unoshield_ili9341_adc]
|
||||
extends = esp32_4mb
|
||||
extends = esp32_4mb_v2
|
||||
board = esp32dev
|
||||
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${esp32.build_flags}
|
||||
${esp32.no_ps_ram}
|
||||
-D HASP_USE_OTA=0 ; No ArduinoOTA on port 3232
|
||||
|
||||
;region -- TFT_eSPI build options ------------------------
|
||||
${esp32.vspi} ; Use VSPI hardware SPI bus
|
||||
@ -59,6 +58,6 @@ lib_deps =
|
||||
|
||||
lib_ignore =
|
||||
${env.lib_ignore}
|
||||
;${esp32.lib_ignore}
|
||||
${esp32.lib_ignore}
|
||||
TFT_eSPI
|
||||
;endregion
|
@ -5,7 +5,7 @@
|
||||
;***************************************************;
|
||||
|
||||
[env:d1-r32-unoshield_ili9486_adc]
|
||||
extends = esp32_4mb
|
||||
extends = esp32_4mb_v2
|
||||
board = esp32dev
|
||||
|
||||
build_flags =
|
||||
@ -15,7 +15,8 @@ build_flags =
|
||||
|
||||
;region -- TFT_eSPI build options ------------------------
|
||||
${esp32.vspi} ; Use VSPI hardware SPI bus
|
||||
-D USER_SETUP_LOADED=1
|
||||
;-D USER_SETUP_LOADED=1
|
||||
-D LGFX_USE_V1=1
|
||||
-D ILI9486_DRIVER=1 ;3.5inch Arduino Display-UNO
|
||||
-D TFT_WIDTH=320
|
||||
-D TFT_HEIGHT=480
|
||||
@ -50,13 +51,13 @@ build_flags =
|
||||
lib_deps =
|
||||
${env.lib_deps}
|
||||
${esp32.lib_deps}
|
||||
bodmer/TFT_eSPI @ 2.4.32
|
||||
; bodmer/TFT_eSPI @ 2.4.32
|
||||
; ${tft_espi.lib_deps}
|
||||
; https://github.com/lovyan03/LovyanGFX.git#1be6600
|
||||
lorol/LittleFS_esp32@^1.0.6 ; for v1
|
||||
; lorol/LittleFS_esp32@^1.0.6 ; for v1
|
||||
${lovyangfx.lib_deps}
|
||||
|
||||
lib_ignore =
|
||||
${env.lib_ignore}
|
||||
;${esp32.lib_ignore}
|
||||
; TFT_eSPI
|
||||
TFT_eSPI
|
||||
;endregion
|
Loading…
x
Reference in New Issue
Block a user