mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
LovyanGFX and Arduino 2.0.0 test config
This commit is contained in:
parent
87831daf6e
commit
7798a79adf
@ -12,6 +12,10 @@ board_upload.flash_size=16MB
|
|||||||
board_upload.maximum_size = 16777216
|
board_upload.maximum_size = 16777216
|
||||||
board_build.partitions = user_setups/esp32/partitions_16MB.csv
|
board_build.partitions = user_setups/esp32/partitions_16MB.csv
|
||||||
|
|
||||||
|
#platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
|
||||||
|
#platform_packages =
|
||||||
|
# framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.0
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${env.build_flags}
|
${env.build_flags}
|
||||||
${esp32.build_flags}
|
${esp32.build_flags}
|
||||||
@ -19,12 +23,14 @@ build_flags =
|
|||||||
|
|
||||||
;region -- TFT_eSPI build options ------------------------
|
;region -- TFT_eSPI build options ------------------------
|
||||||
-D ILI9481_DRIVER=1
|
-D ILI9481_DRIVER=1
|
||||||
-D INVERT_COLORS=1 ;-D TFT_INVERSION_ON ; for inverted colors
|
-D INVERT_COLORS=1
|
||||||
|
-D TFT_INVERSION_ON ; for inverted colors
|
||||||
-D SPI_FREQUENCY=27000000
|
-D SPI_FREQUENCY=27000000
|
||||||
|
-D SPI_READ_FREQUENCY=20000000
|
||||||
-D TFT_WIDTH=320
|
-D TFT_WIDTH=320
|
||||||
-D TFT_HEIGHT=480
|
-D TFT_HEIGHT=480
|
||||||
;-D TFT_ROTATION=0 ; Use default, see TFT_ROTATION values
|
;-D TFT_ROTATION=0 ; Use default, see TFT_ROTATION values
|
||||||
-D USER_SETUP_LOADED=1
|
-D LGFX_USE_V1=1
|
||||||
;-D SUPPORT_TRANSACTIONS ; Default on ESP32
|
;-D SUPPORT_TRANSACTIONS ; Default on ESP32
|
||||||
-D I2C_TOUCH_FREQUENCY=400000
|
-D I2C_TOUCH_FREQUENCY=400000
|
||||||
-D TFT_MISO=23
|
-D TFT_MISO=23
|
||||||
@ -53,6 +59,7 @@ lib_deps =
|
|||||||
adafruit/Adafruit BusIO @ ^1.6.0
|
adafruit/Adafruit BusIO @ ^1.6.0
|
||||||
; GT911 touch screen driver
|
; GT911 touch screen driver
|
||||||
git+https://github.com/netwizeBE/arduino-goodix.git
|
git+https://github.com/netwizeBE/arduino-goodix.git
|
||||||
|
lovyan03/LovyanGFX @ ^0.4.4
|
||||||
|
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
${env.lib_ignore}
|
${env.lib_ignore}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user