forked from VolosR/TTGOTetris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
39 lines (38 loc) · 1.17 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
; 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:ttgo-lora32-v1]
platform = espressif32
board = ttgo-lora32-v1
framework = arduino
lib_deps = bodmer/TFT_eSPI@^2.4.51
build_flags = -DBUTTON_LEFT=0
-DBUTTON_RIGHT=35
; TFT_eSPI flags:
; ST7789V 1.14"
-DUSER_SETUP_LOADED=1
-DTFT_WIDTH=135
-DTFT_HEIGHT=240
-DST7789_DRIVER=1
-DTFT_CS=5
-DTFT_BL=4
-DTFT_DC=16
-DTFT_MOSI=19
-DTFT_SCLK=18
-DTFT_RST=23
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DLOAD_FONT4=1
-DLOAD_FONT6=1
-DLOAD_FONT7=1
-DLOAD_FONT8=1
-DLOAD_FONT8N=1
-DLOAD_GFXFF=1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=27000000