Cahnges to arduino environment

This commit is contained in:
fvanroie 2021-02-16 17:04:46 +01:00
parent b992779c36
commit ea78d55980
2 changed files with 13 additions and 10 deletions

View File

@ -74,8 +74,8 @@ lib_deps =
git+https://github.com/fvanroie/ConsoleInput.git
;git+https://github.com/andrethomas/TasmotaSlave.git
;git+https://github.com/fvanroie/lv_components.git
git+https://github.com/lvgl/lvgl.git
;lvgl/lvgl @ ^7.7.2 ; from PIO library
;git+https://github.com/lvgl/lvgl.git
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
git+https://github.com/Bodmer/TFT_eSPI.git
; ------ Unused / Test libraries
@ -92,6 +92,15 @@ extra_scripts = tools/copy_fw.py ; tools/pre:extra_script.py
; -- Platform specific build flags
[esp32]
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 =
${env.build_flags}
-D HTTP_UPLOAD_BUFLEN=1024 ; lower http upload buffer

View File

@ -8,14 +8,7 @@
; !! This board already defines TFT_CS, TFT_DC and TFT_RST !!
[env:lolind32pro-lolintft24]
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
extends = esp32
build_flags =
${env.build_flags}
@ -25,6 +18,7 @@ build_flags =
;region -- TFT_eSPI build options ------------------------
${lcd.lolin24}
${esp32.vspi} ; Use VSPI hardware SPI bus
-D USE_TFT_ESPI
; The board already defines the macros for the TFT connector:
;-D TFT_DC=27 ; Defined by board, don't redefine !!
;-D TFT_CS=14 ; Defined by board, don't redefine !!