-
Notifications
You must be signed in to change notification settings - Fork 10
/
platformio.ini
109 lines (104 loc) · 2.23 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
; 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]
; default_envs = lolin_d32
default_envs = mh_et_esp32_mini_kit
; default_envs = ttgo
; default_envs = esp32doitdevkit
[env:lolin_d32]
platform = espressif32
board = lolin_d32
framework = arduino
board_build.mcu = esp32
monitor_speed = 115200
upload_speed = 921600
; upload_port = COM2
; monitor_port = COM2
board_build.partitions = partitions_custom2.csv
build_flags =
-D ENV=$PIOENV
-D DEV=DEVA
-D MQTT_MAX_PACKET_SIZE=600
lib_deps =
SimpleTimer
PubSubClient
ArduinoJson
NTPClient
Timezone
TimeLib
[env:mh_et_esp32_mini_kit]
platform = espressif32
board = mhetesp32minikit
; board = esp32dev
framework = arduino
board_build.mcu = esp32
monitor_speed = 115200
upload_speed = 921600
; upload_speed = 115200
; upload_port = COM2
; monitor_port = COM2
; (DIO/40MHz/no PSRAM/115200 baud)
board_build.partitions = partitions_custom2.csv
; board_build.flash_mode = dio
; board_build.f_flash = 40000000L
build_flags =
-D ENV=$PIOENV
-D DEV=DEVA
-D MQTT_MAX_PACKET_SIZE=600
-D BUILTIN_LED=2
lib_deps =
SimpleTimer
PubSubClient
ArduinoJson
NTPClient
Timezone
TimeLib
[env:ttgo]
platform = espressif32
board = lolin32
framework = arduino
board_build.mcu = esp32
monitor_speed = 115200
upload_speed = 921600
; upload_port = COM2
; monitor_port = COM2
board_build.partitions = partitions_custom2.csv
build_flags =
-D ENV=$PIOENV
-D DEV=DEVA
-D MQTT_MAX_PACKET_SIZE=600
lib_deps =
SimpleTimer
PubSubClient
ArduinoJson
NTPClient
Timezone
TimeLib
[env:esp32doitdevkit]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
board_build.mcu = esp32
monitor_speed = 115200
upload_speed = 921600
; upload_port = COM2
; monitor_port = COM2
board_build.partitions = partitions_custom2.csv
build_flags =
-D ENV=$PIOENV
-D DEV=DEVA
-D MQTT_MAX_PACKET_SIZE=600
lib_deps =
SimpleTimer
PubSubClient
ArduinoJson
NTPClient
Timezone
TimeLib