-
Notifications
You must be signed in to change notification settings - Fork 8
/
platformio.ini
96 lines (83 loc) · 3.3 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
; 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========================================
default_envs = LilyGO-T-Wristband-and-T-Glass
;! ===============================Examples=======================================
;! ===============================Examples=======================================
;! ===============================Examples=======================================
;! ===============================Examples=======================================
;! The src_dir variable can only have one row
; ! T-Wristband Examples
; src_dir = examples/Wristband/WristbandFactory
; src_dir = examples/Wristband/WristbandTouchButton
; src_dir = examples/Wristband/WristbandTouchButtonEvent
; src_dir = examples/Wristband/WristbandRtcDateTime
; src_dir = examples/Wristband/WristbandRtcAlarm
; src_dir = examples/Wristband/WristbandHelloWorld
; src_dir = examples/Wristband/WristbandDeepSleep
; src_dir = examples/Wristband/WristbandBatteryVoltage
; src_dir = examples/Wristband/Wristband6DoF
; src_dir = examples/Wristband/WristbandDisplayRotation
; src_dir = examples/Wristband/WristbandLightSleep
; ! T-Glass Examples
; src_dir = examples/Glass/GlassFactory
; src_dir = examples/Glass/GlassVoiceActivityDetection
; src_dir = examples/Glass/GlassTouchButton
; src_dir = examples/Glass/GlassTouchButtonEvent
; src_dir = examples/Glass/Glass6DoF
; src_dir = examples/Glass/GlassBatteryVoltage
; src_dir = examples/Glass/GlassDeepSleep
; src_dir = examples/Glass/GlassHelloWorld
; src_dir = examples/Glass/GlassRtcDateTime
; src_dir = examples/Glass/GlassRtcAlarm
; src_dir = examples/GlassV2/GlassFactory
; src_dir = examples/GlassV2/GlassVoiceActivityDetection ;ok
; src_dir = examples/GlassV2/GlassTouchButton
; src_dir = examples/GlassV2/GlassTouchButtonEvent
src_dir = examples/GlassV2/Glass6DoF
; src_dir = examples/GlassV2/GlassBatteryVoltage
; src_dir = examples/GlassV2/GlassDeepSleep
; src_dir = examples/GlassV2/GlassHelloWorld
; src_dir = examples/GlassV2/GlassRtcDateTime
; src_dir = examples/GlassV2/GlassRtcAlarm
;! Don't make changes
boards_dir = boards
[env]
lib_extra_dirs = ${PROJECT_DIR}
platform = espressif32@6.3.0
framework = arduino
upload_speed = 921600
monitor_speed = 115200
build_flags =
-DLV_CONF_INCLUDE_SIMPLE
; Enable -DARDUINO_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
-DCORE_DEBUG_LEVEL=0
monitor_filters =
default
esp32_exception_decoder
lib_deps =
lvgl/lvgl @ 8.4.0
lewisxhe/SensorLib @ 0.1.8
FS
SPIFFS
SD
sparkfun/SparkFun MAX3010x Pulse and Proximity Sensor Library @ ^1.1.2
arduino-libraries/Madgwick @ ^1.2.0
[env:LilyGO-T-Wristband-and-T-Glass]
extends = env
board = LilyGO-T-Wristband-and-T-Glass
build_flags =
${env.build_flags}
board_build.filesystem = spiffs
board_build.partitions = huge_app.csv