-
Notifications
You must be signed in to change notification settings - Fork 28
/
platformio.ini
178 lines (150 loc) · 5.5 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
; 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
[platformio]
;!===============================VARIANT========================================
;!===============================VARIANT========================================
;!===============================VARIANT========================================
; ! Select the corresponding variant
; T-Display-AMOLED Support List:
; https://www.lilygo.cc/products/t-display-amoled-lite
; https://www.lilygo.cc/products/t-display-s3-amoled
; https://www.lilygo.cc/products/t4-s3
default_envs = T-Display-AMOLED
; ! Only applicable to AMOLED - 1.91Inch GFX Library, other models are not supported
; default_envs = T-Display-AMOLED-191-ArduinoGFX
;! ===============================Examples=======================================
;! ===============================Examples=======================================
;! ===============================Examples=======================================
;! ===============================Examples=======================================
;! The src_dir variable can only have one row
; Basic example
src_dir = examples/Factory
; src_dir = examples/Touchpad
; src_dir = examples/Lvgl_Images
; src_dir = examples/LVGL_SD_Images
; src_dir = examples/TFT_eSPI_Sprite
; src_dir = examples/TFT_eSPI_Sprite_ArcFill
; src_dir = examples/TFT_eSPI_Sprite_RLE_Font
; src_dir = examples/TFT_eSPI_Sprite_graphicstest_small
; src_dir = examples/AdjustBrightness
;! Extern SPI Example
; src_dir = examples/SPI_SDCard
;!1.47 Inch examples
; src_dir = examples/LumenMeter
; src_dir = examples/PMU_ADC
; src_dir = examples/PMU_Interrupt
;!1.91 Inch example
; src_dir = examples/CameraShield
;!1.91 & 2.41 Inch example
; src_dir = examples/TFT_eSPI_Sprite_Rotation
; src_dir = examples/LVGL_Rotation
;!1.91 Plus Inch example
; src_dir = examples/PPM_Example_for_191Plus
;!2.41 Inch example
; src_dir = examples/PPM_Example_for_T4S3
;!Requires T-Display-AMOLED-191-ArduinoGFX env
; src_dir = examples/Arduino_GFX_PDQgraphicstest
; src_dir = examples/Arduino_GFX_HelloWorld
;!QWIIC exampls
; src_dir = examples/QWIIC_GPS_Shield
; src_dir = examples/QWIIC_HP303BSensor
; src_dir = examples/QWIIC_MAX3010X
;!OneWrie example
; src_dir = examples/DS18x20_Temperature
;!lvgl examples
; src_dir = examples/lvgl/event
; src_dir = examples/lvgl/get_started
; src_dir = examples/lvgl/layouts/flex
; src_dir = examples/lvgl/layouts/grid
; src_dir = examples/lvgl/scroll
; src_dir = examples/lvgl/style
; src_dir = examples/lvgl/widgets/animimg
; src_dir = examples/lvgl/widgets/arc
; src_dir = examples/lvgl/widgets/bar
; src_dir = examples/lvgl/widgets/btn
; src_dir = examples/lvgl/widgets/btnmatrix
; src_dir = examples/lvgl/widgets/calendar
; src_dir = examples/lvgl/widgets/canvas
; src_dir = examples/lvgl/widgets/chart
; src_dir = examples/lvgl/widgets/checkbox
; src_dir = examples/lvgl/widgets/colorwheel
; src_dir = examples/lvgl/widgets/dropdown
; src_dir = examples/lvgl/widgets/img
; src_dir = examples/lvgl/widgets/imgbtn
; src_dir = examples/lvgl/widgets/keyboard
; src_dir = examples/lvgl/widgets/label
; src_dir = examples/lvgl/widgets/led
; src_dir = examples/lvgl/widgets/line
; src_dir = examples/lvgl/widgets/list
; src_dir = examples/lvgl/widgets/menu
; src_dir = examples/lvgl/widgets/meter
; src_dir = examples/lvgl/widgets/msgbox
; src_dir = examples/lvgl/widgets/obj
; src_dir = examples/lvgl/widgets/roller
; src_dir = examples/lvgl/widgets/slider
; src_dir = examples/lvgl/widgets/span
; src_dir = examples/lvgl/widgets/spinbox
; src_dir = examples/lvgl/widgets/spinner
; src_dir = examples/lvgl/widgets/switch
; src_dir = examples/lvgl/widgets/table
; src_dir = examples/lvgl/widgets/tabview
; src_dir = examples/lvgl/widgets/textarea
; src_dir = examples/lvgl/widgets/tileview
; src_dir = examples/lvgl/widgets/win
; src_dir = examples/lvgl/third_party/gif
; src_dir = examples/lvgl/third_party/ImageDecoder
; src_dir = examples/USB_Host_Keyboard_Mouse
;! Don't make changes
boards_dir = boards
[env]
lib_extra_dirs = ${PROJECT_DIR}
lib_ignore = lib_deps
platform = [email protected]
framework = arduino
upload_speed = 921600
monitor_speed = 115200
build_flags =
-DBOARD_HAS_PSRAM
-DLV_CONF_INCLUDE_SIMPLE
-DDISABLE_ALL_LIBRARY_WARNINGS
; Enable -DARDUINO_USB_CDC_ON_BOOT will start printing and wait for terminal access during startup
-DARDUINO_USB_CDC_ON_BOOT=1
; USB host example must disable usb cdc
; Enable -UARDUINO_USB_CDC_ON_BOOT will turn off printing and will not block when using the battery
; -UARDUINO_USB_CDC_ON_BOOT
-DCORE_DEBUG_LEVEL=1
monitor_filters =
default
esp32_exception_decoder
lib_deps =
mikalhart/TinyGPSPlus @ 1.0.3
adafruit/Adafruit NeoPixel @ 1.11.0
bxparks/AceButton @ 1.10.1
lvgl/lvgl @ 8.4.0
lewisxhe/XPowersLib @ 0.2.7
lewisxhe/SensorLib @ 0.2.4
bodmer/TFT_eSPI @ 2.5.31
FS
SPIFFS
SD
sparkfun/SparkFun MAX3010x Pulse and Proximity Sensor Library @ ^1.1.2
paulstoffregen/OneWire @ ^2.3.8
[env:T-Display-AMOLED]
extends = env
board = T-Display-AMOLED
build_flags =
${env.build_flags}
[env:T-Display-AMOLED-191-ArduinoGFX]
board = T-Display-AMOLED
build_flags =
${env.build_flags}
lib_deps =
moononournation/GFX Library for Arduino @ ^1.3.7
lewisxhe/SensorLib @ 0.2.0