-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
70 lines (62 loc) · 1.73 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
; 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
[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
src_dir = Test
;example/${platformio.default_envs}
boards_dir = ./boards
[env]
platform = espressif32
board = lilygo-t-display-s3
framework = arduino
; extra_scripts = ./script/pos_extra_script.py
monitor_filters = esp32_exception_decoder
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: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]