mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-04-19 12:57:19 +00:00
TFT_eSPI not compatible with Arduino v2
This commit is contained in:
parent
0c4a192c94
commit
e5332a3aad
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
@ -4,5 +4,8 @@
|
||||
"recommendations": [
|
||||
"ms-vscode.cpptools",
|
||||
"platformio.platformio-ide"
|
||||
],
|
||||
"unwantedRecommendations": [
|
||||
"ms-vscode.cpptools-extension-pack"
|
||||
]
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
;***************************************************;
|
||||
|
||||
[env:d1-r32-unoshield_ili9341_adc]
|
||||
extends = esp32_4mb_v2
|
||||
extends = esp32_4mb
|
||||
board = esp32dev
|
||||
|
||||
build_flags =
|
||||
@ -46,3 +46,18 @@ build_flags =
|
||||
|
||||
; -- Debugging options -----------------------------
|
||||
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
||||
|
||||
;region -- Library options -------------------------------
|
||||
lib_deps =
|
||||
${env.lib_deps}
|
||||
${esp32.lib_deps}
|
||||
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
|
||||
|
||||
lib_ignore =
|
||||
${env.lib_ignore}
|
||||
;${esp32.lib_ignore}
|
||||
; TFT_eSPI
|
||||
;endregion
|
@ -5,7 +5,7 @@
|
||||
;***************************************************;
|
||||
|
||||
[env:d1-r32-unoshield_ili9486_adc]
|
||||
extends = esp32_4mb_v2
|
||||
extends = esp32_4mb
|
||||
board = esp32dev
|
||||
|
||||
build_flags =
|
||||
@ -45,3 +45,18 @@ build_flags =
|
||||
|
||||
; -- Debugging options -----------------------------
|
||||
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
||||
|
||||
;region -- Library options -------------------------------
|
||||
lib_deps =
|
||||
${env.lib_deps}
|
||||
${esp32.lib_deps}
|
||||
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
|
||||
|
||||
lib_ignore =
|
||||
${env.lib_ignore}
|
||||
;${esp32.lib_ignore}
|
||||
; TFT_eSPI
|
||||
;endregion
|
@ -17,8 +17,8 @@ build_flags =
|
||||
-D HASP_MODEL="YeaCreate Nscreen32"
|
||||
|
||||
;region -- TFT_eSPI build options ------------------------
|
||||
;-D USER_SETUP_LOADED=1
|
||||
-D LGFX_USE_V1=1
|
||||
-D USER_SETUP_LOADED=1
|
||||
;-D LGFX_USE_V1=1
|
||||
-D ST7796_DRIVER=1
|
||||
-D ESP32_PARALLEL=1
|
||||
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
|
||||
|
Loading…
x
Reference in New Issue
Block a user