mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Cahnges to arduino environment
This commit is contained in:
parent
b992779c36
commit
ea78d55980
@ -74,8 +74,8 @@ lib_deps =
|
|||||||
git+https://github.com/fvanroie/ConsoleInput.git
|
git+https://github.com/fvanroie/ConsoleInput.git
|
||||||
;git+https://github.com/andrethomas/TasmotaSlave.git
|
;git+https://github.com/andrethomas/TasmotaSlave.git
|
||||||
;git+https://github.com/fvanroie/lv_components.git
|
;git+https://github.com/fvanroie/lv_components.git
|
||||||
git+https://github.com/lvgl/lvgl.git
|
;git+https://github.com/lvgl/lvgl.git
|
||||||
;lvgl/lvgl @ ^7.7.2 ; from PIO library
|
lvgl/lvgl @^7.10.1 ; from PIO library
|
||||||
;bodmer/TFT_eSPI @ 2.3.4 ; Tft SPI drivers EXACT version 2.3.5 has compile error
|
;bodmer/TFT_eSPI @ 2.3.4 ; Tft SPI drivers EXACT version 2.3.5 has compile error
|
||||||
git+https://github.com/Bodmer/TFT_eSPI.git
|
git+https://github.com/Bodmer/TFT_eSPI.git
|
||||||
; ------ Unused / Test libraries
|
; ------ Unused / Test libraries
|
||||||
@ -92,6 +92,15 @@ extra_scripts = tools/copy_fw.py ; tools/pre:extra_script.py
|
|||||||
; -- Platform specific build flags
|
; -- Platform specific build flags
|
||||||
[esp32]
|
[esp32]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
platform = espressif32
|
||||||
|
board = lolin_d32_pro
|
||||||
|
;upload_port = COM6 ; To change the port, use platform_override.ini
|
||||||
|
;monitor_port = COM6 ; To change the port, use platform_override.ini
|
||||||
|
monitor_filters = esp32_exception_decoder
|
||||||
|
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
||||||
|
check_tool = cppcheck
|
||||||
|
check_flags = --enable=all
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
-D HTTP_UPLOAD_BUFLEN=1024 ; lower http upload buffer
|
-D HTTP_UPLOAD_BUFLEN=1024 ; lower http upload buffer
|
||||||
|
@ -8,14 +8,7 @@
|
|||||||
; !! This board already defines TFT_CS, TFT_DC and TFT_RST !!
|
; !! This board already defines TFT_CS, TFT_DC and TFT_RST !!
|
||||||
|
|
||||||
[env:lolind32pro-lolintft24]
|
[env:lolind32pro-lolintft24]
|
||||||
platform = espressif32
|
extends = esp32
|
||||||
board = lolin_d32_pro
|
|
||||||
;upload_port = COM6 ; To change the port, use platform_override.ini
|
|
||||||
;monitor_port = COM6 ; To change the port, use platform_override.ini
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
|
||||||
check_tool = cppcheck
|
|
||||||
check_flags = --enable=all
|
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
@ -25,6 +18,7 @@ build_flags =
|
|||||||
;region -- TFT_eSPI build options ------------------------
|
;region -- TFT_eSPI build options ------------------------
|
||||||
${lcd.lolin24}
|
${lcd.lolin24}
|
||||||
${esp32.vspi} ; Use VSPI hardware SPI bus
|
${esp32.vspi} ; Use VSPI hardware SPI bus
|
||||||
|
-D USE_TFT_ESPI
|
||||||
; The board already defines the macros for the TFT connector:
|
; The board already defines the macros for the TFT connector:
|
||||||
;-D TFT_DC=27 ; Defined by board, don't redefine !!
|
;-D TFT_DC=27 ; Defined by board, don't redefine !!
|
||||||
;-D TFT_CS=14 ; Defined by board, don't redefine !!
|
;-D TFT_CS=14 ; Defined by board, don't redefine !!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user