-
Notifications
You must be signed in to change notification settings - Fork 56
/
platformio.ini
162 lines (135 loc) · 4.81 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
;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========================================
; !Note:
; !default_envs must select a corresponding board type.
; !If you don’t know which board type you have, please click the link to view it.
; !default_envs 必须选择一个对应的板型 ,如果你不知道你的板型是哪种,请点击链接进行查看
; https://www.lilygo.cc/products/t-sim-a7670e
; default_envs = T-A7670X
; https://www.lilygo.cc/products/t-call-v1-4
; default_envs = T-Call-A7670X-V1-0
; default_envs = T-Call-A7670X-V1-1
;! SIM7672G and SIM7670G are exactly the same, except for the name change
default_envs = T-SIM7672G
; https://www.lilygo.cc/products/t-a7608e-h
; default_envs = T-A7608X
; default_envs = T-A7608X-S3
; default_envs = T-A7608X-DC-S3
;! ===============================Examples=======================================
;! ===============================Examples=======================================
;! ===============================Examples=======================================
;! ===============================Examples=======================================
; !Note:
; !src_dir must select an example that needs to be compiled. Only one line can be valid, and the rest need to be commented.
; !src_dir 必须选择一个需要进行编译的示例,只能有一行有效,其余需要注释
; src_dir = examples/ATdebug
; src_dir = examples/ModemPowerOff
; src_dir = examples/Blynk_Console
; src_dir = examples/GPSShield
; src_dir = examples/HttpClient
; src_dir = examples/HttpsClient
; src_dir = examples/GPS_BuiltIn
; src_dir = examples/GPS_Acceleration
; src_dir = examples/GPS_NMEA_Parse
; src_dir = examples/GPS_NMEA_Output
; src_dir = examples/MqttClient
; src_dir = examples/VoiceCalls
; src_dir = examples/ModemSleep
; src_dir = examples/DeepSleep
; src_dir = examples/ReadBattery
; src_dir = examples/SDCard
; src_dir = examples/SendSMS
; src_dir = examples/ReadSMS
; src_dir = examples/LBSExample
; src_dir = examples/Network
; src_dir = examples/MqttsBuiltlnAuth
; src_dir = examples/MqttsBuiltlnSSL
; src_dir = examples/MqttsBuiltlnNoSSL
; src_dir = examples/MqttsBuiltlnAWS
; src_dir = examples/MqttsBuiltlnHivemq
; src_dir = examples/HttpsBuiltlnGet
; src_dir = examples/HttpsBuiltlnPost
; src_dir = examples/MqttsBuiltlnEMQX
src_dir = examples/MqttsBuiltlnWill
; src_dir = examples/HttpsOTAUpgrade
; src_dir = examples/HP303BSensor
; src_dir = examples/SPIExample
; src_dir = examples/SendLocationFromSMS
; src_dir = examples/SendLocationFromSMS_Use_TinyGPS
; src_dir = examples/PowerMonitoring
; src_dir = examples/SimHatOneWireSensor
; src_dir = examples/SimHatCurrentSensor
; src_dir = examples/SimHatRelay
; src_dir = examples/SimHatAccelerometer
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
[esp32dev_base]
board = esp32dev
build_flags =
${env.build_flags}
-mfix-esp32-psram-cache-issue
-DBOARD_HAS_PSRAM
monitor_filters =
default
esp32_exception_decoder
[esp32s3_base]
board = esp32s3box
build_flags =
${env.build_flags}
; -UARDUINO_USB_CDC_ON_BOOT
-DARDUINO_USB_CDC_ON_BOOT=1
-DCORE_DEBUG_LEVEL=4
[env:T-A7670X]
extends = esp32dev_base
build_flags = ${esp32dev_base.build_flags}
-DLILYGO_T_A7670
-DTINY_GSM_MODEM_A7670
[env:T-Call-A7670X-V1-0]
extends = esp32dev_base
build_flags = ${esp32dev_base.build_flags}
-DLILYGO_T_CALL_A7670_V1_0
-DTINY_GSM_MODEM_A7670
[env:T-Call-A7670X-V1-1]
extends = esp32dev_base
build_flags = ${esp32dev_base.build_flags}
-DLILYGO_T_CALL_A7670_V1_1
-DTINY_GSM_MODEM_A7670
[env:T-SIM7672G]
extends = esp32s3_base
build_flags = ${esp32s3_base.build_flags}
-DLILYGO_T_SIM767XG_S3
-DTINY_GSM_MODEM_SIM7672
; FLASH:16MB PSRAM:8M QSPI
[env:T-A7608X]
extends = esp32dev_base
build_flags =
${esp32dev_base.build_flags}
-DLILYGO_T_A7608X
-DTINY_GSM_MODEM_A7608
; FLASH:16MB PSRAM:8M OPI
[env:T-A7608X-S3]
extends = esp32s3_base
build_flags =
${esp32s3_base.build_flags}
-DLILYGO_T_A7608X_S3
-DTINY_GSM_MODEM_A7608
; FLASH:16MB PSRAM:8M OPI
[env:T-A7608X-DC-S3]
extends = esp32s3_base
build_flags =
${esp32s3_base.build_flags}
-DLILYGO_T_A7608X_DC_S3
-DTINY_GSM_MODEM_A7608