-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
120 lines (93 loc) · 3.34 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
;default_envs = esp32dev
default_envs = WemoMiniPro
[common]
; build_flags = -g -DDEBUG_PORT=Serial
;Add the PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY build flag to ensure reliable OTA updates.
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
serial_speed = 74880
; You MUST inject these options into [env:] section
; using ${common_env_data.***} (see below)
[common_env_data]
lib_deps =
DallasTemperature
Wire
Adafruit Unified Sensor
DHT sensor library
RelayModule
NTPClient
TimeZone
git+https://github.com/xoseperez/Time.git
git+https://github.com/homieiot/homie-esp8266.git#develop
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
build_flags = -D SERIAL_SPEED=${common.serial_speed}
lib_deps =
${common_env_data.lib_deps}
; Serial Monitor options
monitor_speed = ${common.serial_speed}
; Monitor filters: https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html#filters
monitor_filters = esp32_exception_decoder, log2file, time, default
upload_speed = 230400
;upload_protocol = esptool
;upload_port = 192.168.178.23
;upload_flags =
; --timeout=20
; --port=3232
; --auth=st25277472
; Unit Testing options
test_ignore = test_desktop
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = -D SERIAL_SPEED=${common.serial_speed}
lib_deps =
${common_env_data.lib_deps}
; Serial Monitor options
monitor_speed = ${common.serial_speed}
; Monitor filters: https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html#filters
monitor_filters = esp8266_exception_decoder, log2file, time, default
upload_speed = 230400
; Unit Testing options
test_ignore = test_desktop
[env:WemoMiniPro]
platform = espressif8266
board = d1_mini_pro
framework = arduino
build_flags = -D SERIAL_SPEED=${common.serial_speed}
lib_deps =
${common_env_data.lib_deps}
; Serial Monitor options
monitor_speed = ${common.serial_speed}
; Monitor filters: https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html#filters
monitor_filters = esp8266_exception_decoder, log2file, time, default
upload_speed = 230400
; Unit Testing options
test_ignore = test_desktop
[env:d1_mini_pro]
platform = espressif8266 ;Refresh project tasks if platform folder is not present
board = d1_mini_pro
framework = arduino
build_flags = -D SERIAL_SPEED=${common.serial_speed}
;build_flags = -Wl -Teagle.flash.4m.ld SERIAL_SPEED=${common.serial_speed} ; May not be useful. Found at https://github.com/igrr/mkspiffs/issues/43
;board_build.filesystem = spiffs ; New filesystem will be littlefs
board_build.ldscript = eagle.flash.4m1m.ld
;board_build.ldscript = Teagle.flash.4m.ld ; May not be useful. Found at https://github.com/igrr/mkspiffs/issues/43
lib_deps =
${common_env_data.lib_deps}
monitor_speed = ${common.serial_speed}
; Monitor filters: https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html#filters
monitor_filters = esp8266_exception_decoder, log2file, time, default
upload_speed = 230400