forked from Xinyuan-LilyGO/LilyGo-T-RGB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
65 lines (46 loc) · 1.49 KB
/
Copy pathplatformio.ini
File metadata and controls
65 lines (46 loc) · 1.49 KB
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
; 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]
; Select the screen size and touch model used
; default_envs = TRGB_FT3267_2_1_Inc ; H583
; default_envs = TRGB_CST820_2_1_Inc ; H597
; default_envs = TRGB_GT911_2_8_Inc ; H604
; src_dir = examples/display
src_dir = examples/factory
; src_dir = examples/GFX
; src_dir = examples/lv_benchmark
; src_dir = examples/lv_music
; src_dir = examples/Touchpad
[env]
platform = espressif32
framework = arduino
build_flags =
-DBOARD_HAS_PSRAM
-DLV_LVGL_H_INCLUDE_SIMPLE
; Enable UARDUINO_USB_CDC_ON_BOOT will start printing and wait for terminal access during startup
; -DARDUINO_USB_CDC_ON_BOOT=1
; Enable UARDUINO_USB_CDC_ON_BOOT will turn off printing and will not block when using the battery
-UARDUINO_USB_CDC_ON_BOOT
board_build.partitions = default_16MB.csv
[env:TRGB_FT3267_2_1_Inc]
board = esp32s3box
build_flags =
${env.build_flags}
-DUSING_2_1_INC_FT3267=1
[env:TRGB_CST820_2_1_Inc]
board = esp32s3box
build_flags =
${env.build_flags}
-DUSING_2_1_INC_CST820=1
[env:TRGB_GT911_2_8_Inc]
board = esp32s3box
build_flags =
${env.build_flags}
-DUSING_2_8_INC_GT911=1