Created
January 19, 2022 00:12
-
-
Save derlaft/3a61b9545ea012617a7f7992869c8d12 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; PlatformIO Project Configuration File | |
; | |
; Build options: build flags, source filter | |
; Upload options: custom upload port, speed and extra flags | |
; Library options: dependencies, extra library storages | |
; Advanced options: extra scripting | |
; | |
; Please visit documentation for the other options and examples | |
; https://docs.platformio.org/page/projectconf.html | |
[env:wt32-sc01] | |
platform = espressif32 | |
board = esp32dev | |
framework = arduino | |
monitor_port = /dev/ttyUSB* | |
monitor_speed = 115200 | |
build_flags = | |
-D USER_CONFIG_LOADED | |
-D USER_CONFIG_INC_FILE | |
-D USER_CONFIG_INC_FNAME=\"../configs/esp-tftespi-default-ft6206.h\" | |
# -D USER_CONFIG_INC_FNAME=\"../configs/esp-tftespi-default-notouch.h\" | |
# load graphical fonts | |
-DLOAD_GLCD | |
-DLOAD_FONT2 | |
-DLOAD_FONT4 | |
-DLOAD_FONT6 | |
-DLOAD_FONT7 | |
-DLOAD_FONT8 | |
-DLOAD_GFXFF | |
-DSMOOTH_FONT | |
# select TFT driver | |
-DUSER_SETUP_LOADED=1 | |
-DST7796_DRIVER=1 | |
# enable HSPI port for TFT | |
-DUSE_HSPI_PORT=1 | |
# configure TFT pins | |
-DTFT_MISO=12 | |
-DTFT_MOSI=13 | |
-DTFT_SCLK=14 | |
-DTFT_CS=15 | |
-DTFT_DC=21 | |
-DTFT_RST=22 | |
# enable backlight | |
-DTFT_BACKLIGHT_ON=HIGH | |
-DTFT_BL=23 | |
lib_deps = | |
impulseadventure/GUIslice@^0.17.0 | |
bodmer/TFT_eSPI@^2.4.25 | |
adafruit/Adafruit FT6206 Library@^1.0.6 | |
adafruit/Adafruit BusIO@^1.10.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment