-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
83 lines (71 loc) · 1.9 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
; 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 example
; https://docs.platformio.org/page/projectconf.html
;
; python -m esptool --chip esp32-s3 erase_flash
[platformio]
; default_envs = arduino_gfx_demo
; default_envs = factory
; default_envs = lv_demos
; default_envs = nes
; default_envs = sd
; default_envs = tft
; default_envs = TFT_Rainbow
; default_envs = touch_test
; default_envs = usb_hid_pad
; default_envs = ota
; default_envs = SerialExample
; default_envs = T-Display-S3-MIDI
; default_envs = ImageScroll
; default_envs = GetBatteryVoltage
; default_envs = PokerS3
default_envs = Tkkr-MQTT-v2
src_dir = example/${platformio.default_envs}
boards_dir = ./boards
[env]
platform = espressif32
board = lilygo-t-displays3
framework = arduino
build_flags =
-DLV_LVGL_H_INCLUDE_SIMPLE
-DARDUINO_USB_CDC_ON_BOOT=1
-DDISABLE_ALL_LIBRARY_WARNINGS
-DARDUINO_USB_MODE=1
; Choose different options according to different driver chips
; Early use of CST328
-DTOUCH_MODULES_CST_MUTUAL
; Use CST816 by default
; -DTOUCH_MODULES_CST_SELF
[env:arduino_gfx_demo]
[env:factory]
[env:lv_demos]
build_flags = ${env.build_flags}
-D USEPLATFORMIO
build_src_filter = ${env.build_src_filter}
+<../../lib/lvgl/demos>
[env:nes]
[env:sd]
[env:tft]
[env:TFT_Rainbow]
[env:ImageScroll]
[env:touch_test]
[env:SerialExample]
[env:usb_hid_pad]
build_flags = -DARDUINO_USB_MODE=0
[env:ota]
upload_protocol = espota
; Change to the IP address of the board
upload_port = 192.168.36.172
[env:T-Display-S3-MIDI]
[env:GetBatteryVoltage]
[env:PokerS3]
[env:Tkkr-MQTT-v2]
lib_deps =
juerd/ESP-WiFiSettings@^3.8.0
MQTT