-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
124 lines (114 loc) · 2.69 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
;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
[env:sonoff_basic]
platform = espressif8266
board = esp01_1m
board_build.flash_mode = dout
framework = arduino
monitor_speed = 9600
board_build.ldscript =
eagle.flash.1m64.ld
build_flags =
-DNO_GLOBAL_HTTPUPDATE=1
-DNO_GLOBAL_EEPROM=1
-DNO_GLOBAL_SD=1
-DNO_GLOBAL_TWOWIRE=1
-DNO_GLOBAL_ETHERNET=1
-DNO_GLOBAL_NETBIOS=1
-DNO_GLOBAL_SSDP=1
-DNO_GLOBAL_LLMNR=1
-DNO_GLOBAL_TFT=1
-DNO_GLOBAL_SPISLAVE=1
-DDEBUG=1
-DARDUINOJSON_USE_LONG_LONG=1
-DDEVICE=1
-fmerge-constants
-Wl,-gc-sections
lib_deps =
OneWire
DallasTemperature
PubSubClient
ArduinoJSON
https://github.com/me-no-dev/ESPAsyncWebServer.git
upload_speed = 115200
upload_protocol = espota
upload_port = chilly01.local
upload_flags =
--port=8266
--host_port=23007
--auth=admin
[env:sonoff_dualr2]
platform = espressif8266
board = esp01_1m
board_build.flash_mode = dout
framework = arduino
monitor_speed = 9600
board_build.ldscript =
eagle.flash.1m64.ld
build_flags =
-DNO_GLOBAL_HTTPUPDATE=1
-DNO_GLOBAL_EEPROM=1
-DNO_GLOBAL_SD=1
-DNO_GLOBAL_TWOWIRE=1
-DNO_GLOBAL_ETHERNET=1
-DNO_GLOBAL_NETBIOS=1
-DNO_GLOBAL_SSDP=1
-DNO_GLOBAL_LLMNR=1
-DNO_GLOBAL_TFT=1
-DNO_GLOBAL_SPISLAVE=1
-DARDUINOJSON_USE_LONG_LONG=1
-DDEVICE=2
-fmerge-constants
-Wl,-gc-sections
lib_deps =
OneWire
DallasTemperature
PubSubClient
ArduinoJSON
https://github.com/me-no-dev/ESPAsyncWebServer.git
upload_speed = 115200
upload_protocol = esptool
#upload_speed = 115200
#upload_protocol = espota
#upload_port = chilly01unitank.local
#upload_flags =
# --port=8266
# --host_port=23007
# --auth=admin
[env:nodemcu]
platform = espressif8266
board = nodemcuv2
framework = arduino
monitor_speed = 9600
build_flags =
-DNO_GLOBAL_HTTPUPDATE=1
-DNO_GLOBAL_EEPROM=1
-DNO_GLOBAL_SD=1
-DNO_GLOBAL_TWOWIRE=1
-DNO_GLOBAL_ETHERNET=1
-DNO_GLOBAL_NETBIOS=1
-DNO_GLOBAL_SSDP=1
-DNO_GLOBAL_LLMNR=1
-DNO_GLOBAL_TFT=1
-DNO_GLOBAL_SPISLAVE=1
-DDEBUG=1
-DARDUINOJSON_USE_LONG_LONG=1
-fmerge-constants
-Wl,-gc-sections
lib_deps =
OneWire
DallasTemperature
PubSubClient
ArduinoJSON
https://github.com/me-no-dev/ESPAsyncWebServer.git
upload_speed = 115200
upload_protocol = esptool
[platformio]
env_default = sonoff_basic